new file: a/ANSYS/ANSYS-18.0-intel-2017a.eb

new file:   a/ANSYS/ANSYS-18.2-intel-2017a.eb
	new file:   b/binutils/binutils-2.28-GCCcore-6.4.0.eb
	new file:   g/GCCcore/GCCcore-6.4.0.eb
	new file:   h/HPL/HPL-2.2-intel-2017b.eb
	new file:   h/HPL/HPL_parallel-make.patch
	new file:   i/icc/icc-2017.4.196-GCC-6.4.0-2.28.eb
	new file:   i/iccifort/iccifort-2017.4.196-GCC-6.4.0-2.28.eb
	new file:   i/ifort/ifort-2017.4.196-GCC-6.4.0-2.28.eb
	new file:   i/iimpi/iimpi-2017b.eb
	new file:   i/imkl/imkl-2017.3.196-iimpi-2017b.eb
	new file:   i/impi/iimpi-2017b.eb
	new file:   i/impi/impi-2017.3.196-iccifort-2017.4.196-GCC-6.4.0-2.28.eb
	new file:   i/intel/intel-2017b.eb
	new file:   p/ParaView/ParaView-5.4.0-intel-2017a-mpi-OSPRay-OpenGL.eb
	new file:   p/ParaView/ParaView-5.4.0-intel-2017a-mpi-OSPRay-OpenGL2.eb
	deleted:    p/ParaView/.ParaView-5.4.0-intel-2017a-OSPRay-test.eb.swp
	deleted:    p/ParaView/ParaView-5.4.0-intel-2017a-OSPRay-test.eb
This commit is contained in:
Lukáš Krupčík 2017-08-31 11:09:04 +02:00
parent 96f1245aa2
commit e1be6fe12d
17 changed files with 432 additions and 4 deletions

View File

@ -0,0 +1,19 @@
name = 'ANSYS'
version = '18.0'
homepage = 'http://www.ansys.com'
description = """ANSYS simulation software enables organizations to confidently predict
how their products will operate in the real world. We believe that every product is
a promise of something greater. """
toolchain = {'name': 'intel', 'version': '2017a'}
# create a zip file from the 3 install iso files.
# make sure all files of the iso's are in the same directory.
sources = ['ANSYS-18.0.zip']
import os
license_server = os.getenv('EB_ANSYS_LICENSE_SERVER', 'license.it4i.cz')
license_server_port = os.getenv('EB_ANSYS_LICENSE_SERVER_PORT', '2325:1055')
moduleclass = 'tools'

View File

@ -0,0 +1,19 @@
name = 'ANSYS'
version = '18.2'
homepage = 'http://www.ansys.com'
description = """ANSYS simulation software enables organizations to confidently predict
how their products will operate in the real world. We believe that every product is
a promise of something greater. """
toolchain = {'name': 'intel', 'version': '2017a'}
# create a zip file from the 3 install iso files.
# make sure all files of the iso's are in the same directory.
sources = ['ANSYS-18.2.zip']
import os
license_server = os.getenv('EB_ANSYS_LICENSE_SERVER', 'license.it4i.cz')
license_server_port = os.getenv('EB_ANSYS_LICENSE_SERVER_PORT', '2325:1055')
moduleclass = 'tools'

View File

