# IT4Innovations 2018 easyblock = 'PythonPackage' name = 'scipy' version = '1.0.0' versionsuffix = '-Py-3.6-test' homepage = 'http://scipy.org' description = """SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering. It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and image processing, ODE solvers, and more.""" toolchain = {'name': 'dummy', 'version': ''} source_urls = ['https://github.com/scipy/scipy/releases/download/v%(version)s'] sources = [SOURCELOWER_TAR_GZ] dependencies = [ ('Py', '3.6'), ('numpy', '1.13.3', '-Py-3.6-test'), ] builddependencies = [ ('imkl', '2017.1.132', '', ('iimpi', '2017a')), ] prebuildopts = 'echo "[mkl]" > site.cfg && ' prebuildopts += 'echo "include_dirs = $EBROOTIMKL/mkl/include" >> site.cfg && ' prebuildopts += 'echo "library_dirs = $EBROOTIMKL/mkl/lib/intel64" >> site.cfg && ' prebuildopts += 'echo "mkl_libs = mkl_intel_lp64,mkl_intel_thread,mkl_core" >> site.cfg && ' prebuildopts += 'echo "lapack_libs = mkl_lapack95_lp64" >> site.cfg && ' sanity_check_paths = { 'files': [], 'dirs': ['lib/python3.6/site-packages/scipy-1.0.0-py3.6-linux-x86_64.egg/scipy'], } sanity_check_commands = [('python', '-c "import scipy; assert(scipy.__version__ == \'%(version)s\')"')] moduleclass = 'python'