Bladeren bron

Fix intel 2020b

Pierre-Yves Barriat 4 jaren geleden
bovenliggende
commit
3f51c09c56

+ 2 - 2
intel-2020b/iccifort-2020.4.304.eb

@@ -35,7 +35,7 @@ components = [
 
 dontcreateinstalldir = True
 
-#license_file = HOME + '/licenses/intel/license.lic'
-license_file = '/opt/easybuild/configs/utils/license_intel_all.lic'
+license_file = '/opt/easybuild/configs/utils/license_intel_tmp.lic'
+#license_file = '/opt/easybuild/configs/utils/license_intel_all.lic'
 
 moduleclass = 'compiler'

+ 19 - 0
intel-2020b/iimpi-2020b.eb

@@ -0,0 +1,19 @@
+# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild
+easyblock = 'Toolchain'
+
+name = 'iimpi'
+version = '2020b'
+
+homepage = 'https://software.intel.com/parallel-studio-xe'
+description = """Intel C/C++ and Fortran compilers, alongside Intel MPI."""
+
+toolchain = SYSTEM
+
+local_compver = '2020.4.304'
+dependencies = [
+    ('iccifort', local_compver),
+    ('impi', '2019.9.304', '', ('iccifort', local_compver)),
+]
+
+moduleclass = 'toolchain'
+

+ 39 - 0
intel-2020b/imkl-2020.4.304-iimpi-2020b.eb

@@ -0,0 +1,39 @@
+# 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'

+ 39 - 0
intel-2020b/impi-2019.9.304-iccifort-2020.4.304.eb

@@ -0,0 +1,39 @@
+# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild
+
+name = 'impi'
+version = '2019.9.304'
+
+homepage = 'https://software.intel.com/en-us/intel-mpi-library/'
+description = "Intel MPI Library, compatible with MPICH ABI"
+
+toolchain = {'name': 'iccifort', 'version': '2020.4.304'}
+
+source_urls = ['https://registrationcenter-download.intel.com/akdlm/irc_nas/tec/17263/']
+sources = ['l_mpi_%(version)s.tgz']
+checksums = ['618a5dc2de54306645e6428c5eb7d267b54b11b5a83dfbcad7d0f9e0d90bb2e7']
+
+dependencies = [
+    # needed by libfabric provider MLX introduced in Intel MPI v2019.6,
+    # https://software.intel.com/en-us/articles/improve-performance-and-stability-with-intel-mpi-library-on-infiniband
+    ('UCX', '1.9.0'),
+]
+
+dontcreateinstalldir = True
+
+components = ['intel-mpi', 'intel-psxe', 'intel-imb']
+
+# set up all the mpi commands to default to intel compilers
+# set_mpi_wrappers_all = True
+
+modextravars = {
+    # to enable SLURM integration with srun (site-specific)
+    # 'I_MPI_PMI_LIBRARY': 'libpmi2.so',
+}
+
+# may be needed if you enable I_MPI_PMI_LIBRARY above
+# osdependencies = [('slurm-libpmi')]
+
+skipsteps = ['sanitycheck']
+
+moduleclass = 'mpi'
+

+ 21 - 0
intel-2020b/intel-2020b.eb

@@ -0,0 +1,21 @@
+easyblock = 'Toolchain'
+
+name = 'intel'
+version = '2020b'
+
+homepage = 'https://easybuild.readthedocs.io/en/master/Common-toolchains.html#intel-toolchain'
+description = "Compiler toolchain including Intel compilers, Intel MPI and Intel Math Kernel Library (MKL)."
+
+toolchain = SYSTEM
+
+local_compver = '2020.4.304'
+local_gccver = '10.2.0'
+dependencies = [
+    ('GCCcore', local_gccver),
+    ('binutils', '2.35', '', ('GCCcore', local_gccver)),
+    ('iccifort', local_compver),
+    ('impi', '2019.9.304', '', ('iccifort', local_compver)),
+    ('imkl', local_compver, '', ('iimpi', version)),
+]
+
+moduleclass = 'toolchain'