Skip to content
Snippets Groups Projects
Commit 53c2b8b6 authored by Sebastian Lührs's avatar Sebastian Lührs
Browse files

add mpi4py and h5py for npsmpic toolchain

parent 5059f5a9
No related merge requests found
easyblock = "PythonPackage"
name = 'h5py'
version = '2.10.0'
versionsuffix = '-Python-%(pyver)s'
homepage = 'http://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.
"""
site_contacts = 's.luehrs@fz-juelich.de'
toolchain = {'name': 'npsmpic', 'version': '2020'}
toolchainopts = {'usempi': True}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
req_py_majver = 3
req_py_minver = 0
# to really use mpi enabled hdf5 we now seem to need a configure step
prebuildopts = 'export LDSHARED="$CC -shared" && export CFLAGS="-noswitcherror -D_NPY_NO_DEPRECATIONS" && '
prebuildopts += 'python setup.py configure --mpi --hdf5=$EBROOTHDF5 && '
builddependencies = [
('pkgconfig', '1.5.1', versionsuffix),
]
dependencies = [
('Python', '3.8.5'),
('SciPy-Stack', '2020', versionsuffix, ('gcccoremkl', '9.3.0-2020.2.254')), # numpy required
('mpi4py', '3.0.3', versionsuffix), # required for MPI support
('HDF5', '1.10.6'),
]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/'],
}
moduleclass = 'data'
easyblock = 'PythonPackage'
name = 'mpi4py'
version = '3.0.3'
homepage = 'https://bitbucket.org/mpi4py/mpi4py'
description = """MPI for Python (mpi4py) provides bindings of the Message Passing Interface (MPI) standard for
the Python programming language, allowing any Python program to exploit multiple processors.
"""
site_contacts = 'a.kreuzer@fz-juelich.de'
toolchain = {'name': 'npsmpic', 'version': '2020'}
source_urls = [BITBUCKET_DOWNLOADS]
sources = [SOURCE_TAR_GZ]
versionsuffix = '-Python-%(pyver)s'
dependencies = [('Python', '3.8.5')]
prebuildopts = 'CFLAGS=-noswitcherror'
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/mpi4py'],
}
moduleclass = 'mpi'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment