Skip to content

Commit

Permalink
Merge pull request #7598 from boegel/20190213104031_new_pr_HPL23
Browse files Browse the repository at this point in the history
{toolchain} intel/2019.02 (+ HPL test case)
  • Loading branch information
migueldiascosta committed Feb 15, 2019
2 parents 5d9c093 + 02a1e88 commit 5bcbdc8
Show file tree
Hide file tree
Showing 9 changed files with 228 additions and 0 deletions.
21 changes: 21 additions & 0 deletions easybuild/easyconfigs/h/HPL/HPL-2.3-intel-2019.02.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': '2019.02'}
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'
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/i/icc/icc-2019.2.187-GCC-8.2.0-2.31.1.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild

name = 'icc'
version = '2019.2.187'

homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "Intel C and C++ compilers"

toolchain = {'name': 'dummy', 'version': 'dummy'}

source_urls = ['http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/15093/']
sources = ['parallel_studio_xe_%(version_major)s_update%(version_minor)s_composer_edition_for_cpp.tgz']
checksums = ['fc434a2e005af223f43d258c16f004134def726a8d2a225e830af85d553bee55']

gccver = '8.2.0'
binutilsver = '2.31.1'
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 = HOME + '/licenses/intel/license.lic'

moduleclass = 'compiler'
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild
easyblock = 'Toolchain'

name = 'iccifort'
version = '2019.2.187'
versionsuffix = '-GCC-8.2.0-2.31.1'

homepage = 'http://software.intel.com/en-us/intel-cluster-toolkit-compiler/'
description = "Intel C, C++ & Fortran compilers"

toolchain = {'name': 'dummy', 'version': 'dummy'}

dependencies = [
('icc', version, versionsuffix),
('ifort', version, versionsuffix),
]

moduleclass = 'toolchain'
38 changes: 38 additions & 0 deletions easybuild/easyconfigs/i/ifort/ifort-2019.2.187-GCC-8.2.0-2.31.1.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild

name = 'ifort'
version = '2019.2.187'

homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "Intel Fortran compiler"

toolchain = {'name': 'dummy', 'version': 'dummy'}

source_urls = ['http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/15094/']
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']
checksums = [
# parallel_studio_xe_2019_update2_composer_edition_for_fortran.tgz
'71e5c9bf055da9ccc50252064740febf506cdf9a560cefe88ba4ba18f84f885e',
'dbc6496cb2adbf34e66b73d8d75da7dec2738c1026e736bb5bc8393e879f434f', # ifort_2019.2.187_no_mpi_mic_dependency.patch
]

gccver = '8.2.0'
binutilsver = '2.31.1'
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 = HOME + '/licenses/intel/license.lic'

moduleclass = 'compiler'
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
don't install Intel MIC runtine components (mpi-mic-rt), cfr. https://github.com/easybuilders/easybuild-easyconfigs/pull/3793
--- parallel_studio_xe_2019_update2_composer_edition_for_fortran/pset/mediaconfig.xml.orig 2019-02-13 09:15:51.376296916 +0100
author: Kenneth Hoste (HPC-UGent)
+++ parallel_studio_xe_2019_update2_composer_edition_for_fortran/pset/mediaconfig.xml 2019-02-13 09:17:04.896021592 +0100
@@ -1047,7 +1047,7 @@
</Layers>
<InstallDir>${COMPLIB_ROOT}</InstallDir>
<GUID>1548933044877</GUID>
- <Component depend="33.3;1.1;1.3;1.91;1.11;1.12;1.14;1.16;1.7;1.27;1.24;133.2" id="1" invisible="0" mandatory="0" platform="INTEL64">
+ <Component depend="33.3;1.1;1.3;1.91;1.11;1.12;1.14;1.16;1.7;1.27;1.24" id="1" invisible="0" mandatory="0" platform="INTEL64">
<Name>Intel Fortran Compiler for Intel(R) 64</Name>
<Description>Intel Fortran Compiler 19.0 Update 2</Description>
<Name locale="ja_JP.UTF-8">(R) Fortran ((R) 64)</Name>
20 changes: 20 additions & 0 deletions easybuild/easyconfigs/i/iimpi/iimpi-2019.02.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild
easyblock = 'Toolchain'

name = 'iimpi'
version = '2019.02'

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.2.187'
suff = '-GCC-8.2.0-2.31.1'
dependencies = [
('icc', compver, suff),
('ifort', compver, suff),
('impi', compver, '', ('iccifort', '%s%s' % (compver, suff))),
]

moduleclass = 'toolchain'
39 changes: 39 additions & 0 deletions easybuild/easyconfigs/i/imkl/imkl-2019.2.187-iimpi-2019.02.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This is an easyconfig file for EasyBuild, see https://easybuilders.github.io/easybuild/

name = 'imkl'
version = '2019.2.187'

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.02'}

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

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,22 @@
# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild

name = 'impi'
version = '2019.2.187'

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

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

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

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'

moduleclass = 'mpi'
24 changes: 24 additions & 0 deletions easybuild/easyconfigs/i/intel/intel-2019.02.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
easyblock = 'Toolchain'

name = 'intel'
version = '2019.02'

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.2.187'
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', compver, '', ('iccifort', '%s%s' % (compver, gccsuff))),
('imkl', compver, '', ('iimpi', version)),
]

moduleclass = 'toolchain'

0 comments on commit 5bcbdc8

Please sign in to comment.