File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ NETCDF_C_VERSION="4.7.4"
2323DEPENDS_ON=" hdf5-parallel/1.10.6 pnetcdf/1.12.2"
2424
2525NETCDF_C_ARCHIVE=" netcdf-c-${NETCDF_C_VERSION} .tar.gz"
26- NETCDF_C_URL=" https://www.unidata.ucar.edu/downloads /netcdf/ftp/ ${NETCDF_C_ARCHIVE }"
26+ NETCDF_C_URL=" https://codeload.github.com/Unidata /netcdf-c/tar.gz/refs/tags/v ${NETCDF_C_VERSION }"
2727
2828ENVIRONMENT=" intel/2021.3.0;intel/2021.3.0 gcc/10.2.0;openmpi/4.1.0"
2929
9494 # Retrieve archive
9595 if [ ! -f ${NETCDF_C_ARCHIVE} ]; then
9696 echo " Download archive"
97- curl -O ${NETCDF_C_URL}
97+ curl -o ${NETCDF_C_ARCHIVE} ${NETCDF_C_URL}
9898 fi
9999
100100 # Check if archive already exist untar
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ NETCDF_FORTRAN_VERSION="4.5.3"
2323DEPENDS_ON=" hdf5-parallel/1.10.6 netcdf-c/4.7.4"
2424
2525NETCDF_FORTRAN_ARCHIVE=" netcdf-fortran-${NETCDF_FORTRAN_VERSION} .tar.gz"
26- NETCDF_FORTRAN_URL=" https://www.unidata.ucar.edu/downloads /netcdf/ftp/ ${NETCDF_FORTRAN_ARCHIVE }"
26+ NETCDF_FORTRAN_URL=" https://codeload.github.com/Unidata /netcdf-fortran/tar.gz/refs/tags/v ${NETCDF_FORTRAN_VERSION }"
2727
2828ENVIRONMENT=" intel/2021.3.0;intel/2021.3.0 gcc/10.2.0;openmpi/4.1.0"
2929
9494 # Retrieve archive
9595 if [ ! -f ${NETCDF_FORTRAN_ARCHIVE} ]; then
9696 echo " Download archive"
97- curl -O ${NETCDF_FORTRAN_URL}
97+ curl -o ${NETCDF_FORTRAN_ARCHIVE} ${NETCDF_FORTRAN_URL}
9898 fi
9999
100100 # Check if archive already exist untar
You can’t perform that action at this time.
0 commit comments