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/2022.10] netCDF-Fortran v4.6.0, netCDF v4.9.0, HDF5 v1.12.2, Szip v2.1.1 #16834

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/h/HDF5/HDF5-1.12.2-gompi-2022.10.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.12.2'

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': '2022.10'}
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 = ['2a89af03d56ce7502dcae18232c241281ad1773561ec00c0f0e8ee2463910f14']

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

moduleclass = 'data'
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name = 'netCDF-Fortran'
version = '4.6.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': '2022.10'}
toolchainopts = {'pic': True, 'usempi': True}

source_urls = ['https://github.com/Unidata/netcdf-fortran/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['8194aa70e400c0adfc456127c1d97af2c6489207171d13b10cd754a16da8b0ca']

builddependencies = [
('M4', '1.4.19'),
]

dependencies = [
('netCDF', '4.9.0'),
('bzip2', '1.0.8'),
]

# (too) parallel build fails, but single-core build is fairly quick anyway (~1min)
parallel = 1

moduleclass = 'data'
53 changes: 53 additions & 0 deletions easybuild/easyconfigs/n/netCDF/netCDF-4.9.0-gompi-2022.10.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
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': '2022.10'}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: version should be updated to 2022b once #16961 is merged

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-timeout-tests.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-timeout-tests.patch': '06c29480c6a3c351c7d79c3bb972e3fdc017af6a5c93690b4d21aba23311d2d5'},
]

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

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

# 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'
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
skip tests that take an excessive amount of time on some types of filesystems,
triggering a timeout for nc_test4_run_par_test
author: Kenneth Hoste (HPC-UGent)
diff -ru netcdf-c-4.9.0.orig/nc_test4/run_par_test.sh.in netcdf-c-4.9.0/nc_test4/run_par_test.sh.in
--- netcdf-c-4.9.0.orig/nc_test4/run_par_test.sh.in 2022-06-10 23:04:15.000000000 +0200
+++ netcdf-c-4.9.0/nc_test4/run_par_test.sh.in 2022-12-21 09:21:33.329871966 +0100
@@ -33,13 +33,14 @@
#@MPIEXEC@ -n 16 ./tst_parallel4
#@MPIEXEC@ -n 32 ./tst_parallel4
#@MPIEXEC@ -n 64 ./tst_parallel4
-echo
-echo "Testing collective writes with some 0 element writes..."
-@MPIEXEC@ -n 4 ./tst_parallel5

-echo
-echo "Parallel Performance Test for NASA"
-@MPIEXEC@ -n 4 ./tst_nc4perf
+# disable tests that take a very long time on some types of filesystems
+#echo
+#echo "Testing collective writes with some 0 element writes..."
+#@MPIEXEC@ -n 4 ./tst_parallel5
+#echo
+#echo "Parallel Performance Test for NASA"
+#@MPIEXEC@ -n 4 ./tst_nc4perf

echo
echo "Parallel I/O test for Collective I/O, contributed by HDF Group."
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/s/Szip/Szip-2.1.1-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = 'ConfigureMake'

name = 'Szip'
version = '2.1.1'

homepage = 'https://www.hdfgroup.org/doc_resource/SZIP/'

description = """
Szip compression software, providing lossless compression of scientific data
"""

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}
toolchainopts = {'pic': True}

source_urls = ['https://www.hdfgroup.org/ftp/lib-external/szip/%(version)s/src']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['21ee958b4f2d4be2c9cabfa5e1a94877043609ce86fde5f286f105f7ff84d412']

builddependencies = [
('binutils', '2.39'),
]

sanity_check_paths = {
'files': ["lib/libsz.a", "lib/libsz.%s" % SHLIB_EXT] +
["include/%s" % x for x in ["ricehdf.h", "szip_adpt.h", "szlib.h"]],
'dirs': [],
}

moduleclass = 'tools'