Skip to content

Commit

Permalink
Update build for WCOSS Dell
Browse files Browse the repository at this point in the history
The build for the ww3 and reg2grb2 programs are updated to build on
WCOSS Dell. New modules are created for each. The two modules are both
using development modules; this needs to be updated to NCO modules in
the future. ww3 uses the newer versions of modules under NCEPLIBS-v1.2.0,
but the reg2grb2 was unable to use that location due to an issue with
wgrib2/2.0.8. reg2grb2 is also using older modules than ww3 on Hera, so
this mismatch already exists.

The build script for reg2grb2 is updated to use the environment
variables set by the wgrib2 module on WCOSS. It should remain backwards
compatible for Hera/Orion, but this needs to be tested.

Refs: NOAA-EMC#175
  • Loading branch information
WalterKolczynski-NOAA committed Nov 10, 2020
1 parent 5de5e1e commit 2a6d56c
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 3 deletions.
28 changes: 28 additions & 0 deletions modulefiles/modulefile.reg2grb2.wcoss_dell_p3
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#%Module#####################################################
# reg2grb2 - WCOSS Dell
#############################################################

module load ips/18.0.1.163
module load impi/18.0.1
set FCMP ifort

module load lsf/10.1
module load EnvVars/1.0.2

module load NetCDF-parallel/4.7.4

# module use /usrx/local/nceplibs/dev/NCEPLIBS/cmake/install/NCEPLIBS-v1.2.0/modules
# module load bacio/2.4.1
# module load ip/3.3.3
# module load landsfcutil/2.1.0
# module load sp/2.3.3
# module load wgrib2/2.0.8
# module load w3nco/2.4.1

module use /usrx/local/nceplibs/dev/NCEPLIBS/modulefiles
module load bacio/2.0.2
module load ip/3.0.1
module load landsfcutil/2.1.0
module load sp/2.0.2
module load wgrib2/2.0.8
module load w3nco/2.0.6
28 changes: 28 additions & 0 deletions modulefiles/modulefile.ww3.wcoss_dell_p3
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#%Module######################################################################

module load ips/18.0.1.163
module load impi/18.0.1
module load lsf/10.1
module load EnvVars/1.0.2

module load jasper/1.900.29
module load zlib/1.2.11
module load libpng/1.2.59

module load HDF5-parallel/1.10.6
module load NetCDF-parallel/4.7.4

module use /gpfs/dell2/emc/modeling/noscrub/emc.nemspara/soft/modulefiles
module load esmf/8.1.0bs27

module use /usrx/local/nceplibs/dev/NCEPLIBS/cmake/install/NCEPLIBS-v1.2.0/modules
module load bacio/2.4.1
module load crtm/2.3.0
module load g2/3.4.1
module load g2tmpl/1.9.1
module load ip/3.3.3
module load nceppost/dceca26
module load nemsio/2.5.2
module load sp/2.3.3
module load w3emc/2.7.3
module load w3nco/2.4.1
8 changes: 5 additions & 3 deletions sorc/build_reg2grb2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ export LIBSM="${LANDSFCUTIL_LIBd} \
${BACIO_LIB4} \
-L${NETCDF}/lib -lnetcdff -lnetcdf"

WGRIB2DIR=$WGRIB2_ROOT
export LIB2="-L$WGRIB2DIR/lib -lwgrib2 -lwgrib2_api"
export MOD2="-I$WGRIB2DIR/lib"
WGRIB2_LIB=${WGRIB2_LIB:-"$WGRIB2_ROOT/lib/wgrib2"}
WGRIB2_LIBAPI=${WGRIB2_LIBAPI:-"$WGRIB2_ROOT/lib/wgrib2_api"}
WGRIB2_INC=${WGRIB2_INC:-$WGRIB2_ROOT/lib}
export LIB2="${WGRIB2_LIB} ${WGRIB2_LIBAPI}"
export MOD2="-I${WGRIB2_INC}"

cd reg2grb2.fd

Expand Down

0 comments on commit 2a6d56c

Please sign in to comment.