diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildhdf5/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildhdf5/action.yml index 4ba086823b..b720886359 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildhdf5/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildhdf5/action.yml @@ -34,7 +34,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: HDFGroup/hdf5 path: hdf5-src @@ -50,7 +50,10 @@ runs: -DHDF5_ENABLE_PARALLEL=${{ inputs.enable_parallel }} \ -DHDF5_ENABLE_Z_LIB_SUPPORT=ON \ -DBUILD_TESTING=${{ inputs.enable_testing }} \ + -DHDF5_ENABLE_DEPRICATED_SYMBOLS=OFF \ + -DHDF5_BUILD_EXAMPLES=OFF \ -DHDF5_BUILD_TOOLS=OFF \ + -DCMAKE_BUILD_TYPE=REL \ ../ make make install diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildmpich/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildmpich/action.yml index 3437a6065f..6b18b3c44e 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildmpich/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildmpich/action.yml @@ -13,7 +13,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: pmodels/mpich path: mpich-src diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildnetcdf/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildnetcdf/action.yml index a7d168f657..709b05e5a1 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildnetcdf/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildnetcdf/action.yml @@ -45,7 +45,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: Unidata/netcdf-c path: netcdf-c-src diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildnetcdff/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildnetcdff/action.yml index 4063a11cb7..0388a3358c 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildnetcdff/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildnetcdff/action.yml @@ -19,7 +19,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: Unidata/netcdf-fortran path: netcdf-fortran-src diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildopenmpi/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildopenmpi/action.yml index f5f95fcf75..02cf3bf914 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildopenmpi/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildopenmpi/action.yml @@ -13,7 +13,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: open-mpi/ompi path: openmpi-src diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildpnetcdf/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildpnetcdf/action.yml index 43f2ad8c05..24210fbf45 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildpnetcdf/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/buildpnetcdf/action.yml @@ -2,7 +2,7 @@ description: 'Build the pnetcdf library' inputs: pnetcdf_version: description: 'Tag in the pnetcdf repository to use' - default: checkpoint.1.12.3 + default: checkpoint.1.14.0 required: False type: string install_prefix: @@ -23,7 +23,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: Parallel-NetCDF/PnetCDF path: pnetcdf-src diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/intelcompilers/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/intelcompilers/action.yml index 5f7c658d66..895d7ea404 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/intelcompilers/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/intelcompilers/action.yml @@ -2,22 +2,20 @@ description: 'Install Intel Compilers' runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: setup repo shell: bash run: | - wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB - sudo echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list + #wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB + # download the key to system keyring + wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null + #sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB + #rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB + echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list sudo apt-get update - name: install shell: bash run: | - sudo apt-get install -y intel-oneapi-common-vars - sudo apt-get install -y intel-oneapi-compiler-fortran - sudo apt-get install -y intel-oneapi-mkl - sudo apt-get install -y intel-oneapi-mpi - sudo apt-get install -y intel-oneapi-mpi-devel + sudo apt-get install intel-oneapi-hpc-toolkit source /opt/intel/oneapi/setvars.sh - printenv >> $GITHUB_ENV + source /opt/intel/oneapi/compiler/latest/env/vars.sh intel64 diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/parallelio_autotools/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/parallelio_autotools/action.yml index fd85ebe8af..4ef041708f 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/parallelio_autotools/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/parallelio_autotools/action.yml @@ -2,7 +2,7 @@ description: 'Build the parallelio library using cmake' inputs: parallelio_version: description: 'Tag in the parallelio repository to use' - default: pio2_5_10 + default: pio2_6_3 required: False type: string shared_libraries: @@ -101,12 +101,12 @@ runs: using: composite steps: - name: Check if already present - uses: andstor/file-existence-action@v2 + uses: andstor/file-existence-action@v3 with: files: ${{ inputs.src_path }} - name: get parallelio if: ${{ steps.check_files.outputs.files_exists != 'true' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: NCAR/ParallelIO path: ${{ inputs.src_path }} diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/parallelio_cmake/action.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/parallelio_cmake/action.yml index 5a135fce2c..c51cbe77d8 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/parallelio_cmake/action.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/actions/parallelio_cmake/action.yml @@ -2,7 +2,7 @@ description: 'Build the parallelio library using cmake' inputs: parallelio_version: description: 'Tag in the parallelio repository to use' - default: pio2_5_9 + default: pio2_6_3 required: False type: string shared_libraries: @@ -110,7 +110,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: NCAR/ParallelIO path: parallelio-src diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/autotools.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/autotools.yml index eba2d60bfe..ed9cec2480 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/autotools.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/autotools.yml @@ -19,7 +19,7 @@ jobs: LDFLAGS: "-L/usr/lib/x86_64-linux-gnu -lnetcdf_mpi -lpnetcdf" FCFLAGS: "-Wall -Werror -fallow-argument-mismatch -Wno-conversion" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Installs run: | set -x @@ -54,4 +54,4 @@ jobs: # - name: Setup tmate session # if: ${{ failure() }} -# uses: mxschmitt/action-tmate@v3 +# uses: mxschmitt/action-tmate@v4 diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/cmake.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/cmake.yml index e554dd6904..96bb68ba83 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/cmake.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/cmake.yml @@ -19,7 +19,7 @@ jobs: # LDFLAGS: "-static-libasan" # ASAN_OPTIONS: "detect_odr_violation=0" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Installs run: | set -x diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/cmake_ubuntu_latest.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/cmake_ubuntu_latest.yml index eb24571d5e..29beb42c49 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/cmake_ubuntu_latest.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/cmake_ubuntu_latest.yml @@ -23,7 +23,7 @@ jobs: PNETCDF_VERSION: checkpoint.1.12.3 FCFLAGS: "-fallow-argument-mismatch" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Installs run: | set -x @@ -36,7 +36,7 @@ jobs: - name: cache-pnetcdf id: cache-pnetcdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/pnetcdf key: pnetcdf-${{ runner.os }}-${{ env.PNETCDF_VERSION }} diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/intel.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/intel.yml deleted file mode 100644 index 10eb10fcaa..0000000000 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/intel.yml +++ /dev/null @@ -1,131 +0,0 @@ -name: Intel OneAPI -# Tests ParallelIO using Intel Compiler and IMPI library. -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: ubuntu-latest - - env: - CC: mpicc - FC: mpiifort - # Versions should match the github tag names - PNETCDF_VERSION: checkpoint.1.12.3 - NETCDF_C_VERSION: v4.9.2 - NETCDF_FORTRAN_VERSION: v4.6.1 - HDF5_VERSION: hdf5_1_12_2 - steps: - - uses: actions/checkout@v3 - - name: Installs - run: | - set -x - sudo apt-get update - sudo apt-get install libcurl4-gnutls-dev - sudo apt-get install libz-dev - echo "/opt/intel/oneapi/compiler/2023.2.1/linux/bin/intel64/" >> $GITHUB_PATH - - name: cache intel compiler - id: cache-intel - uses: actions/cache@v3 - with: - path: /opt/intel/oneapi - key: intel-${{ runner.os }} - - name: Install Intel OneAPI - if: steps.cache-intel.outputs.cache-hit != 'true' - uses: ./.github/actions/intelcompilers - - name: Prep Intel OneAPI - if: steps.cache-intel.outputs.cache-hit == 'true' - run: | - source /opt/intel/oneapi/setvars.sh - printenv >> $GITHUB_ENV - - - name: cache-hdf5 - id: cache-hdf5 - uses: actions/cache@v3 - with: - path: ~/work/ParallelIO/ParallelIO/hdf5 - key: hdf5-${{ runner.os }}-${{ env.HDF5_VERSION }}-impi - - name: build-hdf5 - if: steps.cache-hdf5.outputs.cache-hit != 'true' - uses: ./.github/actions/buildhdf5 - with: - install_prefix: ${GITHUB_WORKSPACE}/hdf5 - enable_parallel: True - hdf5_version: ${{ env.HDF5_VERSION }} - mpi_path: /opt/intel/mpi - - name: cache netcdf C - id: cache-netcdf-c - uses: actions/cache@v3 - with: - path: ~/work/ParallelIO/ParallelIO/netcdf-c - key: netcdf-c-${{ runner.os }}-${{ env.NETCDF_C_VERSION }}-impi-hdf5-${{ env.HDF5_VERSION }} - - name: cache netcdf Fortran - id: cache-netcdf-f - uses: actions/cache@v3 - with: - path: ~/work/ParallelIO/ParallelIO/netcdf-f - key: netcdf-f-${{ runner.os }}-${{ env.NETCDF_FORTRAN_VERSION }}-impi-hdf5-${{ env.HDF5_VERSION }} - - - name: prep netcdf-c - run: | - export PATH=$GITHUB_WORKSPACE/hdf5/bin:$GITHUB_WORKSPACE/netcdf/bin:$PATH - export LDFLAGS="$LDFLAGS -L$GITHUB_WORKSPACE/hdf5/lib -L/usr/lib/x86_64-linux-gnu/ -lcurl" - export CPPFLAGS="$CPPFLAGS -I$GITHUB_WORKSPACE/hdf5/include -I$GITHUB_WORKSPACE/netcdf/include" - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/hdf5/lib:/usr/lib/x86_64-linux-gnu/:/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin/" - printenv >> $GITHUB_ENV - - name: build-netcdf-c - if: steps.cache-netcdf-c.outputs.cache-hit != 'true' - uses: ./.github/actions/buildnetcdf - with: - netcdf_version: ${{ env.NETCDF_C_VERSION }} - install_prefix: ${GITHUB_WORKSPACE}/netcdf-c - - - name: Build NetCDF Fortran - if: steps.cache-netcdf-f.outputs.cache-hit != 'true' - uses: ./.github/actions/buildnetcdff - with: - netcdf_fortran_version: ${{ env.NETCDF_FORTRAN_VERSION }} - install_prefix: ${GITHUB_WORKSPACE}/netcdf-f - netcdf_c_path: ${GITHUB_WORKSPACE}/netcdf-c - - - name: cache-pnetcdf - id: cache-pnetcdf - uses: actions/cache@v3 - with: - path: ~/work/ParallelIO/ParallelIO/pnetcdf - key: pnetcdf-${{ runner.os }}-${{ env.PNETCDF_VERSION }}-impi-5 - - - name: Build PNetCDF - if: steps.cache-pnetcdf.outputs.cache-hit != 'true' - uses: ./.github/actions/buildpnetcdf - with: - pnetcdf_version: ${{ env.PNETCDF_VERSION }} - install_prefix: ${GITHUB_WORKSPACE}/pnetcdf - - - name: cmake build - uses: ./.github/actions/parallelio_cmake - with: - parallelio_version: ${{ env.GITHUB_SHA }} - enable_fortran: True - netcdf_c_library: $GITHUB_WORKSPACE/netcdf-c/lib/libnetcdf.so - netcdf_c_include_dir: $GITHUB_WORKSPACE/netcdf-c/include - netcdf_fortran_library: $GITHUB_WORKSPACE/netcdf-f/lib/libnetcdff.so - netcdf_fortran_include_dir: $GITHUB_WORKSPACE/netcdf-f/include - pnetcdf_library: $GITHUB_WORKSPACE/pnetcdf/lib/libpnetcdf.a - pnetcdf_include_dir: $GITHUB_WORKSPACE/pnetcdf/include - install_prefix: $GITHUB_WORKSPACE/parallelio - - name: parallelio tests - run: | - pushd $GITHUB_WORKSPACE/build - make tests - ctest -VV -E test_async_ - popd - # the following can be used by developers to login to the github server in case of errors - # see https://github.com/marketplace/actions/debugging-with-tmate for further details -# - name: Setup tmate session -# if: ${{ failure() }} -# uses: mxschmitt/action-tmate@v3 diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_hdf5_no_pnetcdf_ncint_mpich.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_hdf5_no_pnetcdf_ncint_mpich.yml index 81b0d0635e..44222f4456 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_hdf5_no_pnetcdf_ncint_mpich.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_hdf5_no_pnetcdf_ncint_mpich.yml @@ -19,13 +19,13 @@ jobs: FFLAGS: "-fallow-argument-mismatch" FCFLAGS: "-fallow-argument-mismatch" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Installs run: | sudo apt-get install doxygen graphviz wget gfortran libjpeg-dev libz-dev libcurl4-gnutls-dev - name: cache-mpich id: cache-mpich - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/work/ParallelIO/ParallelIO/mpich key: mpich-${{ runner.os }}-${{ env.MPICH_VERSION }} @@ -39,7 +39,7 @@ jobs: - name: cache-hdf5 id: cache-hdf5 - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/work/ParallelIO/ParallelIO/hdf5 key: hdf5-${{ runner.os }}-${{ env.HDF5_VERSION }}-mpich-${{ env.MPICH_VERSION }} @@ -55,7 +55,7 @@ jobs: - name: cache-netcdf id: cache-netcdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/work/ParallelIO/ParallelIO/netcdf key: netcdf-${{ runner.os }}-${{ env.NETCDF_C_VERSION }}-${{ env.NETCDF_FORTRAN_VERSION }}-mpich-${{ env.MPICH_VERSION }}-hdf5-${{ env.HDF5_VERSION }} @@ -79,7 +79,7 @@ jobs: - name: cache-netcdf-fortran id: cache-netcdf-fortran - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/netcdf-fortran key: netcdf-fortran-${{ runner.os }}-${{ env.NETCDF_FORTRAN_VERSION }}-mpich-${{ env.MPICH_VERSION }}-hdf5-${{ env.HDF5_VERSION }} diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_hdf5_pnetcdf_ncint_mpich_asan.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_hdf5_pnetcdf_ncint_mpich_asan.yml index 5b055f0466..02c258115b 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_hdf5_pnetcdf_ncint_mpich_asan.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_hdf5_pnetcdf_ncint_mpich_asan.yml @@ -20,13 +20,13 @@ jobs: FCFLAGS: "-fallow-argument-mismatch" FFLAGS: "-fallow-argument-mismatch" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Installs run: | sudo apt-get install doxygen graphviz wget gfortran libjpeg-dev libz-dev - name: cache-mpich id: cache-mpich - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/mpich key: mpich-${{ runner.os }}-${{ env.MPICH_VERSION }} @@ -40,7 +40,7 @@ jobs: - name: cache-hdf5 id: cache-hdf5 - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/hdf5 key: hdf5-${{ runner.os }}-${{ env.HDF5_VERSION }}-mpich-${{ env.MPICH_VERSION }} @@ -55,7 +55,7 @@ jobs: mpi_path: $HOME/mpich - name: cache-netcdf-c id: cache-netcdf-c - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/netcdf-c key: netcdf-c-${{ runner.os }}-${{ env.NETCDF_C_VERSION }}-mpich-${{ env.MPICH_VERSION }}-hdf5-${{ env.HDF5_VERSION }} @@ -69,7 +69,7 @@ jobs: - name: cache-netcdf-fortran id: cache-netcdf-fortran - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/netcdf-fortran key: netcdf-fortran-${{ runner.os }}-${{ env.NETCDF_F_VERSION }}-mpich-${{ env.MPICH_VERSION }}-hdf5-${{ env.HDF5_VERSION_MAJOR }}.${{ env.HDF5_VERSION_PATCH }} @@ -84,7 +84,7 @@ jobs: - name: cache-pnetcdf id: cache-pnetcdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/pnetcdf key: pnetcdf-${{ runner.os }}-${{ env.PNETCDF_VERSION }}-mpich-${{ env.MPICH_VERSION }} diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_pnetcdf_openmpi.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_pnetcdf_openmpi.yml index 1b3b6c1b05..1bd6d64d79 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_pnetcdf_openmpi.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/netcdf_pnetcdf_openmpi.yml @@ -22,13 +22,13 @@ jobs: FCFLAGS: "-fallow-argument-mismatch" FFLAGS: "-fallow-argument-mismatch" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Installs run: | sudo apt-get install doxygen graphviz wget gfortran libjpeg-dev libz-dev - name: cache-openmpi id: cache-openmpi - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/work/ParallelIO/ParallelIO/openmpi key: openmpi-${{ runner.os }}-${{ env.OPENMPI_VERSION }} @@ -42,7 +42,7 @@ jobs: - name: cache-hdf5 id: cache-hdf5 - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/work/ParallelIO/ParallelIO/hdf5 key: hdf5-${{ runner.os }}-${{ env.HDF5_VERSION }}-openmpi-${{ env.OPENMPI_VERSION }} @@ -58,7 +58,7 @@ jobs: - name: cache-netcdf id: cache-netcdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/work/ParallelIO/ParallelIO/netcdf key: netcdf-${{ runner.os }}-${{ env.NETCDF_C_VERSION }}-${{ env.NETCDF_FORTRAN_VERSION }}-openmpi-${{ env.OPENMPI_VERSION }}-hdf5-${{ env.HDF5_VERSION }} @@ -73,7 +73,7 @@ jobs: # - name: Setup tmate session # if: ${{ failure() }} -# uses: mxschmitt/action-tmate@v3 +# uses: mxschmitt/action-tmate@v4 - name: Build NetCDF Fortran if: steps.cache-netcdf.outputs.cache-hit != 'true' @@ -85,7 +85,7 @@ jobs: # - name: cache-pnetcdf # id: cache-pnetcdf - # uses: actions/cache@v3 + # uses: actions/cache@v4 # with: # path: ~/pnetcdf # key: pnetcdf-${{ runner.os }}-${{ env.PNETCDF_VERSION }}-openmpi-${{ env.OPENMPI_VERSION_MAJOR }}.${{ env.OPENMPI_VERSION_PATCH }} diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/strict_autotools_ubuntu_latest.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/strict_autotools_ubuntu_latest.yml index 952348a5fb..0fe740d542 100644 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/strict_autotools_ubuntu_latest.yml +++ b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/strict_autotools_ubuntu_latest.yml @@ -20,7 +20,7 @@ jobs: FCFLAGS: "-fallow-argument-mismatch -Wall" PNETCDF_VERSION: checkpoint.1.12.3 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Installs run: | set -x @@ -29,7 +29,7 @@ jobs: - name: cache-pnetcdf id: cache-pnetcdf - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/work/ParallelIO/ParallelIO/pnetcdf key: pnetcdf-${{ runner.os }}-${{ env.PNETCDF_VERSION }}-openmpi diff --git a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/withspack.yml b/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/withspack.yml deleted file mode 100644 index 998d61ea01..0000000000 --- a/src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/withspack.yml +++ /dev/null @@ -1,77 +0,0 @@ -name: Build with Spack -# Tests ParallelIO using spack tools -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Installs - run: | - set -x - sudo apt-get update - sudo apt-get install wget - sudo apt-get install libjpeg-dev - sudo apt-get install libz-dev - sudo apt-get install gfortran - - - name: Get latest spack release tag - run: | - export SPACK_LATEST="$(curl -sL https://github.com/spack/spack/releases/latest |grep '