Skip to content

Commit

Permalink
Port UPP on NOAA R&D machine HERA. (NOAA-EMC#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
WenMeng-NOAA authored Sep 24, 2019
1 parent 330fc3a commit 0713074
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
55 changes: 55 additions & 0 deletions modulefiles/post/v8.0.0-hera
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions sorc/build_ncep_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0713074

Please sign in to comment.