Skip to content

Commit

Permalink
adding easyconfigs: HDF5-1.14.3-gompi-2023b.eb, HDF5-1.14.3-iimpi-202…
Browse files Browse the repository at this point in the history
…3b.eb, Szip-2.1.1-GCCcore-13.2.0.eb
  • Loading branch information
SimonPinches committed Dec 31, 2023
1 parent d0e5856 commit 2ef7344
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
26 changes: 26 additions & 0 deletions easybuild/easyconfigs/h/HDF5/HDF5-1.14.3-gompi-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name = 'HDF5'
# Note: Odd minor releases are only RCs and should not be used.
version = '1.14.3'

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': '2023b'}
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 = ['09cdb287aa7a89148c1638dd20891fdbae08102cf433ef128fd345338aa237c7']

# replace src include path with installation dir for $H5BLD_CPPFLAGS
_regex = 's, -I[^[:space:]]+H5FDsubfiling , -I%(installdir)s/include ,g'
postinstallcmds = ['sed -i -r "%s" %%(installdir)s/bin/%s' % (_regex, x) for x in ['h5c++', 'h5pcc']]

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

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

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': '2023b'}
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 = ['09cdb287aa7a89148c1638dd20891fdbae08102cf433ef128fd345338aa237c7']

# replace src include path with installation dir for $H5BLD_CPPFLAGS
_regex = 's, -I[^[:space:]]+H5FDsubfiling , -I%(installdir)s/include ,g'
postinstallcmds = ['sed -i -r "%s" %%(installdir)s/bin/%s' % (_regex, x) for x in ['h5c++', 'h5pcc']]

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

moduleclass = 'data'
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/s/Szip/Szip-2.1.1-GCCcore-13.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': '13.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.40'),
]

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'

0 comments on commit 2ef7344

Please sign in to comment.