Skip to content

Commit

Permalink
Use ESMF 8.2.0 library
Browse files Browse the repository at this point in the history
Upgrade to version 8.2.0. 

Part of #143
Fixes #621.
  • Loading branch information
MinsukJi-NOAA authored Jan 31, 2022
1 parent 04700f9 commit 26cd024
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 30 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/debug-docs-test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
uses: actions/cache@v2
with:
path: ~/esmf
key: esmf-8.1.1-${{ runner.os }}3
key: esmf-8.2.0-${{ runner.os }}3

- name: build-esmf
if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
pushd ~
export ESMF_DIR=~/esmf-ESMF_8_1_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_1_1.tar.gz &> /dev/null
tar zxf ESMF_8_1_1.tar.gz
cd esmf-ESMF_8_1_1
export ESMF_DIR=~/esmf-ESMF_8_2_0
wget https://github.com/esmf-org/esmf/archive/ESMF_8_2_0.tar.gz &> /dev/null
tar zxf ESMF_8_2_0.tar.gz
cd esmf-ESMF_8_2_0
export ESMF_COMM=mpich3
export ESMF_INSTALL_BINDIR=bin
export ESMF_INSTALL_LIBDIR=lib
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@ jobs:
uses: actions/cache@v2
with:
path: ~/esmf
key: esmf-8.1.1-${{ runner.os }}-intel3
key: esmf-8.2.0-${{ runner.os }}-intel3

- name: build-esmf
if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
pushd ~
export ESMF_DIR=~/esmf-ESMF_8_1_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_1_1.tar.gz &> /dev/null
tar zxf ESMF_8_1_1.tar.gz
cd esmf-ESMF_8_1_1
export ESMF_DIR=~/esmf-ESMF_8_2_0
wget https://github.com/esmf-org/esmf/archive/ESMF_8_2_0.tar.gz &> /dev/null
tar zxf ESMF_8_2_0.tar.gz
cd esmf-ESMF_8_2_0
export ESMF_COMM=intelmpi
export ESMF_INSTALL_BINDIR=bin
export ESMF_INSTALL_LIBDIR=lib
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/linux-mac-nceplibs-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,17 @@ jobs:
uses: actions/cache@v2
with:
path: ~/esmf
key: esmf--8.1.1-${{ runner.os }}-${{ matrix.mpi_type }}-netcdf-${{ matrix.netcdf_version }}3
key: esmf--8.2.0-${{ runner.os }}-${{ matrix.mpi_type }}-netcdf-${{ matrix.netcdf_version }}3

- name: build-esmf
if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
set -x
pushd ~
export ESMF_DIR=~/esmf-ESMF_8_1_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_1_1.tar.gz &> /dev/null
tar zxf ESMF_8_1_1.tar.gz
cd esmf-ESMF_8_1_1
export ESMF_DIR=~/esmf-ESMF_8_2_0
wget https://github.com/esmf-org/esmf/archive/ESMF_8_2_0.tar.gz &> /dev/null
tar zxf ESMF_8_2_0.tar.gz
cd esmf-ESMF_8_2_0
if [[ ${{ matrix.mpi_type}} == "mpich" ]]; then
export ESMF_COMM=mpich3
elif [[ ${{ matrix.mpi_type}} == "openmpi" ]]; then
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/netcdf-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ jobs:
uses: actions/cache@v2
with:
path: ~/esmf
key: esmf-8.1.1-${{ runner.os }}-netcdf-${{ matrix.netcdf_version }}3
key: esmf-8.2.0-${{ runner.os }}-netcdf-${{ matrix.netcdf_version }}3

- name: build-esmf
#if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
pushd ~
export ESMF_DIR=~/esmf-ESMF_8_1_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_1_1.tar.gz &> /dev/null
tar zxf ESMF_8_1_1.tar.gz
cd esmf-ESMF_8_1_1
export ESMF_DIR=~/esmf-ESMF_8_2_0
wget https://github.com/esmf-org/esmf/archive/ESMF_8_2_0.tar.gz &> /dev/null
tar zxf ESMF_8_2_0.tar.gz
cd esmf-ESMF_8_2_0
export ESMF_COMM=mpich3
export ESMF_INSTALL_BINDIR=bin
export ESMF_INSTALL_LIBDIR=lib
Expand Down
2 changes: 1 addition & 1 deletion modulefiles/build.hera.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ load(pathJoin("netcdf", netcdf_ver))
nccmp_ver=os.getenv("nccmp_ver") or "1.8.7.0"
load(pathJoin("nccmp", nccmp_ver))

