diff --git a/modulefiles/post/v8.0.0-stampede b/modulefiles/post/v8.0.0-stampede new file mode 100644 index 0000000000..95ad14a5cc --- /dev/null +++ b/modulefiles/post/v8.0.0-stampede @@ -0,0 +1,54 @@ +#%Module###################################################################### +############################################################# +## Lin.Gan@noaa.gov +## EMC +## post v7.0.0 +## Wen Meng 07/2018: set post to v8.0.0 for fv3gfs +############################################################# +proc ModulesHelp { } { +puts stderr "Set environment veriables for post" +puts stderr "This module initializes the users environment" +puts stderr "to build the post for WCOSS production.\n" +} +module-whatis "post" + +set ver v8.0.0 + +# Loading Intel Compiler Suite +module purge +module load intel/18.0.2 +module load impi/18.0.2 +module load parallel-netcdf/4.6.2 +module load phdf5/1.10.4 + +# Loding nceplibs modules +#module use -a /mnt/lfs3/projects/hfv3gfs/nwprod/lib/modulefiles +module use -a /work/00315/tg455890/stampede2/external/modulefiles +module load sigio/v2.1.0 +module load sfcio/v1.0.0 +module load nemsio/v2.2.3 +module load bacio/v2.0.2 +#module load g2/v2.5.2 +#module load xmlparse/v2.0.0 +module load gfsio/v1.1.0 +module load ip/v3.0.0 +module load sp/v2.0.2 +module load w3emc/v2.3.0 +module load w3nco/v2.0.6 +module load crtm/v2.2.3 +module load g2/v3.1.0 +module load g2tmpl/v1.6.0 +module load wrfio/1.1.1 + +setenv NETCDF /opt/apps/intel18/netcdf/4.6.2/x86_64 +setenv JASPER_LIB "-ljasper" +setenv PNG_LIB "-lpng" + +setenv myFC mpiifort +setenv OPENMP "-qopenmp" +setenv myFCFLAGS "-O3 -convert big_endian -traceback -g -fp-model source -qopenmp -fpp" +# +#setenv myFCFLAGS "-O0 -convert big_endian -fp-model source -openmp -g -check all -ftrapuv -fp-stack-check -fstack-protector -heap-arrays -recursive -traceback" + +setenv myCPP /lib/cpp +setenv myCPPFLAGS "-P" diff --git a/sorc/build_ncep_post.sh b/sorc/build_ncep_post.sh index fb5c8413cd..d2e36e8269 100755 --- a/sorc/build_ncep_post.sh +++ b/sorc/build_ncep_post.sh @@ -13,7 +13,7 @@ ##################################################################################################### #List of valid machines: -validmachines=(theia jet wcoss_dell_p3 wcoss cray-intel hera orion odin) +validmachines=(theia jet wcoss_dell_p3 wcoss cray-intel hera orion odin stampede) function usage { echo "Usage:" @@ -98,6 +98,9 @@ odin) # For Odin at NSSL . /etc/profile . /etc/profile.d/modules.sh ;; +stampede) + module purge + ;; *) set +x echo "ERROR: Invalid machine name specified"