modified: i/imkl/imkl-11.3.2.181-iimpi-2016.02-GCC-4.9.3-2.25.eb

new file:   m/Mercurial/Mercurial-4.4.2-Py-2.7.eb
	new file:   n/numactl/numactl-2.0.11.eb
	new file:   p/pWord2Vec/pWord2Vec-2018-01-25-intel-2017a.eb
	new file:   p/pWord2Vec/pWord2Vec-pWord2Vec.cpp.patch
	new file:   v/VTune/VTune-2017_update5.eb
This commit is contained in:
Lukáš Krupčík 2018-01-25 10:29:52 +01:00
parent e4a50668a5
commit 81cc393ac8
6 changed files with 136 additions and 2 deletions

View File

@ -26,11 +26,11 @@ postinstallcmds = [
'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/'
'tar xvzf %(installdir)s/mkl/examples/examples_mic.tgz -C %(installdir)s/mkl/examples/',
]
modextravars = {
'MKL_EXAMPLES': ''%(installdir)s/mkl/examples/',
'MKL_EXAMPLES': '%(installdir)s/mkl/examples/',
}
moduleclass = 'numlib'

View File

@ -0,0 +1,23 @@
# IT4Innovations 2018
easyblock = "PythonPackage"
name = 'Mercurial'
version = '4.4.2'
homepage = 'http://mercurial.selenic.com/'
description = """Mercurial is a free, distributed source control management tool. It efficiently handles projects
of any size and offers an easy and intuitive interface.
"""
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = ['https://www.mercurial-scm.org/release']
sources = [SOURCELOWER_TAR_GZ]
sanity_check_paths = {
'files': ['bin/hg'],
'dirs': ['lib/python2.7/site-packages/mercurial'],
}
moduleclass = 'python'

View File

@ -0,0 +1,25 @@
easyblock = 'ConfigureMake'
name = 'numactl'
version = '2.0.11'
homepage = 'http://oss.sgi.com/projects/libnuma/'
description = """The numactl program allows you to run your application program on specific cpu's and memory nodes.
It does this by supplying a NUMA memory policy to the operating system before running your program.
The libnuma library provides convenient ways for you to add NUMA memory policies into your own program."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['ftp://oss.sgi.com/www/projects/libnuma/download/']
sources = [SOURCE_TAR_GZ]
checksums = ['d3bc88b7ddb9f06d60898f4816ae9127']
builddependencies = [('binutils', '2.25')]
sanity_check_paths = {
'files': ['bin/numactl', 'bin/numastat', 'lib/libnuma.%s' % SHLIB_EXT, 'lib/libnuma.a'],
'dirs': ['share/man', 'include']
}
moduleclass = 'tools'

View File

@ -0,0 +1,48 @@
# IT4Innovations 2017
# !!! master branch !!!
easyblock = 'CmdCp'
name = 'pWord2Vec'
version = '2018-01-25'
homepage = 'https://github.com/IntelLabs/pWord2Vec'
description = """This tool provides an efficient implementation of
the continuous bag-of-words and skip-gram architectures for
computing vector representations of words. These representations
can be subsequently used in many natural language processing
applications and for further research."""
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = ['https://github.com/IntelLabs/pWord2Vec/archive/']
sources = ['master.zip']
patches = [
"pWord2Vec-pWord2Vec.cpp.patch",
]
dependencies = [
('numactl', '2.0.11', '', True),
]
builddependencies = [
('Mercurial', '4.4.2', '', ('Py', '2.7')),
]
commands = "./install.sh "
cmds_map = [('.*', commands)]
files_to_copy = [
(['pWord2Vec', 'pWord2Vec_mpi'], 'bin'),
]
sanity_check_paths = {
'files': ['bin/pWord2Vec', 'bin/pWord2Vec_mpi'],
'dirs': [''],
}
moduleclass = 'chem'

View File

@ -0,0 +1,10 @@
--- pWord2Vec.cpp.orig 2018-01-25 09:06:11.034201578 +0100
+++ pWord2Vec.cpp 2018-01-25 09:06:34.457110914 +0100
@@ -20,6 +20,7 @@
#include <cmath>
#include <algorithm>
#include <omp.h>
+#include <stdio.h>
#ifdef USE_MKL
#include "mkl.h"

View File

@ -0,0 +1,28 @@
name = 'VTune'
version = '2017_update5'
homepage = 'http://software.intel.com/en-us/intel-vtune-amplifier-xe'
description = "Intel VTune Amplifier XE 2016 is the premier performance profiler for C, C++, C#, Fortran, Assembly and Java."
toolchain = {'name': 'dummy', 'version': ''}
sources = ['vtune_amplifier_xe_%(version)s.tar.gz']
dontcreateinstalldir = 'True'
# license file
license_file = '/apps/licenses/intel/license.lic'
sanity_check_paths = {
'files': [],
'dirs': ['vtune_amplifier_xe_2017.5.0.526192'],
}
# Do necessary post-install steps to build VTune kernel modules
postinstallcmds = [
'mkdir %(installdir)s/modules',
'cd %(installdir)s/vtune_amplifier_xe/sepdk/src/ && '
'./build-driver --install-dir=%(installdir)s/modules --non-interactive',
]
moduleclass = 'tools'