Skip to content

Instantly share code, notes, and snippets.

@andreas-h
Created January 4, 2017 10:07
Show Gist options
  • Save andreas-h/9a0b3fc50fd1445fecb6ece8cd367a83 to your computer and use it in GitHub Desktop.
Save andreas-h/9a0b3fc50fd1445fecb6ece8cd367a83 to your computer and use it in GitHub Desktop.
Easyconfigs for Intel toolchain from single large tgz source archive
# Built with EasyBuild version 2.7.0 on 2016-04-20_10-22-43
# This is an easyconfig file for EasyBuild, see http://hpcugent.github.io/easybuild
name = 'icc'
version = '2016.2.181'
homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "C and C++ compiler from Intel"
toolchain = {'name': 'dummy', 'version': 'dummy'}
sources = ['parallel_studio_xe_%(version_major)s_update%(version_minor)s.tgz']
#checksums = ['d6f8529a44231e427219c8e025dec3b2']
gccver = '4.9.3'
binutilsver = '2.25'
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?_']
dontcreateinstalldir = 'True'
license_file = '/opts/intel/licenses/COM_L___GCX2-G7M8P7WP.lic'
moduleclass = 'compiler'
# Built with EasyBuild version 2.7.0 on 2016-04-20_10-06-08
# This is an easyconfig file for EasyBuild, see http://hpcugent.github.io/easybuild
name = 'ifort'
version = '2016.2.181'
homepage = 'http://software.intel.com/en-us/intel-compilers/'
description = "C and C++ compiler from Intel"
toolchain = {'name': 'dummy', 'version': 'dummy'}
sources = ['parallel_studio_xe_%(version_major)s_update%(version_minor)s.tgz']
#checksums = ['70e88db11efc59b1d8ff8b5aadf50f7f']
gccver = '4.9.3'
binutilsver = '2.25'
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?_']
dontcreateinstalldir = 'True'
license_file = '/opts/intel/licenses/COM_L___GCX2-G7M8P7WP.lic'
moduleclass = 'compiler'
# Built with EasyBuild version 2.7.0 on 2016-04-25_17-33-04
# This is an easyconfig file for EasyBuild, see http://hpcugent.github.io/easybuild
name = 'imkl'
version = '11.3.2.181'
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': '2016.02-GCC-4.9.3-2.25'}
#sources = ['l_mkl_%(version)s.tgz']
sources = ['parallel_studio_xe_2016_update2.tgz'] # hard-coded
#checksums = ['536dbd82896d6facc16de8f961d17d65']
dontcreateinstalldir = 'True'
# 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-mkl']
license_file = HOME + '/licenses/intel/license.lic'
interfaces = True
postinstallcmds = [
# extract the examples
'tar xvzf %(installdir)s/mkl/examples/examples_cluster.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/',
'tar xvzf %(installdir)s/mkl/examples/examples_mic.tgz -C %(installdir)s/mkl/examples/'
]
modextravars = {
'MKL_EXAMPLES': '%(installdir)s/mkl/examples/',
}
moduleclass = 'numlib'
# Built with EasyBuild version 2.7.0 on 2016-04-22_16-00-51
# This is an easyconfig file for EasyBuild, see http://hpcugent.github.io/easybuild
name = 'impi'
version = '5.1.3.181'
homepage = 'http://software.intel.com/en-us/intel-mpi-library/'
description = """The Intel(R) MPI Library for Linux* OS is a multi-fabric message
passing library based on ANL MPICH2 and OSU MVAPICH2. The Intel MPI Library for
Linux OS implements the Message Passing Interface, version 2 (MPI-2) specification."""
toolchain = {'name': 'iccifort', 'version': '2016.2.181-GCC-4.9.3-2.25'}
#sources = ['l_mpi_p_%(version)s.tgz']
sources = ['parallel_studio_xe_2016_update2.tgz'] # hard-coded
#checksums = ['1c14656859d48bf8b90c71dace2a977b']
dontcreateinstalldir = 'True'
# 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-mpi']
license_file = '/opts/intel/licenses/COM_L___GCX2-G7M8P7WP.lic'
# 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment