Skip to content

Commit

Permalink
adding netcdf-fortran and pnetcdf
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Aug 24, 2020
1 parent 35dda9d commit 6d2b2a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/a3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/hdf5
key: hdf5-${{ runner.os }}-1.10.6
key: hdf5-${{ runner.os }}-1.10.6-openmpi-4.0.4

- name: build-hdf5
if: steps.cache-hdf5.outputs.cache-hit != 'true'
Expand All @@ -53,16 +53,16 @@ jobs:
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.6/src/hdf5-1.10.6.tar.gz &> /dev/null
tar -xzf hdf5-1.10.6.tar.gz
pushd hdf5-1.10.6
./configure --prefix=/home/runner/hdf5 --enable-parallel --disable-tools --disable-fortran --disable-cxx
./configure --prefix=/home/runner/hdf5 --enable-parallel --disable-tools --disable-fortran --disable-cxx --enable-parallel-tests
make
sudo make install
sudo make check install
popd
- name: cache-netcdf-c
id: cache-netcdf-c
uses: actions/cache@v2
with:
path: ~/netcdf-c
key: netcdf-c-${{ runner.os }}-4.7.4
key: netcdf-c-${{ runner.os }}-4.7.4-openmpi-4.0.4

- name: build-netcdf-c
if: steps.cache-netcdf-c.outputs.cache-hit != 'true'
Expand All @@ -82,7 +82,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/netcdf-fortran
key: netcdf-fortran-${{ runner.os }}-4.5.3
key: netcdf-fortran-${{ runner.os }}-4.5.3-openmpi-4.0.4

- name: build-netcdf-fortran
if: steps.cache-netcdf-fortran.outputs.cache-hit != 'true'
Expand All @@ -102,7 +102,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/pnetcdf
key: pnetcdf-${{ runner.os }}-1.12.1
key: pnetcdf-${{ runner.os }}-1.12.1-openmpi-4.0.4

- name: build-pnetcdf
if: steps.cache-pnetcdf.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 6d2b2a9

Please sign in to comment.