____________________________________________________________________________________________ Description: Scripts changes needed to run CESM on NERSC hopper2 (fixed in cesm1_0_3) Date : 2011-03-29 Contact : fischer Information: 1) In your CESM1 sandbox, cd to scripts/ccsm_utils/Machines. 2) Insert the following into config_machines.xml, the best place would be after the hopper entry.
< machine MACH="hopp2" DESC="NERSC XE6, os is CNL, 24 pes/node, batch system is PBS" EXEROOT="/scratch/scratchdirs/$CCSMUSER/$CASE" OBJROOT="$EXEROOT" INCROOT="$EXEROOT/lib/include" DIN_LOC_ROOT_CSMDATA="/project/projectdirs/ccsm1/inputdata" DIN_LOC_ROOT_CLMQIAN="/project/projectdirs/ccsm1/inputdata/atm/datm7/atm_forcing.datm7.Qian.T62.c080727" DOUT_S_ROOT="/scratch/scratchdirs/$CCSMUSER/archive/$CASE" DOUT_L_HTAR="TRUE" DOUT_L_MSROOT="csm/$CASE" CCSM_BASELINE="/project/projectdirs/ccsm1/ccsm_baselines" CCSM_CPRNC="/project/projectdirs/ccsm1/tools/cprnc/cprnc" OS="CNL" BATCHQUERY="qstat -f" BATCHSUBMIT="qsub" GMAKE_J="4" MAX_TASKS_PER_NODE="24" MPISERIAL_SUPPORT="FALSE" />3) Copy files needed for hopp2cp Macros.hopper Macros.hopp2 cp env_machopts.hopper env_machopts.hopp2 cp mkbatch.hopper mkbatch.hopp24) Edit env_machopts.hopp2, change to following lines.module switch xt-mpt xt-mpt/5.1.2 module switch xt-libsci xt-libsci/10.4.0 to module switch xt-mpich2 xt-mpich2/5.1.2 module switch xt-libsci xt-libsci/10.4.95) Edit mkbatch.hopp2, change to following line.set mach = hopper to set mach = hopp2