From a4ba6c87daea2d9f17d2524d171fbc34cc3f25b4 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Wed, 15 Dec 2021 17:13:21 +0100 Subject: [PATCH] adding easyconfigs: h5py-3.6.0-foss-2021b.eb, h5py-3.6.0-intel-2021b.eb --- .../h/h5py/h5py-3.6.0-foss-2021b.eb | 34 +++++++++++++++++++ .../h/h5py/h5py-3.6.0-intel-2021b.eb | 34 +++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 easybuild/easyconfigs/h/h5py/h5py-3.6.0-foss-2021b.eb create mode 100644 easybuild/easyconfigs/h/h5py/h5py-3.6.0-intel-2021b.eb diff --git a/easybuild/easyconfigs/h/h5py/h5py-3.6.0-foss-2021b.eb b/easybuild/easyconfigs/h/h5py/h5py-3.6.0-foss-2021b.eb new file mode 100644 index 000000000000..0240e4f1dd4f --- /dev/null +++ b/easybuild/easyconfigs/h/h5py/h5py-3.6.0-foss-2021b.eb @@ -0,0 +1,34 @@ +easyblock = 'PythonPackage' + +name = 'h5py' +version = '3.6.0' + +homepage = 'https://www.h5py.org/' +description = """HDF5 for Python (h5py) is a general-purpose Python interface to the Hierarchical Data Format library, + version 5. HDF5 is a versatile, mature scientific software library designed for the fast, flexible storage of enormous + amounts of data.""" + +toolchain = {'name': 'foss', 'version': '2021b'} +toolchainopts = {'usempi': True} + +sources = [SOURCE_TAR_GZ] +checksums = ['8752d2814a92aba4e2b2a5922d2782d0029102d99caaf3c201a566bc0b40db29'] + +builddependencies = [('pkgconfig', '1.5.5', '-python')] + +dependencies = [ + ('Python', '3.9.6'), + ('SciPy-bundle', '2021.10'), + ('HDF5', '1.12.1'), +] + +use_pip = True +sanity_pip_check = True +download_dep_fail = True + +# h5py's setup.py will disable setup_requires if H5PY_SETUP_REQUIRES is set to 0 +# without this environment variable, pip will fetch the minimum numpy version h5py supports during install, +# even though SciPy-bundle provides a newer version that satisfies h5py's install_requires dependency. +preinstallopts = 'HDF5_MPI=ON HDF5_DIR="$EBROOTHDF5" H5PY_SETUP_REQUIRES=0 ' + +moduleclass = 'data' diff --git a/easybuild/easyconfigs/h/h5py/h5py-3.6.0-intel-2021b.eb b/easybuild/easyconfigs/h/h5py/h5py-3.6.0-intel-2021b.eb new file mode 100644 index 000000000000..067d80892296 --- /dev/null +++ b/easybuild/easyconfigs/h/h5py/h5py-3.6.0-intel-2021b.eb @@ -0,0 +1,34 @@ +easyblock = 'PythonPackage' + +name = 'h5py' +version = '3.6.0' + +homepage = 'https://www.h5py.org/' +description = """HDF5 for Python (h5py) is a general-purpose Python interface to the Hierarchical Data Format library, + version 5. HDF5 is a versatile, mature scientific software library designed for the fast, flexible storage of enormous + amounts of data.""" + +toolchain = {'name': 'intel', 'version': '2021b'} +toolchainopts = {'usempi': True} + +sources = [SOURCE_TAR_GZ] +checksums = ['8752d2814a92aba4e2b2a5922d2782d0029102d99caaf3c201a566bc0b40db29'] + +builddependencies = [('pkgconfig', '1.5.5', '-python')] + +dependencies = [ + ('Python', '3.9.6'), + ('SciPy-bundle', '2021.10'), + ('HDF5', '1.12.1'), +] + +use_pip = True +sanity_pip_check = True +download_dep_fail = True + +# h5py's setup.py will disable setup_requires if H5PY_SETUP_REQUIRES is set to 0 +# without this environment variable, pip will fetch the minimum numpy version h5py supports during install, +# even though SciPy-bundle provides a newer version that satisfies h5py's install_requires dependency. +preinstallopts = 'HDF5_MPI=ON HDF5_DIR="$EBROOTHDF5" H5PY_SETUP_REQUIRES=0 ' + +moduleclass = 'data'