new file: b/binutils/binutils-2.30-GCCcore-8.1.0.eb

new file:   b/binutils/binutils-2.30.eb
	new file:   g/GCC/GCC-8.1.0-2.30.eb
	new file:   g/GCCcore/GCCcore-8.1.0.eb
	new file:   i/icc/icc-2018.3.222-GCC-8.1.0-2.30.eb
	new file:   i/iccifort/iccifort-2018.3.222-GCC-8.1.0-2.30.eb
	new file:   i/ifort/ifort-2018.3.222-GCC-8.1.0-2.30.eb
	new file:   i/iimpi/iimpi-2018.03.eb
	new file:   i/imkl/imkl-2018.3.222-iimpi-2018.03.eb
	new file:   i/impi/impi-2018.3.222-iccifort-2018.3.222-GCC-8.1.0-2.30.eb
	new file:   i/intel/intel-2018.03.eb


Former-commit-id: d4502c9d0e1535960e31450295d6ffbfbfdbfd14
This commit is contained in:
Lukáš Krupčík 2018-06-18 08:48:24 +02:00
parent 9cc3ce160a
commit c227e3fea2
11 changed files with 313 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# IT4Innovations 2018
name = 'binutils'
version = '2.30'
homepage = 'http://directory.fsf.org/project/binutils/'
description = "binutils: GNU binary utilities"
toolchain = {'name': 'GCCcore', 'version': '8.1.0'}
sources = [SOURCE_TAR_GZ]
source_urls = [GNU_SOURCE]
builddependencies = [
('flex', '2.6.4', '', True),
('Bison', '3.0.4', '', True),
# zlib required, but being linked in statically, so not a runtime dep
('zlib', '1.2.11', '', True),
# use same binutils version that was used when building GCC toolchain, to 'bootstrap' this binutils
('binutils', version, '', True)
]
moduleclass = 'tools'

View File

@ -0,0 +1,20 @@
# IT4Innovations 2018
name = 'binutils'
version = '2.30'
homepage = 'http://directory.fsf.org/project/binutils/'
description = "binutils: GNU binary utilities"
toolchain = {'name': 'dummy', 'version': ''}
sources = [SOURCE_TAR_GZ]
source_urls = [GNU_SOURCE]
builddependencies = [
('flex', '2.6.4', '', True),
('Bison', '3.0.4', '', True),
('zlib', '1.2.11', '', True),
]
moduleclass = 'tools'

25
g/GCC/GCC-8.1.0-2.30.eb Normal file
View File

