Merge branch 'hdf5_netcdf' into 'master'
HDF5+NetCDF with openmpi 4.1.3 See merge request Pmodules/buildblocks!313
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://www.unidata.ucar.edu/downloads/$P/ftp/$P-$V.tar.gz"
|
||||
# pbuild::set_download_url "https://www.unidata.ucar.edu/downloads/$P/ftp/$P-$V.tar.gz"
|
||||
pbuild::set_download_url "https://github.com/Unidata/netcdf-c/archive/refs/tags/v${V_PKG}.tar.gz" "netcdf-${V_PKG}.tar.gz"
|
||||
|
||||
pbuild::pre_configure() {
|
||||
pbuild::add_configure_args "CXX=${MPICXX}"
|
||||
|
||||
2
HDF5/netcdf/files/variants.merlin6
Normal file
2
HDF5/netcdf/files/variants.merlin6
Normal file
@@ -0,0 +1,2 @@
|
||||
netcdf/4.8.1 unstable gcc/11.2.0 openmpi/4.1.3_slurm hdf5/1.13.1_slurm parallel-netcdf/1.12.3
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/$P-$V.tar.gz"
|
||||
# pbuild::set_download_url "http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/$P-$V.tar.gz"
|
||||
if (( V_MAJOR >= 1 && V_MINOR >= 11 )); then
|
||||
pbuild::set_download_url "https://parallel-netcdf.github.io/Release/pnetcdf-${V_PKG}.tar.gz"
|
||||
else
|
||||
pbuild::set_download_url "https://parallel-netcdf.github.io/Release/parallel-netcdf-${V_PKG}.tar.gz"
|
||||
fi
|
||||
|
||||
pbuild::add_to_group 'HDF5'
|
||||
|
||||
|
||||
1
HDF5/parallel-netcdf/files/variants.merlin6
Normal file
1
HDF5/parallel-netcdf/files/variants.merlin6
Normal file
@@ -0,0 +1 @@
|
||||
parallel-netcdf/1.12.3 unstable gcc/11.2.0 openmpi/4.1.3_slurm hdf5/1.13.1_slurm
|
||||
@@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::set_download_url "https://support.hdfgroup.org/ftp/HDF5/releases/$P-${V_MAJOR}.${V_MINOR}/$P-$V/src/hdf5-${V_PKG}.tar.bz2"
|
||||
pbuild::set_download_url "https://support.hdfgroup.org/ftp/HDF5/releases/$P-${V_MAJOR}.${V_MINOR}/$P-${V_PKG}/src/hdf5-${V_PKG}.tar.bz2"
|
||||
pbuild::add_to_group 'MPI'
|
||||
|
||||
pbuild::install_docfiles ACKNOWLEDGMENTS
|
||||
pbuild::install_docfiles COPYING
|
||||
pbuild::install_docfiles MANIFEST
|
||||
pbuild::install_docfiles README.txt
|
||||
pbuild::install_docfiles README.md
|
||||
|
||||
pbuild::pre_configure() {
|
||||
pbuild::add_configure_args "CC=${MPICC}"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
hdf5/1.10.6_slurm stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6_slurm
|
||||
hdf5/1.10.7_slurm stable gcc/10.3.0 openmpi/4.0.5-1_slurm
|
||||
|
||||
hdf5/1.10.6_slurm stable gcc/{7.5.0,8.4.0,9.3.0} openmpi/3.1.6_slurm
|
||||
hdf5/1.10.7_slurm stable gcc/10.3.0 openmpi/4.0.5-1_slurm
|
||||
hdf5/1.13.1_slurm unstable gcc/11.2.0 openmpi/4.1.3_slurm
|
||||
|
||||
Reference in New Issue
Block a user