esmf_ver=os.getenv("esmf_ver") or "8_1_1"
esmf_ver=os.getenv("esmf_ver") or "8_2_0"
load(pathJoin("esmf", esmf_ver))

whatis("Description: UFS_UTILS build environment")
2 changes: 1 addition & 1 deletion modulefiles/build.jet.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ load(pathJoin("netcdf", netcdf_ver))
nccmp_ver=os.getenv("nccmp_ver") or "1.8.7.0"
load(pathJoin("nccmp", nccmp_ver))

esmf_ver=os.getenv("esmf_ver") or "8_1_0_beta_snapshot_27"
esmf_ver=os.getenv("esmf_ver") or "8_2_0"
load(pathJoin("esmf", esmf_ver))

w3nco_ver=os.getenv("w3nco_ver") or "2.4.1"
Expand Down
2 changes: 1 addition & 1 deletion modulefiles/build.orion.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ load(pathJoin("netcdf", netcdf_ver))
nccmp_ver=os.getenv("nccmp_ver") or "1.8.7.0"
load(pathJoin("nccmp", nccmp_ver))

esmf_ver=os.getenv("esmf_ver") or "8_1_0_beta_snapshot_27"
esmf_ver=os.getenv("esmf_ver") or "8_2_0"
load(pathJoin("esmf", esmf_ver))

whatis("Description: UFS_UTILS build environment")
4 changes: 1 addition & 3 deletions modulefiles/build.wcoss_cray.intel
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ setenv ZLIB_ROOT /usrx/local/prod/zlib/1.2.7/intel/haswell
setenv PNG_ROOT /usrx/local/prod/png/1.2.49/intel/haswell
setenv Jasper_ROOT /usrx/local/prod/jasper/1.900.1/intel/haswell

module use /gpfs/hps3/emc/nems/noscrub/emc.nemspara/soft/modulefiles
#module load esmf/8.0.0
setenv ESMFMKFILE /gpfs/hps3/emc/nems/noscrub/emc.nemspara/soft/esmf/8.0.0/lib/esmf.mk
module load esmf/820
setenv NETCDF /opt/cray/netcdf/4.3.3.1/INTEL/14.0
module rm gcc
module load gcc/6.3.0
8 changes: 4 additions & 4 deletions modulefiles/build.wcoss_dell_p3.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ prepend_path("MODULEPATH", "/usrx/local/nceplibs/dev/hpc-stack/libs/hpc-stack/mo
hpc_ver=os.getenv("hpc_ver") or "1.1.0"
load(pathJoin("hpc", hpc_ver))

ips_ver=os.getenv("ips_ver") or "18.0.1.163"
ips_ver=os.getenv("ips_ver") or "18.0.5.274"
load(pathJoin("hpc-ips", ips_ver))

impi_ver=os.getenv("impi_ver") or "18.0.1"
Expand All @@ -34,16 +34,16 @@ load(pathJoin("hdf5", hdf5_ver))
netcdf_ver=os.getenv("netcdf_ver") or "4.7.4"
load(pathJoin("netcdf", netcdf_ver))

nccmp_ver=os.getenv("nccmp_ver") or "1.8.7.0"
nccmp_ver=os.getenv("nccmp_ver") or "1.8.9.0"
load(pathJoin("nccmp", nccmp_ver))

esmf_ver=os.getenv("esmf_ver") or "8_1_0_beta_snapshot_27"
esmf_ver=os.getenv("esmf_ver") or "8_2_0"
load(pathJoin("esmf", esmf_ver))

bacio_ver=os.getenv("bacio_ver") or "2.4.1"
load(pathJoin("bacio", bacio_ver))

g2_ver=os.getenv("g2_ver") or "3.4.1"
g2_ver=os.getenv("g2_ver") or "3.4.2"
load(pathJoin("g2", g2_ver))

ip_ver=os.getenv("ip_ver") or "3.3.3"
Expand Down
3 changes: 3 additions & 0 deletions tests/chgres_cube/LSanSuppress.supp
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
leak:ESMCI
leak:ESMC
leak:esmc
leak:esmf
leak:std::vector
3 changes: 3 additions & 0 deletions tests/sfc_climo_gen/LSanSuppress.supp
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
leak:ESMCI
leak:ESMC
leak:esmc
leak:esmf
leak:std::vector

0 comments on commit 26cd024

Please sign in to comment.