SciPy-bundle-2021.05-intel-2021.02.eb 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. easyblock = 'PythonBundle'
  2. name = 'SciPy-bundle'
  3. version = '2021.05'
  4. homepage = 'https://python.org/'
  5. description = "Bundle of Python packages for scientific software"
  6. toolchain = {'name': 'intel', 'version': '2021a'}
  7. toolchainopts = {'pic': True, 'lowopt': True}
  8. builddependencies = [('hypothesis', '6.13.1')]
  9. dependencies = [
  10. ('Python', '3.9.5'),
  11. ('pybind11', '2.6.2'), # required by scipy
  12. ]
  13. use_pip = True
  14. # order is important!
  15. exts_list = [
  16. ('numpy', '1.20.3', {
  17. 'sources': [SOURCE_ZIP],
  18. 'patches': [
  19. 'numpy-1.20.3-mkl.patch',
  20. 'numpy-1.20.3_skip-ppc-long-complex-test.patch',
  21. 'numpy-1.20.3_xfail-test-nan.patch',
  22. 'numpy-1.20.3_fix-target-test-ccompiler-opt.patch',
  23. ],
  24. 'checksums': [
  25. 'e55185e51b18d788e49fe8305fd73ef4470596b33fc2c1ceb304566b99c71a69', # numpy-1.20.3.zip
  26. '3b00d5d48f160d793838c2685a992c621ff58df27edfd57c4831850e16fd5adc',
  27. # numpy-1.20.3_skip-ppc-long-complex-test.patch
  28. '2f9a12e3a352b39076db84a7622fc8f4796abd3cb7f97f71958a495e864659a4',
  29. 'f0ce961f7d79551598e23050d92f46e827e300f6a7e5a6112e58efcc10385d4d', # numpy-1.20.3_xfail-test-nan.patch
  30. # numpy-1.20.3_fix-target-test-ccompiler-opt.patch
  31. '3d84e8b7d48387778974a5f6ae342a690ab5989547206b6add9d9667f8d7572a',
  32. ],
  33. 'prebuildopts': 'export CFLAGS="-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -ftree-vectorize -fno-math-errno -fPIC -O1 -ftz -fp-speculation=safe -fp-model source -fPIC" && ',
  34. }),
  35. ('scipy', '1.6.3', {
  36. 'checksums': ['a75b014d3294fce26852a9d04ea27b5671d86736beb34acdfc05859246260707'],
  37. }),
  38. ('mpi4py', '3.0.3', {
  39. 'checksums': ['012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f'],
  40. }),
  41. ('numexpr', '2.7.3', {
  42. 'checksums': ['43616529f9b7d1afc83386f943dc66c4da5e052f00217ba7e3ad8dd1b5f3a825'],
  43. }),
  44. ('Bottleneck', '1.3.2', {
  45. 'checksums': ['20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573'],
  46. }),
  47. ('pandas', '1.2.4', {
  48. 'preinstallopts': """sed -i 's@extra_compile_args = \["-Werror"\]@extra_compile_args = []@g' setup.py && """,
  49. 'checksums': ['649ecab692fade3cbfcf967ff936496b0cfba0af00a55dfaacd82bdda5cb2279'],
  50. }),
  51. ('mpmath', '1.2.1', {
  52. 'checksums': ['79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a'],
  53. }),
  54. ('deap', '1.3.1', {
  55. 'checksums': ['11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f'],
  56. }),
  57. ]
  58. sanity_pip_check = True
  59. moduleclass = 'lang'