diff --git a/.github/workflows/run_tests_linux.yml b/.github/workflows/run_tests_linux.yml index e56e9e3a..179f38de 100644 --- a/.github/workflows/run_tests_linux.yml +++ b/.github/workflows/run_tests_linux.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.9.3 ] steps: @@ -75,7 +75,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.9.3 ] steps: @@ -101,7 +101,7 @@ jobs: uses: actions/cache@v4 with: path: ~/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }} - key: hdf5-${{ runner.os }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-par + key: hdf5-nc-${{ runner.os }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-par - name: Build libhdf5-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-par @@ -134,7 +134,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.9.3 ] steps: @@ -231,7 +231,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.9.3 ] steps: @@ -261,7 +261,7 @@ jobs: uses: actions/cache@v4 with: path: ~/environments/${{ matrix.hdf5 }}-${{ matrix.netcdf }} - key: hdf5-${{ runner.os }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-par + key: hdf5-nc-${{ runner.os }}-${{ matrix.hdf5 }}-${{ matrix.netcdf }}-par - name: Check Cache shell: bash -l {0} @@ -314,9 +314,16 @@ jobs: - name: Run Tests shell: bash -l {0} - run: CC=${CC} CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make check -j + run: CC=${CC} CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make check -j 4 if: ${{ success() }} + - name: View Failure Logs + shell: bash -l {0} + run: | + echo -e "\n\n\to NPROC: $(nproc)\n\n" + find . -name "test-suite.log" -exec cat {} \; + if: ${{ failure() }} + #- name: Make Distcheck # shell: bash -l {0} # run: CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} LD_LIBRARY_PATH=${LD_LIBRARY_PATH} make distcheck -j @@ -329,7 +336,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.9.3 ] steps: diff --git a/.github/workflows/run_tests_macos.yml b/.github/workflows/run_tests_macos.yml index 81a5cb63..c8f1608f 100644 --- a/.github/workflows/run_tests_macos.yml +++ b/.github/workflows/run_tests_macos.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.9.0, main ] + netcdf: [ v4.9.3-prep.wif, main ] steps: @@ -79,7 +79,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.9.0, main ] + netcdf: [ v4.9.3-prep.wif, main ] steps: @@ -165,7 +165,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.9.0, main ] + netcdf: [ v4.9.3-prep.wif, main ] steps: diff --git a/README.md b/README.md index 3b26bd32..eacde2ee 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ The netCDF Fortran libraries contain both F77 and F90 APIs. For documentation se * https://docs.unidata.ucar.edu/netcdf-fortran/current/ +Requirements +------------- +* NetCDF-C v4.9.3+ + Getting NetCDF -------------- diff --git a/nf_test4/ftst_vars.F b/nf_test4/ftst_vars.F index f8d6aa25..993f6da4 100644 --- a/nf_test4/ftst_vars.F +++ b/nf_test4/ftst_vars.F @@ -38,7 +38,7 @@ program ftst_vars integer DEFAULT_CACHE_SIZE, DEFAULT_CACHE_NELEMS_OLD integer DEFAULT_CACHE_NELEMS_NEW integer DEFAULT_CACHE_PREEMPTION - parameter (DEFAULT_CACHE_SIZE = 16777216) + parameter (DEFAULT_CACHE_SIZE = 67108864) parameter (DEFAULT_CACHE_NELEMS_OLD = 4133) parameter (DEFAULT_CACHE_NELEMS_NEW = 1000) parameter (DEFAULT_CACHE_PREEMPTION = 75)