Skip to content

Commit

Permalink
Merge pull request #6409 from boegel/20180601132510_new_pr_HPL22
Browse files Browse the repository at this point in the history
{toolchain} intel/2018b
  • Loading branch information
migueldiascosta authored Jul 5, 2018
2 parents 6f47a03 + 1d7a319 commit 7bd8ca8
Show file tree
Hide file tree
Showing 9 changed files with 232 additions and 0 deletions.
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/h/HPL/HPL-2.2-intel-2018b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = 'HPL'
version = '2.2'

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': '2018b'}
toolchainopts = {'usempi': True}

sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://www.netlib.org/benchmark/%(namelower)s']
checksums = [
'ac7534163a09e21a5fa763e4e16dfc119bc84043f6e6a807aba666518f8df440', # hpl-2.2.tar.gz
'2a5bf9c4f328049828ddecec7ba3f05a9e25d236f4212747c53bd22fea80c5e6', # HPL_parallel-make.patch
]

# fix Make dependencies, so parallel build also works
patches = ['HPL_parallel-make.patch']

moduleclass = 'tools'
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/i/icc/icc-2018.3.222-GCC-7.3.0-2.30.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild

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

sources = ['parallel_studio_xe_%(version_major)s_update%(version_minor)s_composer_edition_for_cpp.tgz']
checksums = ['d8b7e6633faa2e0b7d4eebf3260cb3a200b951cb2cf7b5db957c5ae71508d34b']

gccver = '7.3.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 = 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 = '2018.3.222'
versionsuffix = '-GCC-7.3.0-2.30'

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'
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/i/ifort/ifort-2018.3.222-GCC-7.3.0-2.30.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This is an easyconfig file for EasyBuild, see http://easybuilders.github.io/easybuild

name = 'ifort'
version = '2018.3.222'

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

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

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_2018_update3_composer_edition_for_fortran.tgz
'9dc290ad2c95a5df041507bcad551c996a2aec04891d37f641f6db0776f96d89',
'2751935f922e975a85d8e6e8373d9d50e983af7b5017241c47249fcff2629b28', # ifort_2018.3.222_no_mpi_mic_dependency.patch
]

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

moduleclass = 'compiler'
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- parallel_studio_xe_2018_update3_composer_edition_for_fortran/pset/mediaconfig.xml.orig 2018-05-31 14:30:01.112396961 +0200
+++ parallel_studio_xe_2018_update3_composer_edition_for_fortran/pset/mediaconfig.xml 2018-05-31 14:37:27.971107038 +0200
@@ -962,7 +962,7 @@
</Layers>
<InstallDir>${COMPLIB_ROOT}</InstallDir>
<GUID>1526382866912</GUID>
- <Component depend="35.3;1.1;1.3;1.91;1.11;1.12;1.14;1.16;1.7;1.27;1.24;142.2" id="1" invisible="0" mandatory="0" platform="INTEL64">
+ <Component depend="35.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 18.0 Update 3</Description>
<Name locale="ja_JP.UTF-8">インテル(R) Fortran コンパイラー (インテル(R) 64)</Name>
20 changes: 20 additions & 0 deletions easybuild/easyconfigs/i/iimpi/iimpi-2018b.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 = '2018b'

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 = '2018.3.222'
suff = '-GCC-7.3.0-2.30'
dependencies = [
('icc', compver, suff),
('ifort', compver, suff),
('impi', compver, '', ('iccifort', '%s%s' % (compver, suff))),
]

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

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': '2018b'}

sources = ['l_mkl_%(version)s.tgz']
checksums = ['108d59c0927e58ce8c314db6c2b48ee331c3798f7102725f425d6884eb6ed241']

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

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-7.3.0-2.30'}

sources = ['l_mpi_%(version)s.tgz']
checksums = ['5021d14b344fc794e89f146e4d53d70184d7048610895d7a6a1e8ac0cf258999']

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-2018b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
easyblock = 'Toolchain'

name = 'intel'
version = '2018b'

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

compver = '2018.3.222'
gccver = '7.3.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'

0 comments on commit 7bd8ca8

Please sign in to comment.