Skip to content

Commit

Permalink
Port release/gefs_v12 to WCOSS2 for GEFSv12 (#409)
Browse files Browse the repository at this point in the history
* Port UPP for GEFSv12 to Acorn

 On branch feature/gefs_v12.0.1_port2acorn
 Changes to be committed:
	new file:   modulefiles/post/v8.0.0-acorn
	modified:   sorc/build_ncep_post.sh

Refs: #342

* Updated with the new environment changes for Acorn

 On branch feature/gefs_v12.0.1_port2acorn
	modified:   modulefiles/post/v8.0.0-acorn
	modified:   sorc/build_ncep_post.sh

Refs: #342

* Change acorn to wcoss2

 On branch feature/gefs_v12.0.1_port2acorn
	renamed:    modulefiles/post/v8.0.0-acorn -> modulefiles/post/v8.0.0-wcoss2
	modified:   sorc/build_ncep_post.sh
	modified:   sorc/ncep_post.fd/makefile_module

Refs: #342

* Update prod_util version to 2.0.8
 On branch feature/gefs_v12.0.1_port2acorn
 Changes to be committed:
	modified:   modulefiles/post/v8.0.0-wcoss2

Refs: #342

* Update some modules to use new versions

 On branch feature/gefs_v12.0.1_port2acorn
 Changes to be committed:
	modified:   modulefiles/post/v8.0.0-wcoss2

Refs: #342

* Update build modules to remove hardwired ver nums

1) Update build modules to remove hardwired version numbers.
2) Delete unusd statements

 On branch feature/gefs_v12.0.1_port2acorn
 Changes to be committed:
	modified:   modulefiles/post/v8.0.0-wcoss2
	modified:   sorc/build_ncep_post.sh

Refs: #342

* Fix a format of one statement
 On branch feature/gefs_v12.0.1_port2acorn
 Changes to be committed:
	modified:   sorc/ncep_post.fd/makefile_module

Refs: #342
  • Loading branch information
XianwuXue-NOAA authored Oct 27, 2021
1 parent 54c360a commit c574d19
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 6 deletions.
44 changes: 44 additions & 0 deletions modulefiles/post/v8.0.0-wcoss2
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
set ver v8.0.0

module load envvar/${envvar_ver:-1.0}

module load PrgEnv-intel/${PrgEnv_intel_ver:-8.1.0}
module load craype/${craype_ver:-2.7.10}
module load intel/${intel_ver:-19.1.3.304}
module load cray-mpich/${cray_mpic_ver:-8.1.9}


module load prod_util/${prod_util_ver:-2.0.10}


module load jasper/${jasper_ver:-2.0.25}
module load libpng/${libpng_ver:-1.6.37}
module load zlib/${zlib_ver:-1.2.11}
module load sfcio/${sfcio_ver:-1.4.1}
module load nemsio/${nemsio_ver:-2.5.2}

module load sigio/${sigio_ver:-2.3.2}
module load bacio/${bacio_ver:-2.4.1}
module load g2/${g2_ver:-3.4.5}
module load gfsio/${gfsio_ver:-1.4.1}
module load ip/${ip_ver:-3.3.3}
module load sp/${sp_ver:-2.3.3}
module load w3emc/${w3emc_ver:-2.7.3}
module load w3nco/${w3nco_ver:-2.4.1}
module load netcdf/${netcdf_ver:-4.7.4}
module load g2tmpl/${g2tmpl_ver:-1.10.0}
module load crtm/${crtm_ver:-2.3.0}
module load wrf_io/${wrf_io_ver:-1.2.0}

export WRFIO_LIB=$WRF_IO_LIB

export myFC=ftn
export OPENMP="-qopenmp"
export myFCFLAGS="-O3 -convert big_endian -traceback -g -fp-model source -fpp"
export myCPP=/lib/cpp
export myCPPFLAGS="-P"

export mySFC=ftn



7 changes: 3 additions & 4 deletions sorc/build_ncep_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ elif [ $mac2 = hf ] ; then # For Hera
machine=hera
. /etc/profile
. /etc/profile.d/modules.sh
elif [ -d /apps/prod ]; then # WCOSS2
machine=wcoss2
fi

# Lin Gan modifiy to use NCO vertical structure prefix for NCO deployment - 20160131
moduledir=`dirname $(readlink -f ../modulefiles/post)`
module use ${moduledir}
module load post/v8.0.0-${machine}
source ../modulefiles/post/v8.0.0-${machine}
module list

cd ncep_post.fd
Expand Down
4 changes: 2 additions & 2 deletions sorc/ncep_post.fd/makefile_module
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ FFLAGS = $(OPTS) $(FREE) $(DEBUG) \
-I$(GFSIO_INC4) \
-I$(W3EMC_INC4) \
-I$(CRTM_INC) \
-I$(IP_INC4) \
$(NETCDF_INC)
-I$(IP_INC4) \
$(NETCDF_INC)

LIBS = $(WRFIO_LIB) \
$(G2TMPL_LIB) \
Expand Down

0 comments on commit c574d19

Please sign in to comment.