Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{data}[gompi/2022b,iimpi/2022b] HDF5 v1.14.0, netCDF v4.9.0 #17107

Merged
merged 9 commits into from
Feb 28, 2023
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/h/HDF5/HDF5-1.14.0-gompi-2022b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = 'HDF5'
# Note: Odd minor releases are only RCs and should not be used.
version = '1.14.0'

homepage = 'https://portal.hdfgroup.org/display/support'
description = """HDF5 is a data model, library, and file format for storing and managing data.
It supports an unlimited variety of datatypes, and is designed for flexible
and efficient I/O and for high volume and complex data."""

toolchain = {'name': 'gompi', 'version': '2022b'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%(version_major_minor)s/hdf5-%(version)s/src']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['a571cc83efda62e1a51a0a912dd916d01895801c5025af91669484a1575a6ef4']

dependencies = [
('zlib', '1.2.12'),
('Szip', '2.1.1'),
]

moduleclass = 'data'
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/h/HDF5/HDF5-1.14.0-iimpi-2022b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = 'HDF5'
# Note: Odd minor releases are only RCs and should not be used.
version = '1.14.0'

homepage = 'https://portal.hdfgroup.org/display/support'
description = """HDF5 is a data model, library, and file format for storing and managing data.
It supports an unlimited variety of datatypes, and is designed for flexible
and efficient I/O and for high volume and complex data."""

toolchain = {'name': 'iimpi', 'version': '2022b'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%(version_major_minor)s/hdf5-%(version)s/src']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['a571cc83efda62e1a51a0a912dd916d01895801c5025af91669484a1575a6ef4']

dependencies = [
('zlib', '1.2.12'),
('Szip', '2.1.1'),
]

moduleclass = 'data'
61 changes: 61 additions & 0 deletions easybuild/easyconfigs/n/netCDF/netCDF-4.9.0-gompi-2022b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name = 'netCDF'
version = '4.9.0'

homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
description = """NetCDF (network Common Data Form) is a set of software libraries
and machine-independent data formats that support the creation, access, and sharing of array-oriented
scientific data."""

toolchain = {'name': 'gompi', 'version': '2022b'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
sources = ['v%(version)s.tar.gz']
patches = [
'netCDF-%(version)s_fix-lib-name.patch',
'netCDF-%(version)s_fix-linking-errors.patch',
'netCDF-%(version)s_skip-nasa-test.patch',
]
checksums = [
{'v4.9.0.tar.gz': '9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6'},
{'netCDF-4.9.0_fix-lib-name.patch': 'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a'},
{'netCDF-4.9.0_fix-linking-errors.patch': '2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15'},
{'netCDF-4.9.0_skip-nasa-test.patch': '19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a'},
]

builddependencies = [
('Autotools', '20220317'),
('CMake', '3.24.3'),
('Doxygen', '1.9.5'),
]

dependencies = [
('HDF5', '1.14.0'),
('cURL', '7.86.0'),
('Szip', '2.1.1'),
('zstd', '1.5.2'),
('bzip2', '1.0.8'),
('libxml2', '2.10.3'),
]

# disable Szip, zlib parallel I/O tests, since these can hang on some systems, e.g. generoso
# see: https://github.com/easybuilders/easybuild-easyconfigs/pull/16834
# and https://github.com/easybuilders/easybuild-easyconfigs/pull/17107#issuecomment-1432947172
preconfigopts = ("sed -i -e 's|@MPIEXEC@ -n 4 ./tst_parallel5|echo \"skipped by EasyBuild\"|g'"
" -e 's|@MPIEXEC@ -n 4 ./tst_parallel_zlib|echo \"skipped by EasyBuild\"|g'"
" -e 's|@MPIEXEC@ -n 4 ./tst_parallel_compress|echo \"skipped by EasyBuild\"|g'"
" %(builddir)s/%(namelower)s-c-%(version)s/nc_test4/run_par_test.sh.in &&")

# make sure both static and shared libs are built
# and disable "remote" tests that access a unreliable external test server over internet
configopts = [
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF",
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON",
]

# some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests
pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 "

runtest = 'test'

moduleclass = 'data'
61 changes: 61 additions & 0 deletions easybuild/easyconfigs/n/netCDF/netCDF-4.9.0-iimpi-2022b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name = 'netCDF'
version = '4.9.0'

homepage = 'https://www.unidata.ucar.edu/software/netcdf/'
description = """NetCDF (network Common Data Form) is a set of software libraries
and machine-independent data formats that support the creation, access, and sharing of array-oriented
scientific data."""

toolchain = {'name': 'iimpi', 'version': '2022b'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['https://github.com/Unidata/netcdf-c/archive/']
sources = ['v%(version)s.tar.gz']
patches = [
'netCDF-%(version)s_fix-lib-name.patch',
'netCDF-%(version)s_fix-linking-errors.patch',
'netCDF-%(version)s_skip-nasa-test.patch',
]
checksums = [
{'v4.9.0.tar.gz': '9f4cb864f3ab54adb75409984c6202323d2fc66c003e5308f3cdf224ed41c0a6'},
{'netCDF-4.9.0_fix-lib-name.patch': 'ed45ae6c49cf8dcddaadef4c5cf403049bf3f761187413d7b03754d319345d6a'},
{'netCDF-4.9.0_fix-linking-errors.patch': '2b9579c149579d137eb16ae5d790787774033dcec49c0d4993d9859f224e7b15'},
{'netCDF-4.9.0_skip-nasa-test.patch': '19d99e03c048b037dc01f03f5b8ddc910ebaceb076d0f050540d348f26dfcd2a'},
]

builddependencies = [
('Autotools', '20220317'),
('CMake', '3.24.3'),
('Doxygen', '1.9.5'),
]

dependencies = [
('HDF5', '1.14.0'),
('cURL', '7.86.0'),
('Szip', '2.1.1'),
('zstd', '1.5.2'),
('bzip2', '1.0.8'),
('libxml2', '2.10.3'),
]

# disable Szip, zlib parallel I/O tests, since these can hang on some systems, e.g. generoso
# see: https://github.com/easybuilders/easybuild-easyconfigs/pull/16834
# and https://github.com/easybuilders/easybuild-easyconfigs/pull/17107#issuecomment-1432947172
preconfigopts = ("sed -i -e 's|@MPIEXEC@ -n 4 ./tst_parallel5|echo \"skipped by EasyBuild\"|g'"
" -e 's|@MPIEXEC@ -n 4 ./tst_parallel_zlib|echo \"skipped by EasyBuild\"|g'"
" -e 's|@MPIEXEC@ -n 4 ./tst_parallel_compress|echo \"skipped by EasyBuild\"|g'"
" %(builddir)s/%(namelower)s-c-%(version)s/nc_test4/run_par_test.sh.in &&")

# make sure both static and shared libs are built
# and disable "remote" tests that access a unreliable external test server over internet
configopts = [
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=OFF",
"-DENABLE_DAP_REMOTE_TESTS=OFF -DBUILD_SHARED_LIBS=ON",
]

# some tests try to start 16 MPI ranks, so we need to allow oversubscription to avoid failing tests
pretestopts = "OMPI_MCA_rmaps_base_oversubscribe=1 "

runtest = 'test'

moduleclass = 'data'