From 00de9545fc9847bec4152cb561d74cd2807a06ee Mon Sep 17 00:00:00 2001 From: George Gayno Date: Mon, 9 Sep 2019 16:39:37 +0000 Subject: [PATCH] feature/hera_port This commit references #1. Point to George V's copy of the nesmio library instead of the 'official' version. The nemsio utilities did not work with the 'official' version - they return bad istat (-41) when reading. Either the official version was compiled wrong or as a newer version (v2.5) it may be incompatible with the programs. --- modulefiles/chgres_cube.hera | 3 ++- modulefiles/fv3gfs/global_chgres.hera | 6 +++++- modulefiles/module_nemsutil.hera | 6 +++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/modulefiles/chgres_cube.hera b/modulefiles/chgres_cube.hera index 16ce8d125..2469c4a24 100644 --- a/modulefiles/chgres_cube.hera +++ b/modulefiles/chgres_cube.hera @@ -8,7 +8,7 @@ module load netcdf/4.6.1 module use -a $MOD_PATH module load w3nco/2.0.6 -module load nemsio/2.2.5 +###module load nemsio/2.2.5 module load bacio/2.0.2 module load sp/2.0.2 module load sfcio/1.1.0 @@ -17,6 +17,7 @@ module load sigio/2.1.0 export NCEPLIBS=/scratch1/NCEPDEV/global/gwv/l819/lib module use -a $NCEPLIBS/modulefiles module load esmflocal/8_0_44b +module load nemsio-intel-sandybridge/2.2.2 export FCOMP=mpiifort export FFLAGS="-O3 -fp-model precise -g -traceback -r8 -i4 -qopenmp -convert big_endian -assume byterecl" diff --git a/modulefiles/fv3gfs/global_chgres.hera b/modulefiles/fv3gfs/global_chgres.hera index 256d094ba..88bfd1af9 100644 --- a/modulefiles/fv3gfs/global_chgres.hera +++ b/modulefiles/fv3gfs/global_chgres.hera @@ -16,7 +16,7 @@ module load w3nco/2.0.6 module load w3emc/2.3.0 module load sp/2.0.2 module load bacio/2.0.2 -module load nemsio/2.2.5 +###module load nemsio/2.2.5 module load nemsiogfs/2.2.0 module load ip/3.0.1 module load sfcio/1.1.0 @@ -26,4 +26,8 @@ module load landsfcutil/2.1.0 export NETCDF_INCLUDE="-I${NETCDF}/include" export NETCDF_LDFLAGS_F="-L${NETCDF}/lib -lnetcdf -lnetcdff -L${HDF5}/lib -lhdf5 -lhdf5_fortran" +export NCEPLIBS=/scratch1/NCEPDEV/global/gwv/l819/lib +module use -a $NCEPLIBS/modulefiles +module load nemsio-intel-sandybridge/2.2.2 + set FCMP ifort diff --git a/modulefiles/module_nemsutil.hera b/modulefiles/module_nemsutil.hera index dc3b2a99f..9db5ff74f 100644 --- a/modulefiles/module_nemsutil.hera +++ b/modulefiles/module_nemsutil.hera @@ -10,6 +10,10 @@ module load impi/2018.0.4 module use -a $MOD_PATH module load w3nco/2.0.6 module load bacio/2.0.2 -module load nemsio/2.2.5 +#module load nemsio/2.2.5 + +export NCEPLIBS=/scratch1/NCEPDEV/global/gwv/l819/lib +module use -a $NCEPLIBS/modulefiles +module load nemsio-intel-sandybridge/2.2.2 export FCMP=ifort