From 4203960b5e489da67c7c1bd7991bed35bcfca7da Mon Sep 17 00:00:00 2001 From: mjreno Date: Thu, 20 Jul 2023 20:59:22 -0400 Subject: [PATCH] netcdf ubuntu ci 4 --- .github/workflows/a3.yml | 51 ++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/.github/workflows/a3.yml b/.github/workflows/a3.yml index dc869c5643e..9a4da2ae900 100644 --- a/.github/workflows/a3.yml +++ b/.github/workflows/a3.yml @@ -30,9 +30,12 @@ jobs: - name: build-openmpi if: steps.cache-openmpi.outputs.cache-hit != 'true' run: | - wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.4.tar.gz &> /dev/null - tar -xzf openmpi-4.0.4.tar.gz - pushd openmpi-4.0.4 + #wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.4.tar.gz &> /dev/null + #tar -xzf openmpi-4.0.4.tar.gz + #pushd openmpi-4.0.4 + https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.5.tar.gz &> /dev/null + tar -xzf openmpi-4.1.5.tar.gz + pushd openmpi-4.1.5 ./configure --prefix=/home/runner/openmpi make sudo make install @@ -50,9 +53,12 @@ jobs: set -x export PATH="/home/runner/openmpi/bin:$PATH" export CC=/home/runner/openmpi/bin/mpicc - 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 + #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 + wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-1.14.1/src/hdf5-1.14.1-2.tar.gz &> /dev/null + tar -xzf hdf5-1.14.1-2.tar.gz + pushd hdf5-1.14.1-2 ./configure --prefix=/home/runner/hdf5 --enable-parallel --disable-tools --disable-fortran --disable-cxx --enable-parallel-tests make sudo make install @@ -70,11 +76,14 @@ jobs: set -x export PATH="/home/runner/openmpi/bin:$PATH" export CC=/home/runner/openmpi/bin/mpicc - wget https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-c-4.7.4.tar.gz &> /dev/null - file netcdf-c-4.7.4.tar.gz - #tar -xzf netcdf-c-4.7.4.tar.gz - tar -xf netcdf-c-4.7.4.tar.gz - pushd netcdf-c-4.7.4 + #wget https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-c-4.7.4.tar.gz &> /dev/null + #file netcdf-c-4.7.4.tar.gz + ##tar -xzf netcdf-c-4.7.4.tar.gz + #tar -xf netcdf-c-4.7.4.tar.gz + #pushd netcdf-c-4.7.4 + wget https://downloads.unidata.ucar.edu/netcdf-c/4.9.2/netcdf-c-4.9.2.tar.gz &> /dev/null + tar -xzf netcdf-c-4.9.2.tar.gz + pushd netcdf-c-4.9.2 ./configure --prefix=/home/runner/netcdf-c --disable-dap --disable-utilities make -j sudo make install @@ -92,10 +101,13 @@ jobs: set -x export PATH="/home/runner/openmpi/bin:$PATH" export CC=/home/runner/openmpi/bin/mpicc - wget https://github.com/Unidata/netcdf-fortran/archive/v4.5.3.tar.gz &> /dev/null - file v4.5.3.tar.gz - tar -xzf v4.5.3.tar.gz - pushd netcdf-fortran-4.5.3 + #wget https://github.com/Unidata/netcdf-fortran/archive/v4.5.3.tar.gz &> /dev/null + #file v4.5.3.tar.gz + #tar -xzf v4.5.3.tar.gz + #pushd netcdf-fortran-4.5.3 + wget https://downloads.unidata.ucar.edu/netcdf-fortran/4.6.1/netcdf-fortran-4.6.1.tar.gz &> /dev/null + tar -xzf netcdf-fortran-4.6.1.tar.gz + pushd netcdf-fortran-4.6.1 ./configure --prefix=/home/runner/netcdf-fortran make -j sudo make install @@ -113,9 +125,12 @@ jobs: set -x export PATH="/home/runner/openmpi/bin:$PATH" export CC=/home/runner/openmpi/bin/mpicc - wget https://parallel-netcdf.github.io/Release/pnetcdf-1.12.1.tar.gz &> /dev/null - tar -xzf pnetcdf-1.12.1.tar.gz - pushd pnetcdf-1.12.1 + #wget https://parallel-netcdf.github.io/Release/pnetcdf-1.12.1.tar.gz &> /dev/null + #tar -xzf pnetcdf-1.12.1.tar.gz + #pushd pnetcdf-1.12.1 + wget https://parallel-netcdf.github.io/Release/pnetcdf-1.12.3.tar.gz &> /dev/null + tar -xzf pnetcdf-1.12.3.tar.gz + pushd pnetcdf-1.12.3 ./configure --prefix=/home/runner/pnetcdf --enable-shared --disable-cxx make sudo make install