@ -0,0 +1,25 @@
# IT4Innovations 2018
easyblock = 'Bundle'
name = 'GCC'
version = '8.1.0'
binutilsver = '2.30'
versionsuffix = '-%s' % binutilsver
homepage = 'http://gcc.gnu.org/'
description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...)."""
toolchain = {'name': 'dummy', 'version': ''}
dependencies = [
('GCCcore', version),
('binutils', binutilsver, '', ('GCCcore', version)),
]
altroot = 'GCCcore'
altversion = 'GCCcore'
moduleclass = 'compiler'

View File

@ -0,0 +1,54 @@
# IT4Innovations 2018
easyblock = 'EB_GCC'
name = 'GCCcore'
version = '8.1.0'
homepage = 'http://gcc.gnu.org/'
description = """The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,
as well as libraries for these languages (libstdc++, libgcj,...)."""
toolchain = {'name': 'dummy', 'version': ''}
mpfr_version = '4.0.1'
source_urls = [
'http://ftpmirror.gnu.org/gnu/gcc/gcc-%(version)s', # GCC auto-resolving HTTP mirror
'http://ftpmirror.gnu.org/gnu/gmp', # idem for GMP
'http://ftpmirror.gnu.org/gnu/mpfr', # idem for MPFR
'http://ftpmirror.gnu.org/gnu/mpc', # idem for MPC
'ftp://gcc.gnu.org/pub/gcc/infrastructure/', # GCC dependencies
'http://gcc.cybermirror.org/infrastructure/', # HTTP mirror for GCC dependencies
'http://isl.gforge.inria.fr/', # original HTTP source for ISL
]
sources = [
'gcc-%(version)s.tar.gz',
'gmp-6.1.2.tar.bz2',
'mpfr-%s.tar.bz2' % mpfr_version,
'mpc-1.1.0.tar.gz',
'isl-0.19.tar.bz2',
]
patches = [
'GCCcore-6.2.0-fix-find-isl.patch',
]
checksums = [
'af300723841062db6ae24e38e61aaf4fbf3f6e5d9fd3bf60ebbdbf95db4e9f09', # gcc-8.1.0.tar.gz
'5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2', # gmp-6.1.2.tar.bz2
'a4d97610ba8579d380b384b225187c250ef88cfe1d5e7226b89519374209b86b', # mpfr-4.0.1.tar.bz2
'6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e', # mpc-1.1.0.tar.gz
'd59726f34f7852a081fbd3defd1ab2136f174110fc2e0c8d10bb122173fa9ed8', # isl-0.19.tar.bz2
'5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68', # GCCcore-6.2.0-fix-find-isl.patch
]
builddependencies = [
('M4', '1.4.18'),
('binutils', '2.30'),
('GCCcore', '6.3.0'),
]
languages = ['c', 'c++', 'fortran']
withisl = True
moduleclass = 'compiler'

View File

@ -0,0 +1,31 @@
# IT4Innovations 2018
name = 'icc'
version = '2018.3.222'
homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "Intel C and C++ compilers"
toolchain = {'name': 'dummy', 'version': ''}
sources = ['parallel_studio_xe_%(version_major)s_update%(version_minor)s_composer_edition_for_cpp.tgz']
gccver = '8.1.0'
binutilsver = '2.30'
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'
moduleclass = 'compiler'

View File

@ -0,0 +1,17 @@
easyblock = 'Toolchain'
name = 'iccifort'
version = '2018.3.222'
versionsuffix = '-GCC-8.1.0-2.30'
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),
]
moduleclass = 'toolchain'

View File

@ -0,0 +1,32 @@
# IT4Innovations 2018
name = 'ifort'
version = '2018.3.222'
homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "Intel Fortran compiler"
toolchain = {'name': 'dummy', 'version': ''}
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.1.0'
binutilsver = '2.30'
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'
moduleclass = 'compiler'

21
i/iimpi/iimpi-2018.03.eb Normal file
View File

@ -0,0 +1,21 @@
# IT4Innovations 2018
easyblock = 'Toolchain'
name = 'iimpi'
version = '2018.03'
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 = '2018.3.222'
suff = '-GCC-8.1.0-2.30'
dependencies = [
('icc', compver, suff),
('ifort', compver, suff),
('impi', compver, '', ('iccifort', '%s%s' % (compver, suff))),
]
moduleclass = 'toolchain'

View File

@ -0,0 +1,35 @@
# IT4Innovations 2018
name = 'imkl'
version = '2018.3.222'
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': '2018.03'}
sources = ['l_mkl_%(version)s.tgz']
dontcreateinstalldir = 'True'
license_file = '/apps/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'

View File

@ -0,0 +1,29 @@
# IT4Innovations 2018
name = 'impi'
version = '2018.3.222'
homepage = 'http://software.intel.com/en-us/intel-mpi-library/'
description = "Intel MPI Library, compatible with MPICH ABI"
toolchain = {'name': 'iccifort', 'version': '2018.3.222-GCC-8.1.0-2.30'}
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'
postinstallcmds = [
'ln -s %(installdir)s/lib64/libmpi.so %(installdir)s/lib64/libmpich.so',
'ln -s %(installdir)s/lib64/libmpigc4.so %(installdir)s/lib64/libmpichcxx.so',
'ln -s %(installdir)s/lib64/libmpigf.so %(installdir)s/lib64/libfmpich.so',
'ln -s %(installdir)s/lib64/libmpigf.so %(installdir)s/lib64/libmpichf90.so',
'ln -s %(installdir)s/lib64/libmpi.so %(installdir)s/lib64/libmpl.so',
'ln -s %(installdir)s/lib64/libmpi.so %(installdir)s/lib64/libopa.so'
]
moduleclass = 'mpi'

26
i/intel/intel-2018.03.eb Normal file
View File

@ -0,0 +1,26 @@
# IT4Innovations 2018
easyblock = 'Toolchain'
name = 'intel'
version = '2018.03'
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 = '2018.3.222'
gccver = '8.1.0'
binutilsver = '2.30'
gccsuff = '-GCC-%s-%s' % (gccver, binutilsver)
dependencies = [
('GCCcore', gccver),
('binutils', binutilsver, '-GCCcore-%s' % gccver),
('icc', compver, gccsuff),
('ifort', compver, gccsuff),
('impi', compver, '', ('iccifort', '%s%s' % (compver, gccsuff))),
('imkl', compver, '', ('iimpi', version)),
]
moduleclass = 'toolchain'