Skip to content

Commit

Permalink
replacing pgi/14.2.0 with pgi/14.10.home for Titan when using PGI com…
Browse files Browse the repository at this point in the history
…piler

  CLM45 does not work on Titan unless update to a newer version of PGI.
  (This is also required when building and running with CLM4.5 on Titan.) This is
  ACME github issue #62. This resolves the problem, but is redundant with an identical
  modification in pull request #89.
  • Loading branch information
Patrick Worley committed Jan 30, 2015
1 parent aca65f9 commit 23bdb67
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions scripts/ccsm_utils/Machines/env_mach_specific.titan
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

if (-e /opt/modules/default/init/csh) then
source /opt/modules/default/init/csh
setenv MODULEPATH ${MODULEPATH}:/ccs/home/norton/.modules
module rm PrgEnv-intel
module rm PrgEnv-pgi
module rm PrgEnv-cray
Expand All @@ -32,10 +33,11 @@ if (-e /opt/modules/default/init/csh) then

if ($COMPILER == "pgicuda") then
module load PrgEnv-pgi
module switch pgi pgi/14.2.0
# module switch pgi pgi/14.2.0
module switch pgi pgi/14.10.home
module load cray-mpich/6.3.0
module load cray-libsci/12.1.3
module switch xt-asyncpe xt-asyncpe/5.24
module switch xt-asyncpe xt-asyncpe/5.27
module load esmf/5.2.0rp2

module add cudatoolkit
Expand All @@ -44,10 +46,11 @@ if (-e /opt/modules/default/init/csh) then

if ( $COMPILER == "pgi" ) then
module load PrgEnv-pgi
module switch pgi pgi/14.2.0
# module switch pgi pgi/14.2.0
module switch pgi pgi/14.10.home
module load cray-mpich/6.3.0
module load cray-libsci/12.1.3
module switch xt-asyncpe xt-asyncpe/5.24
module switch xt-asyncpe xt-asyncpe/5.27
module load esmf/5.2.0rp2
endif

Expand Down Expand Up @@ -84,8 +87,8 @@ limit stacksize unlimited

# The environment variable below increase the stack size, which is necessary for
# CICE to run threaded on this machine.
setenv MPSTKZ 64M
setenv OMP_STACKSIZE 64M
setenv MPSTKZ 128M
setenv OMP_STACKSIZE 128M
if ( $COMPILER == "intel" ) then
setenv XTPE_LINK_TYPE dynamic
endif
Expand Down

0 comments on commit 23bdb67

Please sign in to comment.