Merge branch 'it4i-salomon'

This commit is contained in:
Lukáš Krupčík 2019-07-30 08:47:35 +02:00
commit 031841e274
7 changed files with 236 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# IT4Innovations 2019
name = 'icc'
version = '2019.4.227'
homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "Intel C and C++ compilers"
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/14865/']
sources = ['parallel_studio_xe_%(version_major)s_update%(version_minor)s_composer_edition_for_cpp.tgz']
gccver = '8.3.0'
binutilsver = '2.32'
versionsuffix = '-GCC-%s-%s' % (gccver, binutilsver)
dependencies = [
('GCCcore', gccver),
('binutils', binutilsver, '', ('GCCcore', gccver)),
]
# list of regex for components to install
# full list of components can be obtained from pset/mediaconfig.xml in unpacked sources
# cfr. https://software.intel.com/en-us/articles/intel-composer-xe-2015-silent-installation-guide
components = ['intel-comp', 'intel-ccomp', 'intel-icc', 'intel-openmp', 'intel-ipsc?_', 'intel-gdb(?!.*mic)']
dontcreateinstalldir = 'True'
license_file = '/apps/licenses/intel/license.lic'
modextravars = {
'CC': 'icc',
'CXX': 'icpc',
'OPTFLAGS': '-O3 -xHost -ip',
'DEBUGFLAGS': '-O0 -g'
}
modluafooter = 'add_property("state","experimental")'
moduleclass = 'compiler'

View File

@ -0,0 +1,31 @@
# IT4Innovations 2019
easyblock = 'Toolchain'
name = 'iccifort'
version = '2019.4.227'
versionsuffix = '-GCC-8.3.0-2.32'
homepage = 'http://software.intel.com/en-us/intel-cluster-toolkit-compiler/'
description = "Intel C, C++ & Fortran compilers"
toolchain = {'name': 'dummy', 'version': ''}
dependencies = [
('icc', version, versionsuffix),
('ifort', version, versionsuffix),
]
modextravars = {
'CC': 'icc',
'CXX': 'icpc',
'F90': 'ifort',
'F77': 'ifort',
'FC': 'ifort',
'OPTFLAGS': '-O3 -xHost -ip',
'DEBUGFLAGS': '-O0 -g'
}
modluafooter = 'add_property("state","experimental")'
moduleclass = 'toolchain'

View File

@ -0,0 +1,43 @@
# IT4Innovations 2019
name = 'ifort'
version = '2019.4.227'
homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "Intel Fortran compiler"
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/14866/']
sources = ['parallel_studio_xe_%(version_major)s_update%(version_minor)s_composer_edition_for_fortran.tgz']
#patches = ['ifort-%(version)s_no_mpi_mic_dependency.patch']
gccver = '8.3.0'
binutilsver = '2.32'
versionsuffix = '-GCC-%s-%s' % (gccver, binutilsver)
dependencies = [
('GCCcore', gccver),
('binutils', binutilsver, '', ('GCCcore', gccver)),
]
# list of regex for components to install
# full list of components can be obtained from pset/mediaconfig.xml in unpacked sources
# cfr. https://software.intel.com/en-us/articles/intel-composer-xe-2015-silent-installation-guide
components = ['intel-comp', 'intel-fcomp', 'intel-ifort', 'intel-openmp', 'intel-ipsf?_', 'intel-gdb(?!.*mic)']
dontcreateinstalldir = 'True'
license_file = '/apps/licenses/intel/license.lic'
modextravars = {
'F90': 'ifort',
'F77': 'ifort',
'FC': 'ifort',
'OPTFLAGS': '-O3 -xHost -ip',
'DEBUGFLAGS': '-O0 -g'
}
modluafooter = 'add_property("state","experimental")'
moduleclass = 'compiler'

View File

@ -0,0 +1,24 @@
# IT4Innovations 2019
easyblock = "Toolchain"
name = 'iimpi'
version = '2019.03'
versionsuffix = '-GCC-8.3.0-2.32'
homepage = 'http://software.intel.com/en-us/intel-cluster-toolkit-compiler/'
description = """Intel C/C++ and Fortran compilers, alongside Intel MPI."""
toolchain = {'name': 'dummy', 'version': ''}
compver = '2019.4.227'
suff = '-GCC-8.3.0-2.32'
dependencies = [
('icc', compver, suff),
('ifort', compver, suff),
('impi', '2019.3.199', '', ('iccifort', '%s%s' % (compver, suff))),
]
modluafooter = 'add_property("state","experimental")'
moduleclass = 'toolchain'

View File

@ -0,0 +1,35 @@
# IT4Innovations 2019
name = 'imkl'
version = '2019.3.199'
homepage = 'http://software.intel.com/en-us/intel-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': '2019.03-GCC-8.3.0-2.32'}
sources = ['l_mkl_%(version)s.tgz']
dontcreateinstalldir = 'True'
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/',
}
modluafooter = 'add_property("state","experimental")'
moduleclass = 'numlib'

View File

@ -0,0 +1,33 @@
# IT4Innovations 2019
name = 'impi'
version = '2019.3.199'
homepage = 'http://software.intel.com/en-us/intel-mpi-library/'
description = "Intel MPI Library, compatible with MPICH ABI"
toolchain = {'name': 'iccifort', 'version': '2019.4.227-GCC-8.3.0-2.32'}
source_urls = ['http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/14879/']
sources = ['l_mpi_%(version)s.tgz']
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 = {
'I_MPI_CC': 'icc',
'I_MPI_CXX': 'icpc',
'I_MPI_F77': 'ifort',
'I_MPI_F90': 'ifort',
'I_MPI_FC': 'ifort',
'I_MPI_EXTRA_FILESYSTEM': 'enable',
'I_MPI_EXTRA_FILESYSTEM_LIST': 'lustre',
}
modluafooter = 'add_property("state","experimental")'
moduleclass = 'mpi'

View File

@ -0,0 +1,29 @@
# IT4Innovations 2019
easyblock = 'Toolchain'
name = 'intel'
version = '2019.03'
versionsuffix = '-GCC-8.3.0-2.32'
homepage = 'http://software.intel.com/en-us/intel-cluster-toolkit-compiler/'
description = "Compiler toolchain including Intel compilers, Intel MPI and Intel Math Kernel Library (MKL)."
toolchain = {'name': 'dummy', 'version': ''}
compver = '2019.4.227'
gccver = '8.3.0'
binutilsver = '2.32'
gccsuff = '-GCC-%s-%s' % (gccver, binutilsver)
dependencies = [
('GCCcore', gccver),
('binutils', binutilsver, '-GCCcore-%s' % gccver),
('icc', compver, gccsuff),
('ifort', compver, gccsuff),
('impi', '2019.3.199', '', ('iccifort', '%s%s' % (compver, gccsuff))),
('imkl', '2019.3.199', '', ('iimpi', '%s%s' % (version, gccsuff))),
]
modluafooter = 'add_property("state","experimental")'
moduleclass = 'toolchain'