Skip to content

Commit

Permalink
switched the hera and orion environment modulefiles to theis sys state
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelissariou1 committed Jun 27, 2021
1 parent 1f2acab commit 0109000
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 27 deletions.
20 changes: 7 additions & 13 deletions modulefiles/envmodules_intel.hera
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,14 @@

####################
### (1) Load all needed environment modules.
use_defaults=0
module purge
module use /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack
module load hpc
module load cmake
if [ ${use_defaults:-0} -le 0 ]; then
module load hpc-intel/18.0.5.274 hpc-impi
module load szip hdf5 netcdf
module load esmf/8_1_1
else
module load hpc-intel hpc-impi
module load szip hdf5 netcdf
module load esmf
fi
module load intel/18.0.5.274 impi/2018.0.4
module load szip

module use /home/emc.nemspara/SOFT-hera/modulefiles
module load hdf5_parallel/1.10.6.release
module load netcdf_parallel/4.7.4.release
module load esmf/8.1.0bs36g


###################
Expand Down
22 changes: 8 additions & 14 deletions modulefiles/envmodules_intel.orion
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,14 @@

####################
### (1) Load all needed environment modules.
use_defaults=0
module purge
module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack
module load hpc
module load cmake
if [ ${use_defaults:-0} -le 0 ]; then
module load hpc-intel/2018.4 hpc-impi
module load szip hdf5 netcdf
module load esmf/8_1_1
else
module load hpc-intel hpc-impi
module load szip hdf5 netcdf
module load esmf
fi
module load intel/2019.5 impi
module load szip hdf5/1.10.5-parallel
module load netcdf/4.7.2-parallel

module load esmf/7.1.0r


####################
### (2) Set some environments varaiables related to the loaded
Expand All @@ -44,8 +38,8 @@ unset funcs

########## BEG:: PLATFORM CUSTOMIZED SETTINGS ##########
export NETCDF_CONFIG=${NETCDFHOME:+${NETCDFHOME}/bin/nc-config}
export NETCDF_INCDIR=${NETCDF_INCLUDES}
export NETCDF_LIBDIR=${NETCDF_LIBRARIES}
export NETCDF_INCDIR=${NETCDF_INCLUDE_DIRS}
export NETCDF_LIBDIR=${NETCDF_LIBRARY_DIRS}

export ESMFMKFILE=${ESMFMKFILE}
########## END:: PLATFORM CUSTOMIZED SETTINGS ##########

0 comments on commit 0109000

Please sign in to comment.