# This is an easyconfig file for EasyBuild, see https://easybuilders.github.io/easybuild/ name = 'imkl' version = '2020.4.304' homepage = 'https://software.intel.com/mkl' description = """Intel Math Kernel Library is a library of highly optimized, extensively threaded math routines for science, engineering, and financial applications that require maximum performance. Core math functions include BLAS, LAPACK, ScaLAPACK, Sparse Solvers, Fast Fourier Transforms, Vector Math, and more.""" toolchain = {'name': 'iimpi', 'version': '2020b'} source_urls = ['https://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16917/'] sources = ['l_mkl_%(version)s.tgz'] checksums = ['2314d46536974dbd08f2a4e4f9e9a155dc7e79e2798c74e7ddfaad00a5917ea5'] dontcreateinstalldir = True components = ['intel-mkl'] license_file = HOME + '/licenses/intel/license.lic' interfaces = True postinstallcmds = [ # extract the examples 'tar xvzf %(installdir)s/mkl/examples/examples_cluster_c.tgz -C %(installdir)s/mkl/examples/', 'tar xvzf %(installdir)s/mkl/examples/examples_cluster_f.tgz -C %(installdir)s/mkl/examples/', 'tar xvzf %(installdir)s/mkl/examples/examples_core_c.tgz -C %(installdir)s/mkl/examples/', 'tar xvzf %(installdir)s/mkl/examples/examples_core_f.tgz -C %(installdir)s/mkl/examples/', 'tar xvzf %(installdir)s/mkl/examples/examples_f95.tgz -C %(installdir)s/mkl/examples/', ] modextravars = { 'MKL_EXAMPLES': '%(installdir)s/mkl/examples/', } moduleclass = 'numlib'