#%Module###################################################################### ## ## NEMS FV3 Prerequisites: Gaea/Intel proc ModulesHelp {} { puts stderr "\tcit - loads modules required for building and running FV3 under NEMS on Gaea/Intel" } module-whatis "loads NEMS FV3 prerequisites for Gaea/Intel" # NOTE: the "module purge" and loading of the module command are # handled by the module-setup.sh (or .csh) script. ## ## load programming environment ## this typically includes compiler, MPI and job scheduler ## module load PrgEnv-intel/6.0.3 module rm intel module load intel/18.0.3.222 module load cray-netcdf module use -a /lustre/f2/pdata/esrl/gsd/ufs/modules/modulefiles/intel-18.0.3.222 ## ## Libxml2 - compiled manually because of issues with linking the code ## module load libxml2/2.9.9 ## ## NCEP libraries (download and build manually for the time being; https://github.com/NCAR/NCEPlibs) ## module load NCEPlibs/9.9.9 ## ## use pre-compiled EMSF library for above compiler / MPI combination ## module load esmf/8.0.0 # Needed at runtime: module load alps ## ## load cmake ## setenv CMAKE_C_COMPILER cc setenv CMAKE_CXX_COMPILER CC setenv CMAKE_Fortran_COMPILER ftn setenv CMAKE_Platform gaea.intel