Skip to content
Snippets Groups Projects
Commit a5266cc9 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

adding easyconfigs: cppy-1.1.0-GCCcore-11.2.0.eb gcccoremkl-11.2.0-2021.4.0.eb...

adding easyconfigs: cppy-1.1.0-GCCcore-11.2.0.eb gcccoremkl-11.2.0-2021.4.0.eb matplotlib-3.4.3-gcccoremkl-11.2.0-2021.4.0.eb Pillow-8.3.1-GCCcore-11.2.0.eb SciPy-Stack-2022-gcccoremkl-11.2.0-2021.4.0.eb SciPy-bundle-2021.10-gcccoremkl-11.2.0-2021.4.0.eb Tkinter-3.9.6-GCCcore-11.2.0.eb xarray-0.20.1-gcccoremkl-11.2.0-2021.4.0.eb
parent eb975a9d
No related branches found
No related tags found
No related merge requests found
easyblock = 'PythonPackage'
name = 'cppy'
version = '1.1.0'
homepage = "https://github.com/nucleic/cppy"
description = """A small C++ header library which makes it easier to write
Python extension modules. The primary feature is a PyObject smart pointer
which automatically handles reference counting and provides convenience
methods for performing common object operations."""
toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
builddependencies = [('binutils', '2.37')]
dependencies = [
('Python', '3.9.6'),
]
source_urls = ['https://github.com/nucleic/cppy/archive/refs/tags/']
sources = ['%(version)s.tar.gz']
checksums = ['40a9672df1ec2d7f0b54f70e574101f42131c0f5e47980769f68085e728a4934']
download_dep_fail = True
sanity_pip_check = True
use_pip = True
moduleclass = 'tools'
easyblock = "Toolchain"
local_mklver = '2021.4.0'
local_comp_version = '11.2.0'
name = 'gcccoremkl'
version = '%s-%s' % (local_comp_version, local_mklver)
homepage = '(none)'
description = """GCCcore compiler toolchain with MKL"""
toolchain = SYSTEM
local_comp_name = 'GCCcore'
local_comp = (local_comp_name, local_comp_version)
# compiler toolchain dependencies
dependencies = [
local_comp,
('binutils', '2.37', '', local_comp),
('imkl', local_mklver, '', SYSTEM),
]
hiddendependencies = [('imkl', local_mklver, '', SYSTEM)]
moduleclass = 'toolchain'
easyblock = 'PythonBundle'
name = 'matplotlib'
version = '3.4.3'
homepage = 'https://matplotlib.org'
description = """matplotlib is a python 2D plotting library which produces publication quality figures in a variety of
hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python
and ipython shell, web application servers, and six graphical user interface toolkits."""
toolchain = {'name': 'gcccoremkl', 'version': '11.2.0-2021.4.0'}
builddependencies = [
('pkg-config', '0.29.2'),
('cppy', '1.1.0')
]
dependencies = [
('Python', '3.9.6'),
('SciPy-bundle', '2021.10'),
('libpng', '1.6.37'),
('freetype', '2.11.0'),
('Tkinter', '%(pyver)s'),
('Pillow', '8.3.1'),
('Qhull', '2020.2')
]
use_pip = True
sanity_pip_check = True
# avoid that matplotlib downloads and builds its own copies of freetype and qhull
_fix_setup = "sed -e 's/#system_freetype = False/system_freetype = True/g' "
_fix_setup += "-e 's/#system_qhull = False/system_qhull = True/g' setup.cfg.template >setup.cfg && "
_include_path = "export CPLUS_INCLUDE_PATH=$EBROOTFREETYPE/include/freetype2:${CPLUS_INCLUDE_PATH} && "
exts_list = [
('Cycler', '0.11.0', {
'modulename': 'cycler',
'source_tmpl': 'cycler-%(version)s.tar.gz',
'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'],
'checksums': ['9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f'],
}),
('kiwisolver', '1.3.2', {
'source_urls': ['https://pypi.python.org/packages/source/k/kiwisolver'],
'checksums': ['fc4453705b81d03568d5b808ad8f09c77c47534f6ac2e72e733f9ca4714aa75c'],
}),
(name, version, {
'preinstallopts': _fix_setup + _include_path,
'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'],
'checksums': ['fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318'],
}),
]
sanity_check_commands = [
"""python -c 'import matplotlib; matplotlib.use("Agg"); import matplotlib.pyplot' """,
"python -c 'from mpl_toolkits.mplot3d import Axes3D'",
]
# use non-interactive plotting backend as default
# see https://matplotlib.org/tutorials/introductory/usage.html#what-is-a-backend
modextravars = {'MPLBACKEND': 'Agg'}
moduleclass = 'vis'
easyblock = 'PythonPackage'
name = 'Pillow'
version = '8.3.1'
homepage = 'https://pillow.readthedocs.org/'
description = """Pillow is the 'friendly PIL fork' by Alex Clark and Contributors.
PIL is the Python Imaging Library by Fredrik Lundh and Contributors."""
toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
sources = [SOURCE_TAR_GZ]
checksums = ['2cac53839bfc5cece8fdbe7f084d5e3ee61e1303cccc86511d351adcb9e2c792']
builddependencies = [('binutils', '2.37')]
dependencies = [
('Python', '3.9.6'),
('libjpeg-turbo', '2.0.6'),
('libpng', '1.6.37'),
('zlib', '1.2.11'),
('LibTIFF', '4.3.0'),
('freetype', '2.11.0')
]
download_dep_fail = True
use_pip = True
sanity_pip_check = True
options = {'modulename': 'PIL'}
moduleclass = 'vis'
easyblock = 'Bundle'
name = 'SciPy-Stack'
version = '2022'
homepage = 'http://www.scipy.org'
description = """SciPy Stack is a collection of open source software for scientific computing in Python.
"""
toolchain = {'name': 'gcccoremkl', 'version': '11.2.0-2021.4.0'}
dependencies = [
('Python', '3.9.6'),
('SciPy-bundle', '2021.10'),
('matplotlib', '3.4.3'),
('xarray', '0.20.1'),
]
moduleclass = 'vis'
easyblock = 'PythonBundle'
name = 'SciPy-bundle'
version = '2021.10'
homepage = 'https://python.org/'
description = "Bundle of Python packages for scientific software"
toolchain = {'name': 'gcccoremkl', 'version': '11.2.0-2021.4.0'}
toolchainopts = {'pic': True, 'lowopt': True}
builddependencies = [
('hypothesis', '6.14.6'),
('UnZip', '6.0'),
]
dependencies = [
('Python', '3.9.6'),
('pybind11', '2.7.1'), # required by scipy
]
use_pip = True
# order is important!
exts_list = [
('numpy', '1.21.3', {
'sources': ['%(name)s-%(version)s.zip'],
'patches': [
'numpy-1.18.2-mkl.patch',
'numpy-1.20.3_disable-broken-override-test.patch',
'numpy-1.20.3_disable_fortran_callback_test.patch',
],
'checksums': [
'63571bb7897a584ca3249c86dd01c10bcb5fe4296e3568b2e9c1a55356b6410e', # numpy-1.21.3.zip
# numpy-1.18.2-mkl.patch
'ea25ad5c0148c1398d282f0424e642fb9815a1a80f4512659b018e2adc378bcf',
# numpy-1.20.3_disable-broken-override-test.patch
'43cc2e675c52db1776efcc6c84ebd5fc008b48e6355c81087420d5e790e4af9b',
# numpy-1.20.3_disable_fortran_callback_test.patch
'44975a944544fd0e771b7e63c32590d257a3713070f8f7fdf60105dc516f1d75',
],
}),
('ply', '3.11', {
'checksums': ['00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3'],
}),
('gast', '0.5.2', {
'checksums': ['f81fcefa8b982624a31c9e4ec7761325a88a0eba60d36d1da90e47f8fe3c67f7'],
}),
('beniget', '0.4.1', {
'checksums': ['75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c'],
}),
('pythran', '0.10.0', {
'checksums': ['9dac8e1d50f33d4676003e350b1f0c878ce113e6f907920e92dc103352cac5bf'],
}),
('scipy', '1.7.1', {
'checksums': ['6b47d5fa7ea651054362561a28b1ccc8da9368a39514c1bbf6c0977a1c376764'],
# compilation with Pythran enabled fails when using Intel compilers,
# see https://github.com/scipy/scipy/issues/14935
'prebuildopts': "export SCIPY_USE_PYTHRAN=0 && ",
'preinstallopts': "export SCIPY_USE_PYTHRAN=0 && ",
}),
('numexpr', '2.7.3', {
'checksums': ['43616529f9b7d1afc83386f943dc66c4da5e052f00217ba7e3ad8dd1b5f3a825'],
}),
('Bottleneck', '1.3.2', {
'checksums': ['20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573'],
}),
('pandas', '1.3.4', {
'preinstallopts': """sed -i 's@extra_compile_args = \["-Werror"\]@extra_compile_args = []@g' setup.py && """,
'checksums': ['a2aa18d3f0b7d538e21932f637fbfe8518d085238b429e4790a35e1e44a96ffc'],
}),
('mpmath', '1.2.1', {
'checksums': ['79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a'],
}),
('deap', '1.3.1', {
'checksums': ['11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f'],
}),
]
sanity_pip_check = True
moduleclass = 'lang'
name = 'Tkinter'
version = '3.9.6'
homepage = 'https://python.org/'
description = "Tkinter module, built with the Python buildsystem"
toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
toolchainopts = {'pic': True}
source_urls = ['https://www.python.org/ftp/python/%(version)s/']
sources = ['Python-%(version)s.tgz']
checksums = ['d0a35182e19e416fc8eae25a3dcd4d02d4997333e4ad1f2eee6010aadc3fe866']
builddependencies = [
('binutils', '2.37'),
('libffi', '3.4.2'),
]
dependencies = [
('Python', '3.9.6'),
('Tk', '8.6.11'),
('zlib', '1.2.11'),
]
moduleclass = 'lang'
easyblock = 'PythonPackage'
name = 'xarray'
version = '0.20.1'
homepage = 'https://github.com/pydata/xarray'
description = """xarray (formerly xray) is an open source project and Python package that aims to bring
the labeled data power of pandas to the physical sciences, by providing N-dimensional variants of the
core pandas data structures."""
toolchain = {'name': 'gcccoremkl', 'version': '11.2.0-2021.4.0'}
sources = [SOURCE_TAR_GZ]
checksums = ['9c0bffd8b55fdef277f8f6c817153eb51fa4e58653a7ad92eaed9984164b7bdb']
dependencies = [
('Python', '3.9.6'),
('SciPy-bundle', '2021.10'), # required for numpy, pandas
]
download_dep_fail = True
use_pip = True
sanity_pip_check = True
moduleclass = 'data'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment