From 648ab9a69c6eabece33dd66436678d61f3043505 Mon Sep 17 00:00:00 2001 From: Wen Meng Date: Tue, 24 Sep 2019 15:14:56 +0000 Subject: [PATCH] Port UPP on NOAA R&D machine HERA. --- modulefiles/post/v8.0.0-hera | 55 ++++++++++++++++++++++++++++++++++++ sorc/build_ncep_post.sh | 4 +++ 2 files changed, 59 insertions(+) create mode 100644 modulefiles/post/v8.0.0-hera diff --git a/modulefiles/post/v8.0.0-hera b/modulefiles/post/v8.0.0-hera new file mode 100644 index 000000000..79ddbc806 --- /dev/null +++ b/modulefiles/post/v8.0.0-hera @@ -0,0 +1,55 @@ +#%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 load intel/19.0.4.243 +module load impi/2019.0.4 + +#module use /contrib/modulefiles +module use -a /scratch2/NCEPDEV/nwprod/NCEPLIBS/modulefiles + +# Loding nceplibs modules +module load sigio/2.1.1 +module load jasper/1.900.1 +module load png/1.2.44 +module load z/1.2.11 +module load sfcio/1.1.1 +module load nemsio/2.2.4 +module load bacio/2.0.3 +module load g2/3.1.1 +#module load xmlparse/v2.0.0 +module load gfsio/1.1.0 +module load ip/3.0.2 +module load sp/2.0.3 +module load w3emc/2.3.1 +module load w3nco/2.0.7 +module load crtm/2.2.5 +module load netcdf/3.6.3 +#module load netcdf/4.7.0 +module load g2tmpl/1.5.1 +module load wrfio/1.1.1 + +#setenv WRFPATH /scratch3/NCEPDEV/nwprod/sorc/wrf_shared.v1.1.0 +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" + +setenv mySFC ifort diff --git a/sorc/build_ncep_post.sh b/sorc/build_ncep_post.sh index 1c89f4464..0d33b8037 100755 --- a/sorc/build_ncep_post.sh +++ b/sorc/build_ncep_post.sh @@ -34,6 +34,10 @@ elif [ $mac = t -o $mac = e -o $mac = g ] ; then # For WCOSS . /usrx/local/Modules/default/init/bash elif [ $mac = l -o $mac = s ] ; then # wcoss_c (i.e. luna and surge) export machine=cray-intel +elif [ $mac2 = hf ] ; then # For Hera + machine=hera + . /etc/profile + . /etc/profile.d/modules.sh fi # Lin Gan modifiy to use NCO vertical structure prefix for NCO deployment - 20160131