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

[develop] Update build environments for latest version of weather model (hash 2f1c8e1) #140

Merged
merged 14 commits into from
Jun 2, 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 Externals.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ protocol = git
repo_url = https://github.com/NOAA-EMC/regional_workflow
# Specify either a branch name or a hash but not both.
#branch = develop
hash = 3586e11
hash = 40cfeff
local_path = regional_workflow
required = True

Expand All @@ -21,7 +21,7 @@ protocol = git
repo_url = https://github.com/ufs-community/ufs-weather-model
# Specify either a branch name or a hash but not both.
#branch = develop
hash = ea8a7aa
hash = 2f1c8e1
local_path = src/ufs_weather_model
required = True

Expand Down
4 changes: 2 additions & 2 deletions devbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fi

mkdir -p ${BUILD_DIR}
cd ${BUILD_DIR}
cmake .. -DCMAKE_INSTALL_PREFIX=..
make -j ${BUILD_JOBS:-4}
cmake .. -DCMAKE_INSTALL_PREFIX=.. 2>&1 | tee log.cmake
make -j ${BUILD_JOBS:-4} 2>&1 | tee log.make

exit 0
4 changes: 2 additions & 2 deletions env/build_cheyenne_gnu.env
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module load png/1.6.35
module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.2
module load esmf/8_1_0_beta_snapshot_27
module load esmf/8_1_1
module load bacio/2.4.1
module load crtm/2.3.0
module load g2/3.4.1
Expand All @@ -28,7 +28,7 @@ module load nemsio/2.5.2
module load sp/2.3.3
module load w3emc/2.7.3
module load w3nco/2.4.1
module load upp/10.0.0
module load upp/10.0.6

module load gfsio/1.4.1
module load sfcio/1.4.1
Expand Down
12 changes: 7 additions & 5 deletions env/build_cheyenne_intel.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ module load mpt/2.22
module load ncarcompilers/0.5.0
module load cmake/3.16.4

module use /glade/p/ral/jntp/GMTB/tools/hpc-stack-nco-20201113/modulefiles/stack
module load hpc/1.0.0-beta1
module use /glade/p/ral/jntp/GMTB/tools/hpc-stack-v1.1.0/modulefiles/stack
module load hpc/1.1.0
module load hpc-intel/19.1.1
module load hpc-mpt/2.22

module load jasper/2.0.22
module load zlib/1.2.11
module load png/1.6.35
module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.1
module load esmf/8_1_0_beta_snapshot_27
module load pio/2.5.2
module load esmf/8_1_1

module load bacio/2.4.1
module load crtm/2.3.0
module load g2/3.4.1
Expand All @@ -27,7 +29,7 @@ module load nemsio/2.5.2
module load sp/2.3.3
module load w3emc/2.7.3
module load w3nco/2.4.1
module load upp/10.0.0
module load upp/10.0.6

module load gfsio/1.4.1
module load sfcio/1.4.1
Expand Down
33 changes: 15 additions & 18 deletions env/build_hera_intel.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,38 @@

module purge

module load cmake/3.16.1
module load hpss
module use /contrib/sutils/modulefiles
module load sutils
module load cmake/3.16.1

### hpc-stack ###
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
module load hpc-impi/2018.0.4

module load jasper/2.0.22
module load zlib/1.2.11
module load png/1.6.35
module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.2
module load esmf/8_1_1
module load bacio/2.4.1
module load crtm/2.3.0
module load gfsio/1.4.1
module load g2/3.4.1
module load g2tmpl/1.10.0
module load g2tmpl/1.9.1
module load ip/3.3.3
module load jasper/2.0.22
module load nemsio/2.5.2
module load png/1.6.35
module load sfcio/1.4.1
module load sigio/2.3.2
module load sp/2.3.3
module load wgrib2/2.0.8
module load w3emc/2.7.3
module load w3nco/2.4.1
module load zlib/1.2.11
module load upp/10.0.6

### Additional modules ###
module load esmf/8_1_0_beta_snapshot_27
module load hdf5/1.10.6
module load gfsio/1.4.1
module load sfcio/1.4.1
module load landsfcutil/2.4.1
module load nemsiogfs/2.5.3
module load netcdf/4.7.4
module load upp/10.0.0
module load w3emc/2.7.3
module load wgrib2/2.0.8


