Child pages
  • Hyak CESM
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

These instructions are for building and running CESM 1.06 on hyak.
Replace xyz by your hyak userid. Change directory names appropriately.
STEPS TO BUILD CESM
1. qsub -I -l walltime=00:59:00
2. Load modules:
module load icc_14.0.3-ompi_1.8.3
module load hdf5_1.8.13-icc_14.0.3
module load netcdf_fortran+c_4.4-icc_14.0.3
3. cd /gscratch/coenv/xyz/CESM/CESM_builds/
4. Create instance of the model
../cesm1_0_6_icc14x/scripts/create_newcase -res f09_f09 -case CAM4_f09f09_noTWP_clmiarb -mach generic_linux_intel -compset F_2000_CN -din_loc_root_csmdata /gscratch/coenv/xyz/CESM/CESM_inputs -max_tasks_per_node 16 -scratchroot /gscratch/coenv/xyz/CESM/CESM_builds
5. Changes to env_mach_specific:
Add:
source /sw/Modules/default/init/csh
module purge
module load icc_14.0.3-ompi_1.8.3
module load hdf5_1.8.13-icc_14.0.3
module load netcdf_fortran+c_4.4-icc_14.0.3
setenv NETCDF_PATH $NETCDF
setenv MPICH_PATH /sw/openmpi-1.8.3_icc-14.0.3
6. Changes to Macros.generic_linux_intel:
Change:
MPI_LIB_NAME :=
Add:
NETCDF_DIR=$(NETCDF)/lib
SLIBS+= -L$(NETCDF_DIR) -lnetcdff –lnetcdf
7. ./configure –case
8. ./CAM4_f09f09_CTL_ICC14.generic_linux_intel.build
9. logout (from interactive node)
10. Changes to CAM4_f09f09_CTL_ICC14.generic_linux_intel.run:
#PBS -N CAM4_f09f09_CTL
#PBS -l nodes=11:ppn=16,feature=16core
#PBS -l walltime=00:59:00
#PBS -j oe
#PBS -m abe -M xyz@uw.edu
#limit coredumpsize 1000000
limit stacksize unlimited
source /sw/Modules/login/modules.csh
module load icc_14.0.3-ompi_1.8.3
module load hdf5_1.8.13-icc_14.0.3
module load netcdf_fortran+c_4.4-icc_14.0.3
mpirun --mca mtl mx --mca pml cm --bind-to-core --mca mpi_paffinity_alone 1 ./ccsm.exe >&! ccsm.log.$LID
STEPS TO RUN CESM:
1. cd to the directory which contains CAM4_f09f09_CTL_ICC14.generic_linux_intel.run
and issue below command
qsub CAM4_f09f09_CTL_ICC14.generic_linux_intel.run

  • No labels