# IT4Innovations 2018 easyblock = 'PythonPackage' name = 'numpy' version = '1.14.1' versionsuffix = '-mkl' 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' ] dependencies = [ ('intel', '2017a', '', True), ] #builddependencies = [ # ('mkl', '2017.4.239', '', True), # ('intel', '2018a', '', 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'