@ -0,0 +1,24 @@
name = 'binutils'
version = '2.28'
homepage = 'http://directory.fsf.org/project/binutils/'
description = "binutils: GNU binary utilities"
toolchain = {'name': 'GCCcore', 'version': '6.4.0'}
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['cd717966fc761d840d451dbd58d44e1e5b92949d2073d75b73fccb476d772fcf']
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,71 @@
easyblock = 'EB_GCC'
name = 'GCCcore'
version = '6.4.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,...). [NOTE: This module does not include Objective-C, Java or Ada]
"""
toolchain = {'name': 'dummy', 'version': ''}
mpfr_version = '3.1.5'
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://www.multiprecision.org/mpc/download', # MPC official
'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.0.3.tar.gz',
'isl-0.16.1.tar.bz2',
]
builddependencies = [
('M4', '1.4.18'),
('binutils', '2.28'),
]
patches = [
('mpfr-%s-allpatches-20170606.patch' % mpfr_version, '../mpfr-%s' % mpfr_version),
'GCCcore-6.2.0-fix-find-isl.patch',
]
checksums = [
'4715f02413f8a91d02d967521c084990c99ce1a671b8a450a80fbd4245f4b728', # gcc-6.4.0.tar.gz
'5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2', # gmp-6.1.2.tar.bz2
'ca498c1c7a74dd37a576f353312d1e68d490978de4395fa28f1cbd46a364e658', # mpfr-3.1.5.tar.gz
'617decc6ea09889fb08ede330917a00b16809b8db88c29c31bfbb49cbf88ecc3', # mpc-1.0.3.tar.gz
'412538bb65c799ac98e17e8cfcdacbb257a57362acfaaff254b0fcae970126d2', # isl-0.16.1.tar.bz2
'137108952139486755e8c1bee30314ffa9233cc05cddfd848aa85503a6fea9d7', # mpfr-3.1.5-allpatches-20170606.patch
'5ad909606d17d851c6ad629b4fddb6c1621844218b8d139fed18c502a7696c68', # GCCcore-6.2.0-fix-find-isl.patch
]
languages = ['c', 'c++', 'fortran']
withisl = True
modextravars = {
'CC': '%(installdir)s/bin/gcc',
'CXX': '%(installdir)s/bin/g++',
'F90': '%(installdir)s/bin/gfortran',
'F77': '%(installdir)s/bin/gfortran',
'FC': '%(installdir)s/bin/gfortran',
'F9X': '%(installdir)s/bin/gfortran',
'OPTFLAGS': '-O3 -march=native',
'DEBUGFLAGS': '-O0 -g'
}
moduleclass = 'compiler'

View File

@ -0,0 +1,19 @@
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': '2017b'}
toolchainopts = {'usempi': True}
sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://www.netlib.org/benchmark/%(namelower)s']
checksums = ['ac7534163a09e21a5fa763e4e16dfc119bc84043f6e6a807aba666518f8df440']
# fix Make dependencies, so parallel build also works
patches = ['HPL_parallel-make.patch']
moduleclass = 'tools'

View File

@ -0,0 +1,11 @@
--- Makefile.orig 2012-04-10 14:37:40.714499621 +0200
+++ Makefile 2012-04-10 14:33:54.379432390 +0200
@@ -68,7 +68,7 @@
$(MAKE) -f Make.top refresh_src arch=$(arch)
$(MAKE) -f Make.top refresh_tst arch=$(arch)
#
-build :
+build : startup
$(MAKE) -f Make.top build_src arch=$(arch)
$(MAKE) -f Make.top build_tst arch=$(arch)
#

View File

@ -0,0 +1,31 @@
name = 'icc'
version = '2017.4.196'
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']
checksums = ['6b9b57dada0ec68e394866ec0a8b162c9233de18a7a6dd2dcc956d335e06acbc']
gccver = '6.4.0'
binutilsver = '2.28'
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']
dontcreateinstalldir = 'True'
license_file = '/apps/licenses/intel/license.lic'
moduleclass = 'compiler'

View File

@ -0,0 +1,17 @@
easyblock = 'Toolchain'
name = 'iccifort'
version = '2017.4.196'
versionsuffix = '-GCC-6.4.0-2.28'
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,34 @@
name = 'ifort'
version = '2017.4.196'
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']
checksums = ['0b6a222e015f776600b12b17c19506249c9e7691a8d287f44cd40a66ca9ac749']
# remove dependency on intel-mpi-rt-mic
patches = ['ifort_2017_no_mpi_mic_dependency.patch']
gccver = '6.4.0'
binutilsver = '2.28'
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']
dontcreateinstalldir = 'True'
license_file = '/apps/licenses/intel/license.lic'
moduleclass = 'compiler'

19
i/iimpi/iimpi-2017b.eb Normal file
View File

@ -0,0 +1,19 @@
easyblock = "Toolchain"
name = 'iimpi'
version = '2017b'
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 = '2017.4.196'
suff = '-GCC-6.4.0-2.28'
dependencies = [
('icc', compver, suff),
('ifort', compver, suff),
('impi', '2017.3.196', '', ('iccifort', '%s%s' % (compver, suff))),
]
moduleclass = 'toolchain'

View File

@ -0,0 +1,37 @@
name = 'imkl'
version = '2017.3.196'
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': '2017b'}
sources = ['l_mkl_%(version)s.tgz']
checksums = ['4a2eb4bee789391d9c07d7c348a80702']
dontcreateinstalldir = 'True'
interfaces = True
#prebuildopts = "sed '1,2d' /apps/easybuild/build/imkl/2017.3.196/iimpi-2017b/l_mkl_2017.3.196/silent.cfg -i && "
#preinstallopts = 'exit 1 && '
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/',
'tar xvzf %(installdir)s/mkl/examples/examples_mic_f.tgz -C %(installdir)s/mkl/examples/',
'tar xvzf %(installdir)s/mkl/examples/examples_mic_c.tgz -C %(installdir)s/mkl/examples/',
]
modextravars = {
'MKL_EXAMPLES': '%(installdir)s/mkl/examples/',
}
moduleclass = 'numlib'

19
i/impi/iimpi-2017b.eb Normal file
View File

@ -0,0 +1,19 @@
easyblock = "Toolchain"
name = 'iimpi'
version = '2017b'
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 = '2017.4.196'
suff = '-GCC-6.4.0-2.28'
dependencies = [
('icc', compver, suff),
('ifort', compver, suff),
('impi', '2017.3.196', '', ('iccifort', '%s%s' % (compver, suff))),
]
moduleclass = 'toolchain'

View File

@ -0,0 +1,29 @@
name = 'impi'
version = '2017.3.196'
homepage = 'http://software.intel.com/en-us/intel-mpi-library/'
description = "Intel MPI Library, compatible with MPICH ABI"
toolchain = {'name': 'iccifort', 'version': '2017.4.196-GCC-6.4.0-2.28'}
sources = ['l_mpi_%(version)s.tgz']
checksums = ['dad9efbc5bbd3fd27cce7e1e2507ad77f342d5ecc929747ae141c890e7fb87f0']
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
i/intel/intel-2017b.eb Normal file
View File

@ -0,0 +1,24 @@
easyblock = 'Toolchain'
name = 'intel'
version = '2017b'
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 = '2017.4.196'
gccver = '6.4.0'
binutilsver = '2.28'
gccsuff = '-GCC-%s-%s' % (gccver, binutilsver)
dependencies = [
('GCCcore', gccver),
('binutils', binutilsver, '-GCCcore-%s' % gccver),
('icc', compver, gccsuff),
('ifort', compver, gccsuff),
('impi', '2017.3.196', '', ('iccifort', '%s%s' % (compver, gccsuff))),
('imkl', '2017.3.196', '', ('iimpi', version)),
]
moduleclass = 'toolchain'

View File

@ -2,7 +2,7 @@ easyblock = 'CMakeMake'
name = 'ParaView'
version = '5.4.0'
versionsuffix = '-mpi-OSPRay-TEST'
versionsuffix = '-mpi-OSPRay-OpenGL'
homepage = "http://www.paraview.org"
description = "ParaView is a scientific parallel visualizer."
@ -15,7 +15,7 @@ source_urls = ['http://www.paraview.org/paraview-downloads/%s' % download_suffix
sources = ["ParaView-v%(version)s.tar.gz"]
dependencies = [
('X11', '20170314', '', True),
# ('X11', '20170314', '', True),
('Mesa', '17.0.2'),
('libGLU', '9.0.0', '', True),
# ('Qt5', '5.8.0'),
@ -33,13 +33,13 @@ configopts = '-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DVTK_OPENGL_HAS_OSMESA=ON
#configopts += '-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include -DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s ' % SHLIB_EXT
#configopts += '-DOSMESA_INCLUDE_DIR=$EBROOTMESA/include -DOSMESA_LIBRARY=$EBROOTMESA/lib/libOSMesa.%s ' % SHLIB_EXT
#configopts += '-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s ' % SHLIB_EXT
configopts += '-DVTK_USE_SYSTEM_HDF5=ON -DPARAVIEW_ENABLE_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DVTK_RENDERING_BACKEND=OpenGL2 '
configopts += '-DVTK_USE_SYSTEM_HDF5=ON -DPARAVIEW_ENABLE_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DVTK_RENDERING_BACKEND=OpenGL '
configopts += '-DPARAVIEW_USE_OSPRAY=ON -DOSPRAY_INSTALL_DIR=$EBROOTOSPRAY ' #-DPARAVIEW_QT_VERSION=5 '
# if you want to build server only Paraview, uncomment the following line:
configopts += '-DVTK_USE_X=OFF '
configopts += '-DPARAVIEW_BUILD_QT_GUI=OFF '
configopts += '-DVTK_USE_OFFSCREEN=ON '
configopts += '-DOSMESA_LIBRARY=$EBROOTMESA/lib '
configopts += '-DOSMESA_LIBRARY=$EBROOTMESA/lib/libOSMesa.so '
# Without internet connection turn off testing (uncomment the following line)
configopts += '-DBUILD_TESTING=OFF '

View File

@ -0,0 +1,55 @@
easyblock = 'CMakeMake'
name = 'ParaView'
version = '5.4.0'
versionsuffix = '-mpi-OSPRay-OpenGL2'
homepage = "http://www.paraview.org"
description = "ParaView is a scientific parallel visualizer."
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'pic': True, 'usempi': True}
download_suffix = 'download.php?submit=Download&version=v%(version_major_minor)s&type=source&os=all&downloadFile='
source_urls = ['http://www.paraview.org/paraview-downloads/%s' % download_suffix]
sources = ["ParaView-v%(version)s.tar.gz"]
dependencies = [
# ('X11', '20170314', '', True),
('Mesa', '17.0.2'),
('libGLU', '9.0.0', '', True),
# ('Qt5', '5.8.0'),
('zlib', '1.2.11', '', True),
('HDF5', '1.8.17'),
('Python', '2.7.13', '', True),
('OSPRay', '1.3.0')
]
builddependencies = [('CMake', '3.9.0', '', True)]
separate_build_dir = True
configopts = '-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DVTK_OPENGL_HAS_OSMESA=ON -DPARAVIEW_USE_MPI=ON '
#configopts += '-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include -DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s ' % SHLIB_EXT
#configopts += '-DOSMESA_INCLUDE_DIR=$EBROOTMESA/include -DOSMESA_LIBRARY=$EBROOTMESA/lib/libOSMesa.%s ' % SHLIB_EXT
#configopts += '-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s ' % SHLIB_EXT
configopts += '-DVTK_USE_SYSTEM_HDF5=ON -DPARAVIEW_ENABLE_PYTHON=ON -DBUILD_SHARED_LIBS=ON ' #-DVTK_RENDERING_BACKEND=OpenGL2 '
configopts += '-DPARAVIEW_USE_OSPRAY=ON -DOSPRAY_INSTALL_DIR=$EBROOTOSPRAY ' #-DPARAVIEW_QT_VERSION=5 '
# if you want to build server only Paraview, uncomment the following line:
configopts += '-DVTK_USE_X=OFF '
configopts += '-DPARAVIEW_BUILD_QT_GUI=OFF '
configopts += '-DVTK_USE_OFFSCREEN=ON '
configopts += '-DOSMESA_LIBRARY=$EBROOTMESA/lib/libOSMesa.so '
# Without internet connection turn off testing (uncomment the following line)
configopts += '-DBUILD_TESTING=OFF '
# Or consult https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/data.md
# and download ExternalData to $EASYBUILD_SOURCEPATH and adjust -DExternalData_OBJECT_STORES accordingly
# Without internet connection, comment the following two lines (configopts and prebuildopts)
#configopts += '-DExternalData_OBJECT_STORES=%(builddir)s/ExternalData '
# The ParaView server can be cranky, test downloads are quite often failing, especially in the case
# of parallel downloads. Using ; insted of && gives a second chance to download the test files, if the
# first serial attempt would fail.
#prebuildopts = 'make VTKData ;'
moduleclass = 'vis'