SciPy-bundle-2021.09-intel-2021.03.eb 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. easyblock = 'PythonBundle'
  2. name = 'SciPy-bundle'
  3. version = '2021.09'
  4. homepage = 'https://python.org/'
  5. description = "Bundle of Python packages for scientific software"
  6. toolchain = {'name': 'intel', 'version': '2021.03'}
  7. #toolchainopts = {'pic': True, 'lowopt': True}
  8. toolchainopts = {'pic': True, 'optarch': 'mavx2'}
  9. builddependencies = [('hypothesis', '6.14.6')]
  10. dependencies = [
  11. ('Python', '3.9.6'),
  12. ('pybind11', '2.7.1'), # required by scipy
  13. ]
  14. use_pip = True
  15. # order is important!
  16. exts_list = [
  17. ('numpy', '1.21.2', {
  18. 'sources': [SOURCE_ZIP],
  19. 'patches': [
  20. 'numpy-1.21.2-mkl.patch',
  21. ],
  22. #'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" && ',
  23. }),
  24. ('scipy', '1.7.1'),
  25. ('mpi4py', '3.0.3', {
  26. 'checksums': ['012d716c8b9ed1e513fcc4b18e5af16a8791f51e6d1716baccf988ad355c5a1f'],
  27. }),
  28. ('numexpr', '2.7.3', {
  29. 'checksums': ['43616529f9b7d1afc83386f943dc66c4da5e052f00217ba7e3ad8dd1b5f3a825'],
  30. }),
  31. ('Bottleneck', '1.3.2', {
  32. 'checksums': ['20179f0b66359792ea283b69aa16366419132f3b6cf3adadc0c48e2e8118e573'],
  33. }),
  34. ('pandas', '1.2.4', {
  35. 'preinstallopts': """sed -i 's@extra_compile_args = \["-Werror"\]@extra_compile_args = []@g' setup.py && """,
  36. 'checksums': ['649ecab692fade3cbfcf967ff936496b0cfba0af00a55dfaacd82bdda5cb2279'],
  37. }),
  38. ('mpmath', '1.2.1', {
  39. 'checksums': ['79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a'],
  40. }),
  41. ('deap', '1.3.1', {
  42. 'checksums': ['11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f'],
  43. }),
  44. ]
  45. sanity_pip_check = True
  46. moduleclass = 'lang'