Skip to content

[h5py] [package list]

h5py/3.11.0-cpeGNU-24.03 (h5py-3.11.0-cpeGNU-24.03.eb)

Install with the EasyBuild-user module:

eb h5py-3.11.0-cpeGNU-24.03.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider h5py/3.11.0-cpeGNU-24.03.

EasyConfig:

easyblock = 'PythonPackage'

name = 'h5py'
version = '3.11.0'

homepage = 'http://www.h5py.org/'

whatis = [
    'Description: the h5py package is a Pythonic interface to the HDF5 binary' 
    'data format.'
]

description = """
 The h5py package provides both a high- and low-level interface to the HDF5
 library from Python. The low-level interface is intended to be a complete
 wrapping of the HDF5 API, while the high-level component supports access to HDF5
 files, datasets and groups using established Python and NumPy concepts.

 A strong emphasis on automatic conversion between Python (Numpy) datatypes and
 data structures and their HDF5 equivalents vastly simplifies the process of
 reading and writing data from Python.
"""

docurls = ['https://docs.h5py.org/en/3.11.0/']
software_license_urls = ['https://github.com/h5py/h5py/blob/master/LICENSE']

toolchain = {'name': 'cpeGNU', 'version': '24.03'}

sources = [SOURCE_TAR_GZ]
checksums = ['7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9']

builddependencies = [
    ('buildtools-python', '%(toolchain_version)s', '-cray-python%(pyshortver)s', True),
    ('craype-accel-host', EXTERNAL_MODULE),
]

dependencies = [
    ('cray-python', EXTERNAL_MODULE),
    ('cray-hdf5',   EXTERNAL_MODULE),
]

use_pip = True
prebuildopts = preinstallopts = 'module rm rocm && H5PY_SETUP_REQUIRES=0 '

# sanity checks (import h5py) fails on login nodes (MPI not available)
options = {'modulename': 'os'}

sanity_check_paths = {
    'files': [],
    'dirs': ['lib/python%(pyshortver)s/site-packages/%(name)s']
}

moduleclass = 'data'

[h5py] [package list]