Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{toolchain} intel/2019a (+ HPL 2.3 as test case) #7372

Merged
merged 3 commits into from
Jan 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions easybuild/easyconfigs/h/HPL/HPL-2.3-intel-2019a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name = 'HPL'
version = '2.3'

homepage = 'http://www.netlib.org/benchmark/hpl/'
description = """HPL is a software package that solves a (random) dense linear system in double precision (64 bits)
arithmetic on distributed-memory computers. It can thus be regarded as a portable as well as freely available
implementation of the High Performance Computing Linpack Benchmark."""

toolchain = {'name': 'intel', 'version': '2019a'}
toolchainopts = {'usempi': True}

source_urls = ['http://www.netlib.org/benchmark/%(namelower)s']
sources = [SOURCELOWER_TAR_GZ]
# fix Make dependencies, so parallel build also works
patches = ['HPL_parallel-make.patch']
checksums = [
'32c5c17d22330e6f2337b681aded51637fb6008d3f0eb7c277b163fadd612830', # hpl-2.3.tar.gz
'2a5bf9c4f328049828ddecec7ba3f05a9e25d236f4212747c53bd22fea80c5e6', # HPL_parallel-make.patch
]

moduleclass = 'tools'
19 changes: 19 additions & 0 deletions easybuild/easyconfigs/i/iimpi/iimpi-2019a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
easyblock = 'Toolchain'

name = 'iimpi'
version = '2019a'

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': 'dummy'}

compver = '2019.1.144'
suff = '-GCC-8.2.0-2.31.1'
dependencies = [
('icc', compver, suff),
('ifort', compver, suff),
('impi', '2018.4.274', '', ('iccifort', '%s%s' % (compver, suff))),
]

moduleclass = 'toolchain'
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/i/imkl/imkl-2019.1.144-iimpi-2019a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name = 'imkl'
version = '2019.1.144'

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': '2019a'}

source_urls = ['http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/14895/']
sources = ['l_mkl_%(version)s.tgz']
checksums = ['5205a460a9c685f7a442868367389b2d0c25e1455346bc6a37c5b8ff90a20fbb']

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'
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name = 'impi'
version = '2018.4.274'

homepage = 'http://software.intel.com/en-us/intel-mpi-library/'
description = "Intel MPI Library, compatible with MPICH ABI"

toolchain = {'name': 'iccifort', 'version': '2019.1.144-GCC-8.2.0-2.31.1'}

source_urls = ['http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/13651/']
sources = ['l_mpi_%(version)s.tgz']
checksums = ['a1114b3eb4149c2f108964b83cad02150d619e50032059d119ac4ffc9d5dd8e0']

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'
24 changes: 24 additions & 0 deletions easybuild/easyconfigs/i/intel/intel-2019a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
easyblock = 'Toolchain'

name = 'intel'
version = '2019a'

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 = {'name': 'dummy', 'version': 'dummy'}

compver = '2019.1.144'
gccver = '8.2.0'
binutilsver = '2.31.1'
gccsuff = '-GCC-%s-%s' % (gccver, binutilsver)
dependencies = [
('GCCcore', gccver),
('binutils', binutilsver, '-GCCcore-%s' % gccver),
('icc', compver, gccsuff),
('ifort', compver, gccsuff),
('impi', '2018.4.274', '', ('iccifort', '%s%s' % (compver, gccsuff))),
('imkl', compver, '', ('iimpi', version)),
]

moduleclass = 'toolchain'