#%Module###################################################################### ## ## NEMS FV3 Prerequisites: Stampede/Intel proc ModulesHelp {} { puts stderr "\tcit - loads modules required for building and running FV3 under NEMS on Stampede/Intel" } module-whatis "loads NEMS FV3 prerequisites for Stampede/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 intel/17.0.4 module load impi/17.0.3 module load netcdf/4.3.3.1 module load hdf5/1.8.16 module load pnetcdf/1.8.1 setenv NETCDF /opt/apps/intel17/netcdf/4.3.3.1/x86_64 ## ## use pre-compiled EMSF library for above compiler / MPI combination ## # DH* todo - shared directory set ESMF_DIR /home1/05294/tg845932/softwares/esmf_7_1_0r setenv ESMF_DIR ${ESMF_DIR} setenv ESMF_INC ${ESMF_DIR}/include setenv ESMF_BIN ${ESMF_DIR}/bin/bin0/Linux.intel.64.intelmpi.default setenv ESMF_LIB ${ESMF_DIR}/lib/lib0/Linux.intel.64.intelmpi.default setenv ESMF_MOD ${ESMF_DIR}/mod/mod0/Linux.intel.64.intelmpi.default setenv ESMFMKFILE ${ESMF_DIR}/lib/lib0/Linux.intel.64.intelmpi.default/esmf.mk prepend-path PATH ${ESMF_DIR}/bin/bin0/Linux.intel.64.intelmpi.default prepend-path LD_LIBRARY_PATH ${ESMF_DIR}/lib/lib0/Linux.intel.64.intelmpi.default ## ## NCEP libraries (download and build manually for the time being; https://github.com/climbfuji/NCEPlibs) ## # DH* todo - shared directory set NCEPLIBS_DIR /home1/05294/tg845932/softwares/NCEPlibs setenv NCEPLIBS_DIR ${NCEPLIBS_DIR} setenv NEMSIO_INC ${NCEPLIBS_DIR}/include setenv NEMSIO_LIB ${NCEPLIBS_DIR}/lib/libnemsio_d.a setenv BACIO_LIB4 ${NCEPLIBS_DIR}/lib/libbacio_4.a setenv SP_LIBd ${NCEPLIBS_DIR}/lib/libsp_v2.0.2_d.a setenv W3EMC_LIBd ${NCEPLIBS_DIR}/lib/libw3emc_d.a setenv W3NCO_LIBd ${NCEPLIBS_DIR}/lib/libw3nco_d.a