easyblock = 'PythonBundle' name = 'SciPy-bundle' version = '2021.10' homepage = 'https://python.org/' description = "Bundle of Python packages for scientific software" toolchain = {'name': 'OAMD', 'version': '2021a'} toolchainopts = {'pic': True, 'lowopt': True} builddependencies = [ ('hypothesis', '6.14.6', '', ('GCCcore', '10.2.0')), ('UnZip', '6.0', '', ('GCCcore', '10.2.0')), ] dependencies = [ ('Python', '3.8.6', '', ('GCCcore', '10.2.0')), ('pybind11', '2.7.1', '', ('GCCcore','10.2.0')), # required by scipy ] use_pip = True preconfigopts = [ 'export MKL_DEBUG_CPU_TYPE=5 && '] #exts_default_options = {'source_urls': [PYPI_SOURCE]} # order is important! exts_list = [ ('numpy', '1.21.3', { 'sources': ['%(name)s-%(version)s.zip'], 'patches': ['numpy-1.20.3_skip-ppc-long-complex-test.patch'], 'checksums': [ '63571bb7897a584ca3249c86dd01c10bcb5fe4296e3568b2e9c1a55356b6410e', # numpy-1.21.3.zip # numpy-1.20.3_skip-ppc-long-complex-test.patch '2f9a12e3a352b39076db84a7622fc8f4796abd3cb7f97f71958a495e864659a4', ], }), ('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'], }), ('mpi4py', '3.1.1', { 'checksums': ['e11f8587a3b93bb24c8526addec664b586b965d83c0882b884c14dc3fd6b9f5c'], }), ('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'