CAM-MPAS model config and environment

Scripts

  • Directory for set-up scripts: /global/cfs/cdirs/m1867/CAM-MPAS/HRMIP/cases/runscripts


Perlmutter environment

  • Need to have pythom module loaded (module load python), or more preferably the E3SM unified environment:
source /global/common/software/e3sm/anaconda_envs/load_latest_e3sm_unified_pm-cpu.sh
  • Need to unload the climate-utils/2023q2 module, which will cause the following error while compiling
...
Finished creating component namelists
Building gptl with output to file /pscratch/sd/k/ksa/simulation/CAM-MPAS/HRMIP/HRMIP_mp120a_aero01/bld/gptl.bldlog.230811-163029
   Calling /global/cfs/cdirs/m1867/CAM-MPAS/HRMIP/cesm2.1-mpasv4/cime/src/build_scripts/buildlib.gptl
ERROR: /global/cfs/cdirs/m1867/CAM-MPAS/HRMIP/cesm2.1-mpasv4/cime/src/build_scripts/buildlib.gptl FAILED, 
cat /pscratch/sd/k/ksa/simulation/CAM-MPAS/HRMIP/HRMIP_mp120a_aero01/bld/gptl.bldlog.230811-163029
ksa@login17 runscripts: more /pscratch/sd/k/ksa/simulation/CAM-MPAS/HRMIP/HRMIP_mp120a_aero01/bld/gptl.bldlog.230811-163029
gmake -f /global/cfs/cdirs/m1867/CAM-MPAS/HRMIP/cesm2.1-mpasv4/cime/src/share/timing/Makefile install -C 
/pscratch/sd/k/ksa/simulation/CAM-MPAS/HRMIP/HRMIP_mp120a_aero01/bld/gn
u/mpich/nodebug/nothreads/gptl MACFILE=/global/cfs/cdirs/m1867/CAM-MPAS/HRMIP/cases/HRMIP_mp120a_aero01/Macros.make MODEL=gptl 
GPTL_DIR=/global/cfs/cdirs/m1867/CAM-MPAS/HRMIP/c
esm2.1-mpasv4/cime/src/share/timing 
GPTL_LIBDIR=/pscratch/sd/k/ksa/simulation/CAM-MPAS/HRMIP/HRMIP_mp120a_aero01/bld/gnu/mpich/nodebug/nothreads/gptl 
SHAREDPATH=/pscratch/sd/k/
ksa/simulation/CAM-MPAS/HRMIP/HRMIP_mp120a_aero01/bld/gnu/mpich/nodebug/nothreads
gmake: Entering directory '/pscratch/sd/k/ksa/simulation/CAM-MPAS/HRMIP/HRMIP_mp120a_aero01/bld/gnu/mpich/nodebug/nothreads/gptl'
cc   -c -I/global/cfs/cdirs/m1867/CAM-MPAS/HRMIP/cesm2.1-mpasv4/cime/src/share/timing -std=gnu99 -O
 -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU  -DHAVE_NANOTIME -DBIT64 -DHAVE_ SLASHPROC -DHAVE_GETTIMEOFDAY  -DHAVE_MPI 
 /global/cfs/cdirs/m1867/CAM-MPAS/HRMIP/cesm2.1-mpasv4/cime/src/share/timing/gptl.c
gmake: Leaving directory 
'/pscratch/sd/k/ksa/simulation/CAM-MPAS/HRMIP/HRMIP_mp120a_aero01/bld/gnu/mpich/nodebug/nothreads/gptl'
Error invoking pkg-config!
Package cray-xpmem was not found in the pkg-config search path.
Perhaps you should add the directory containing `cray-xpmem.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cray-xpmem' found