export CMAKE_C_COMPILER=mpiicc
Expand Down
8 changes: 4 additions & 4 deletions env/build_jet_intel.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ module load sutils
module load cmake/3.16.1

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 jasper/2.0.22
module load zlib/1.2.11
module load png/1.6.35
module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.1
module load esmf/8_1_0_beta_snapshot_27
module load pio/2.5.2
module load esmf/8_1_1
module load bacio/2.4.1
module load crtm/2.3.0
module load g2/3.4.1
Expand All @@ -26,7 +26,7 @@ module load nemsio/2.5.2
module load sp/2.3.3
module load w3emc/2.7.3
module load w3nco/2.4.1
module load upp/10.0.0
module load upp/10.0.6

module load gfsio/1.4.1
module load sfcio/1.4.1
Expand Down
30 changes: 13 additions & 17 deletions env/build_orion_intel.env
Original file line number Diff line number Diff line change
@@ -1,43 +1,39 @@
#Setup instructions for MSU Orion using Intel-18.0.5 (bash shell)

module purge
module load contrib noaatools

module load cmake/3.17.3
module load contrib noaatools
module load python/3.7.5

### hpc-stack ###
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

module load jasper/2.0.22
module load zlib/1.2.11
module load png/1.6.35
module load hdf5/1.10.6
module load netcdf/4.7.4
module load pio/2.5.2
module load esmf/8_1_1
module load bacio/2.4.1
module load crtm/2.3.0
module load gfsio/1.4.1
module load g2/3.4.1
module load g2tmpl/1.9.1
module load ip/3.3.3
module load jasper/2.0.22
module load nemsio/2.5.2
module load png/1.6.35
module load sfcio/1.4.1
module load sigio/2.3.2
module load sp/2.3.3
module load wgrib2/2.0.8
module load wrf_io/1.1.1
module load w3emc/2.7.3
module load w3nco/2.4.1
module load zlib/1.2.11
module load upp/10.0.6

### Additional modules ###
module load esmf/8_1_0_beta_snapshot_27
module load hdf5/1.10.6
module load gfsio/1.4.1
module load sfcio/1.4.1
module load landsfcutil/2.4.1
module load nemsiogfs/2.5.3
module load netcdf/4.7.4
module load upp/10.0.0
module load w3emc/2.7.3
module load wgrib2/2.0.8


export CMAKE_C_COMPILER=mpiicc
Expand Down
2 changes: 2 additions & 0 deletions env/wflow_orion.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Python environment for workflow on Orion

module load rocoto

module use -a /apps/contrib/miniconda3-noaa-gsl/modulefiles
module load miniconda3
conda activate regional_workflow
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ExternalProject_Add(UFS_UTILS
)

if(NOT CCPP_SUITES)
set(CCPP_SUITES "FV3_CPT_v0,FV3_GFS_2017_gfdlmp,FV3_GFS_2017_gfdlmp_regional,FV3_GSD_SAR,FV3_GSD_v0,FV3_GFS_v15p2,FV3_GFS_v16beta,FV3_RRFS_v1beta,FV3_HRRR")
set(CCPP_SUITES "FV3_CPT_v0,FV3_GFS_2017_gfdlmp,FV3_GFS_2017_gfdlmp_regional,FV3_GSD_SAR,FV3_GSD_v0,FV3_GFS_v15p2,FV3_GFS_v16,FV3_RRFS_v1beta,FV3_HRRR,FV3_RRFS_v1alpha")
endif()

ExternalProject_Add(ufs_weather_model
Expand All @@ -21,6 +21,8 @@ ExternalProject_Add(ufs_weather_model
"-DCMAKE_CXX_COMPILER=${MPI_CXX_COMPILER}"
"-DCMAKE_Fortran_COMPILER=${MPI_Fortran_COMPILER}"
"-DNETCDF_DIR=$ENV{NETCDF}"
"-D32BIT=ON"
"-DAPP=ATM"
INSTALL_COMMAND mkdir -p ${CMAKE_INSTALL_PREFIX}/bin && cp ${CMAKE_CURRENT_BINARY_DIR}/ufs_weather_model/src/ufs_weather_model-build/ufs_model ${CMAKE_INSTALL_PREFIX}/bin/
)

Expand Down