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

Update workflow files to use newer versions of ESMF and NCEPLIBS. #617

Merged
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
18 changes: 9 additions & 9 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.0.1-${{ runner.os }}3
key: esmf-8.1.1-${{ runner.os }}3

- name: build-esmf
if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
pushd ~
export ESMF_DIR=~/esmf-ESMF_8_0_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_0_1.tar.gz &> /dev/null
tar zxf ESMF_8_0_1.tar.gz
cd esmf-ESMF_8_0_1
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_COMM=mpich3
export ESMF_INSTALL_BINDIR=bin
export ESMF_INSTALL_LIBDIR=lib
Expand Down Expand Up @@ -71,14 +71,14 @@ jobs:
uses: actions/cache@v2
with:
path: ~/nceplibs
key: nceplibs-1.3.0-${{ runner.os }}3
key: nceplibs-1.4.0-${{ runner.os }}3

- name: build-nceplibs
if: steps.cache-nceplibs.outputs.cache-hit != 'true'
run: |
wget https://github.com/NOAA-EMC/NCEPLIBS/archive/v1.3.0.tar.gz &> /dev/null
tar zxf v1.3.0.tar.gz
cd NCEPLIBS-1.3.0
wget https://github.com/NOAA-EMC/NCEPLIBS/archive/v1.4.0.tar.gz &> /dev/null
tar zxf v1.4.0.tar.gz
cd NCEPLIBS-1.4.0
export ESMFMKFILE=~/esmf/lib/esmf.mk
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH='~;~/jasper' -DCMAKE_INSTALL_PREFIX='~/nceplibs' -DFLAT=ON
Expand Down
18 changes: 9 additions & 9 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.0.1-${{ runner.os }}-intel3
key: esmf-8.1.1-${{ runner.os }}-intel3

- name: build-esmf
if: steps.cache-esmf.outputs.cache-hit != 'true'
run: |
pushd ~
export ESMF_DIR=~/esmf-ESMF_8_0_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_0_1.tar.gz &> /dev/null
tar zxf ESMF_8_0_1.tar.gz
cd esmf-ESMF_8_0_1
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_COMM=intelmpi
export ESMF_INSTALL_BINDIR=bin
export ESMF_INSTALL_LIBDIR=lib
Expand Down Expand Up @@ -137,15 +137,15 @@ jobs:
uses: actions/cache@v2
with:
path: ~/nceplibs
key: nceplibs-1.3.0-${{ runner.os }}-intel3
key: nceplibs-1.4.0-${{ runner.os }}-intel3

- name: build-nceplibs
if: steps.cache-nceplibs.outputs.cache-hit != 'true'
run: |
export ESMFMKFILE=~/esmf/lib/esmf.mk
wget https://github.com/NOAA-EMC/NCEPLIBS/archive/v1.3.0.tar.gz &> /dev/null
tar zxf v1.3.0.tar.gz
cd NCEPLIBS-1.3.0
wget https://github.com/NOAA-EMC/NCEPLIBS/archive/v1.4.0.tar.gz &> /dev/null
tar zxf v1.4.0.tar.gz
cd NCEPLIBS-1.4.0
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH='~;~/jasper;~/netcdf' -DCMAKE_INSTALL_PREFIX='~/nceplibs' -DFLAT=ON
make -j2
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/linux-mac-nceplibs-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [macos-10.15, ubuntu-20.04]
compiler: [gcc-9]
nceplibs_version: [develop, 1.3.0]
nceplibs_version: [develop, 1.4.0]
mpi_type: [mpich, openmpi]
netcdf_version: [4.7.4]

Expand Down Expand Up @@ -123,17 +123,17 @@ jobs:
uses: actions/cache@v2
with:
path: ~/esmf
key: esmf--8.0.1-${{ runner.os }}-${{ matrix.mpi_type }}-netcdf-${{ matrix.netcdf_version }}3
key: esmf--8.1.1-${{ 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_0_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_0_1.tar.gz &> /dev/null
tar zxf ESMF_8_0_1.tar.gz
cd esmf-ESMF_8_0_1
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
if [[ ${{ matrix.mpi_type}} == "mpich" ]]; then
export ESMF_COMM=mpich3
elif [[ ${{ matrix.mpi_type}} == "openmpi" ]]; then
Expand Down Expand Up @@ -175,8 +175,8 @@ jobs:
run: |
git clone https://github.com/NOAA-EMC/NCEPLIBS.git nceplibs
cd nceplibs
if [[ ${{ matrix.nceplibs_version }} == "1.3.0" ]]; then
git checkout v1.3.0
if [[ ${{ matrix.nceplibs_version }} == "1.4.0" ]]; then
git checkout v1.4.0
fi

- name: get-git-hash
Expand Down
18 changes: 9 additions & 9 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.0.1-${{ runner.os }}-netcdf-${{ matrix.netcdf_version }}3
key: esmf-8.1.1-${{ 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_0_1
wget https://github.com/esmf-org/esmf/archive/ESMF_8_0_1.tar.gz &> /dev/null
tar zxf ESMF_8_0_1.tar.gz
cd esmf-ESMF_8_0_1
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_COMM=mpich3
export ESMF_INSTALL_BINDIR=bin
export ESMF_INSTALL_LIBDIR=lib
Expand Down Expand Up @@ -122,14 +122,14 @@ jobs:
uses: actions/cache@v2
with:
path: ~/nceplibs
key: nceplibs-1.3.0-${{ runner.os }}-netcdf-${{ matrix.netcdf_version }}3
key: nceplibs-1.4.0-${{ runner.os }}-netcdf-${{ matrix.netcdf_version }}3

- name: build-nceplibs
if: steps.cache-nceplibs.outputs.cache-hit != 'true'
run: |
wget https://github.com/NOAA-EMC/NCEPLIBS/archive/v1.3.0.tar.gz &> /dev/null
tar zxf v1.3.0.tar.gz
cd NCEPLIBS-1.3.0
wget https://github.com/NOAA-EMC/NCEPLIBS/archive/v1.4.0.tar.gz &> /dev/null
tar zxf v1.4.0.tar.gz
cd NCEPLIBS-1.4.0
export ESMFMKFILE=~/esmf/lib/esmf.mk
mkdir build && cd build
cmake .. -DCMAKE_PREFIX_PATH='~;~/jasper;~/netcdf' -DCMAKE_INSTALL_PREFIX='~/nceplibs' -DFLAT=ON
Expand Down