Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Issue NOAA-EMC/GSI#167. Change GSIWRFIO_LIB to WRF_IO_LIB and update build.comgsi accordingly. #166

Merged
merged 1 commit into from
May 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ project(GSI)
find_package( LAPACK )
endif()
# build the WRF I/O libraries
if(DEFINED ENV{GSIWRFIO_LIB})
set(wrflib "$ENV{GSIWRFIO_LIB}" CACHE INTERNAL "WRFIO library" )
if(DEFINED ENV{WRF_IO_LIB})
set(wrflib "$ENV{WRF_IO_LIB}" CACHE INTERNAL "WRFIO library" )
elseif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/libsrc/wrflib)
add_subdirectory(libsrc/wrflib)
else()
Expand Down
29 changes: 15 additions & 14 deletions ush/build.comgsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if [[ "`grep -i "hera" /etc/hosts | head -n1`" != "" ]] ; then
source /etc/profile.d/modules.sh
module purge
module load cmake/3.20.1
module load intel/18.0.5.274
module load impi/2018.0.4
module load netcdf/4.7.0

module use /scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack
module load hpc/1.1.0
module load hpc-intel/18.0.5.274
Expand All @@ -32,9 +36,7 @@ if [[ "`grep -i "hera" /etc/hosts | head -n1`" != "" ]] ; then
module load w3emc/2.7.3
module load bacio/2.4.1
module load crtm/2.3.0
module load netcdf/4.7.0
module use /scratch1/BMC/comgsi/hpc-stacks/modulefiles/gsiwrfio
module load gsiwrfio/1.0.0
module load wrf_io/1.2.0

################# Jet ####################
elif [[ -d /jetmon ]] ; then
Expand All @@ -43,13 +45,12 @@ elif [[ -d /jetmon ]] ; then
module load cmake/3.16.1
module load intel/18.0.5.274
module load impi/2018.4.274
module load netcdf/4.7.0 #don't load netcdf/4.7.4 from hpc-stack, GSI does not compile with it.

module use /lfs4/HFIP/hfv3gfs/nwprod/hpc-stack/libs/modulefiles/stack
module load hpc/1.1.0
module load hpc-intel/18.0.5.274
module load hpc-impi/2018.4.274

module load netcdf/4.7.0 #don't load netcdf/4.7.4 from hpc-stack, GSI does not compile with it.
module load bufr/11.4.0
module load bacio/2.4.1
module load crtm/2.3.0
Expand All @@ -60,23 +61,22 @@ elif [[ -d /jetmon ]] ; then
module load w3nco/2.4.1
module load sfcio/1.4.1
module load sigio/2.3.2

module use /mnt/lfs4/BMC/wrfruc/gge/hpc-stacks/modulefiles/gsiwrfio
module load gsiwrfio/1.0.0
module load wrf_io/1.2.0

################# Cheyenne ####################
elif [[ -d /glade ]] ; then
source /etc/profile.d/modules.sh
module purge
module use /glade/p/ral/jntp/gge/hpc-stacks/modulefiles/stack
module load intel/18.0.5 ncarenv ncarcompilers
module load impi/2018.4.274
module load mkl/2018.0.5
module load netcdf/4.7.4

module use /glade/p/ral/jntp/gge/hpc-stacks/modulefiles/stack
module load hpc/1.1.0
module load hpc-intel/18.0.5
module load hpc-impi/2018.4.274
module load bufr/11.4.0
module load bufr/11.5.0
module load ip/3.3.3
module load nemsio/2.5.2
module load sfcio/1.4.1
Expand All @@ -86,16 +86,17 @@ elif [[ -d /glade ]] ; then
module load w3emc/2.7.3
module load bacio/2.4.1
module load crtm/2.3.0
module load gsiwrfio/1.0.0
module load wrf_io/1.2.0
module load cmake/3.18.2

################# Orion ####################
elif [[ -d /work/noaa ]] ; then ### orion
module purge
module use /work/noaa/wrfruc/gge/hpc-stacks/modulefiles/stack
module load intel/2018.4
module load impi/2018.4
module load netcdf/4.7.2

module use /apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack
module load hpc/1.1.0
module load hpc-intel/2018.4
module load hpc-impi/2018.4
Expand All @@ -109,8 +110,8 @@ elif [[ -d /work/noaa ]] ; then ### orion
module load w3emc/2.7.3
module load bacio/2.4.1
module load crtm/2.3.0
module load gsiwrfio/1.0.0
module load cmake #any version as long as it is later than v3.16
module load wrf_io/1.2.0
module load cmake

################# Generic ####################
else
Expand Down