new file: m/mkl/mkl-2017.4.239-GCC-6.3.0-2.27.eb

new file:   m/mkl/mkl-2017.4.239.eb
	modified:   n/numpy/numpy-1.13.3-Py-3.6.eb
	modified:   p/Python/Python-3.6.2-base.eb
	modified:   p/Python/Python-3.6.4-base.eb
	new file:   p/pudb/pudb-2017.1.4-Py-2.7.eb
	new file:   p/pudb/pudb-2017.1.4-Py-3.6.eb
	modified:   s/scipy/scipy-1.0.0-Py-3.6.eb
	deleted:    p/Python/.Python-3.6.4-base.eb.swp
This commit is contained in:
Lukáš Krupčík 2018-01-08 12:15:33 +01:00
parent 5727523114
commit 98f117d90d
10 changed files with 165 additions and 12 deletions

View File

@ -0,0 +1,34 @@
name = 'mkl'
version = '2017.4.239'
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': 'GCC', 'version': '6.3.0-2.27'}
sources = ['l_mkl_%(version)s.tgz']
checksums = ['3066272dd0ad3da7961b3d782e1fab3b']
dontcreateinstalldir = 'True'
interfaces = False
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'

34
m/mkl/mkl-2017.4.239.eb Normal file
View File

@ -0,0 +1,34 @@
name = 'mkl'
version = '2017.4.239'
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': 'dummy', 'version': ''}
sources = ['l_mkl_%(version)s.tgz']
checksums = ['3066272dd0ad3da7961b3d782e1fab3b']
dontcreateinstalldir = 'True'
interfaces = False
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'

View File

@ -13,6 +13,10 @@ toolchain = {'name': 'Py', 'version': '3.6'}
source_urls = ['https://github.com/numpy/numpy/releases/download/v%(version)s']
sources = ['%(name)s-%(version)s.tar.gz']
dependencies = [
('mkl', '2017.4.239', '', True),
]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python3.6/site-packages/numpy-%(version)s-py3.6-linux-x86_64.egg/numpy'],

Binary file not shown.

View File

@ -12,6 +12,10 @@ toolchainopts = {'pic': True, 'opt': True, 'optarch': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
prebuildopts = 'export CFLAGS="-I${EBROOTXZ}/include" && '
prebuildopts += 'export LDFLAGS="-L${EBROOTXZ}/lib" && '
configopts = "--enable-optimizations"
# python needs bzip2 to build the bz2 package
dependencies = [
('bzip2', '1.0.6'),

View File

@ -13,6 +13,10 @@ toolchainopts = {'pic': True, 'opt': True, 'optarch': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
prebuildopts = 'export CFLAGS="-I${EBROOTXZ}/include" && '
prebuildopts += 'export LDFLAGS="-L${EBROOTXZ}/lib" && '
configopts = "--enable-optimizations"
# python needs bzip2 to build the bz2 package
dependencies = [
('bzip2', '1.0.6'),

View File

@ -0,0 +1,20 @@
# IT4Innovations 2018
easyblock = "PythonPackage"
name = 'pudb'
version = '2017.1.4'
homepage = 'https://pypi.python.org/pypi/pudb'
description = 'PuDB is a full-screen, console-based visual debugger for Python.'
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python2.7/site-packages/%(name)s-%(version)s-py2.7.egg'],
}
moduleclass = 'python'

View File

@ -0,0 +1,20 @@
# IT4Innovations 2018
easyblock = "PythonPackage"
name = 'pudb'
version = '2017.1.4'
homepage = 'https://pypi.python.org/pypi/pudb'
description = 'PuDB is a full-screen, console-based visual debugger for Python.'
toolchain = {'name': 'Py', 'version': '3.6'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python3.6/site-packages/%(name)s-%(version)s-py3.6.egg'],
}
moduleclass = 'python'

View File

@ -0,0 +1,40 @@
# IT4Innovations 2018
easyblock = 'PythonPackage'
name = 'scipy'
version = '1.0.0'
versionsuffix = '-Py-3.6-test'
homepage = 'http://scipy.org'
description = """SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering.
It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and
image processing, ODE solvers, and more."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://github.com/scipy/scipy/releases/download/v%(version)s']
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('Py', '3.6'),
('numpy', '1.13.3', '-Py-3.6-test'),
]
builddependencies = [
('imkl', '2017.1.132', '', ('iimpi', '2017a')),
]
prebuildopts = 'echo "[mkl]" > site.cfg && '
prebuildopts += 'echo "include_dirs = $EBROOTIMKL/mkl/include" >> site.cfg && '
prebuildopts += 'echo "library_dirs = $EBROOTIMKL/mkl/lib/intel64" >> site.cfg && '
prebuildopts += 'echo "mkl_libs = mkl_intel_lp64,mkl_intel_thread,mkl_core" >> site.cfg && '
prebuildopts += 'echo "lapack_libs = mkl_lapack95_lp64" >> site.cfg && '
sanity_check_paths = {
'files': [],
'dirs': ['lib/python3.6/site-packages/scipy-1.0.0-py3.6-linux-x86_64.egg/scipy'],
}
sanity_check_commands = [('python', '-c "import scipy; assert(scipy.__version__ == \'%(version)s\')"')]
moduleclass = 'python'

View File

@ -4,31 +4,24 @@ easyblock = 'PythonPackage'
name = 'scipy'
version = '1.0.0'
versionsuffix = '-Py-3.6'
homepage = 'http://scipy.org'
description = """SciPy (pronounced 'Sigh Pie') is open-source software for mathematics, science, and engineering.
It includes modules for statistics, optimization, integration, linear algebra, Fourier transforms, signal and
image processing, ODE solvers, and more."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://github.com/scipy/scipy/releases/download/v%(version)s']
toolchain = {'name': 'Py', 'version': '3.6'}
source_urls = [PYPI_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('Py', '3.6'),
('numpy', '1.13.3', '-Py-3.6'),
]
builddependencies = [
('imkl', '2017.1.132', '', ('iimpi', '2017a')),
# ('LAPACK', '3.7.1', '', ('gompi', '2017a')),
# ('OpenBLAS', '0.2.19', '-LAPACK-3.7.0', ('GCC', '6.3.0-2.27')),
('numpy', '1.13.3'),
('mkl', '2017.4.239', '', True),
]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python3.6/site-packages/scipy-1.0.0-py3.6-linux-x86_64.egg/scipy'],
'dirs': ['lib/python3.6/site-packages/%(name)s-%(version)s-py3.6-linux-x86_64.egg/scipy'],
}
sanity_check_commands = [('python', '-c "import scipy; assert(scipy.__version__ == \'%(version)s\')"')]