mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-16 19:50:50 +01:00

new file: a/ASE/ASE-3.15.0-Python-2.7.13-base-test.eb new file: a/ASE/ASE-3.15.0-Python-3.6.4-base-test.eb new file: b/Bash/Bash-4.4-GCC-6.3.0-2.27.eb new file: b/Bash/Bash-4.4-intel-2017b.eb new file: b/Boost/Boost-1.66.0-foss-2018a-Py-2.7.eb new file: f/foss/foss-2018a.eb new file: n/numpy/numpy-1.14.1-Py-3.6.eb new file: n/numpy/numpy-1.14.1-mkl.patch new file: o/OpenMPI/OpenMPI-3.0.0-GCC-6.3.0-2.27.eb new file: s/SQLite/SQLite-3.21.0.eb
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# IT4Innovations 2018
|
|
|
|
easyblock = 'PythonPackage'
|
|
|
|
name = 'numpy'
|
|
version = '1.14.1'
|
|
|
|
homepage = 'http://www.numpy.org'
|
|
description = """NumPy is the fundamental package needed for scientific computing with Python."""
|
|
|
|
toolchain = {'name': 'Py', 'version': '3.6'}
|
|
|
|
source_urls = ['https://github.com/numpy/numpy/releases/download/v%(version)s']
|
|
sources = ['%(name)s-%(version)s.tar.gz']
|
|
|
|
patches = [
|
|
'numpy-1.12.0-mkl.patch',
|
|
# 'numpy-1.14.1-mkl.patch'
|
|
]
|
|
|
|
builddependencies = [
|
|
# ('mkl', '2017.4.239', '', True),
|
|
('intel', '2017a', '', True),
|
|
]
|
|
|
|
#prebuildopts = 'mv site.cfg.example site.cfg && export MKL_THREADING_LAYER=GNU && ' # ' export CFLAGS="-fopenmp -m64 -mtune=native -O3 -Wl,--no-as-needed" && export CXXFLAGS="-fopenmp -m64 -mtune=native -O3 -Wl,--no-as-needed" && export LDFLAGS="-ldl -lm" && export FFLAGS="-fopenmp -m64 -mtune=native -O3" && '
|
|
|
|
sanity_check_paths = {
|
|
'files': [],
|
|
'dirs': ['lib/python3.6/site-packages/numpy-%(version)s-py3.6-linux-x86_64.egg/numpy'],
|
|
}
|
|
|
|
sanity_check_commands = [('python', '-c "import numpy; assert(numpy.__version__ == \'%(version)s\')"')]
|
|
|
|
moduleclass = 'python'
|