new file: f/freetype/freetype-2.8.eb

new file:   h/h5py/h5py-2.7.0-intel-2017a-Python-2.7.13-base.eb
	new file:   k/Keras/Keras-2.0.5-intel-2017a-Python-3.6.1.eb
	new file:   l/libxslt/libxslt-1.1.29.eb
	new file:   l/libyaml/libyaml-0.1.7.eb
	new file:   l/lxml/lxml-3.8.0-Python-2.7.13-base.eb
	new file:   m/matplotlib/matplotlib-2.0.2-Python-2.7.13-base.eb
	new file:   m/mpi4py/mpi4py-2.0.0-intel-2017a-Python-2.7.13-base.eb
	new file:   n/numpy/numpy-1.12.1-Python-2.7.13-base.eb
	new file:   n/numpy/numpy-1.13.0-Python-2.7.13-base.eb
	new file:   p/PyYAML/PyYAML-3.12-Python-2.7.13-base.eb
	new file:   p/Python/Python-2.7.13-base.eb
	new file:   p/phonopy/phonopy-1.11.12.5-intel-2017a-Python-2.7.13-base.eb
	new file:   s/scipy/scipy-0.19.1-Python-2.7.13-base.eb
	new file:   t/Tensorflow/Tensorflow-1.2.0-GCC-7.1.0-2.28.eb
	deleted:    t/Tensorflow/Tensorflow-1.2.0-Python-3.6.1.eb
This commit is contained in:
Lukáš Krupčík 2017-07-04 12:00:16 +02:00
parent 3728c608d1
commit 4f031c35ce
15 changed files with 414 additions and 0 deletions

View File

@ -0,0 +1,21 @@
name = 'freetype'
version = '2.8'
homepage = 'http://freetype.org'
description = """FreeType 2 is a software font engine that is designed to be small, efficient, highly customizable, and
portable while capable of producing high-quality output (glyph images). It can be used in graphics libraries, display
servers, font conversion tools, text image generation tools, and many other products as well."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [GNU_SAVANNAH_SOURCE]
sources = [SOURCE_TAR_GZ]
dependencies = [('libpng', '1.6.29')]
sanity_check_paths = {
'files': ['bin/freetype-config', 'lib/libfreetype.a', 'lib/libfreetype.so', 'lib/pkgconfig/freetype2.pc'],
'dirs': ['include/freetype2'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,32 @@
easyblock = 'PythonPackage'
name = 'h5py'
version = '2.7.0'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'https://github.com/jupyter/testpath'
description = """Test utilities for code working with files and commands"""
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = ['https://pypi.python.org/packages/07/22/992b1eaa9a33caa40c0fc700bbd5db60da0335c3b581fe1fc72296942736/']
sources = ['%(name)s-%(version)s-cp27-cp27mu-manylinux1_x86_64.whl']
dependencies = [
('Python', '2.7.13', '-base', True),
('HDF5', '1.8.18', '-serial'),
('numpy', '1.13.0', versionsuffix, True),
('mpi4py', '2.0.0', versionsuffix ), # required for MPI support
]
use_pip = True
unpack_sources = False
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/h5py'],
}
sanity_check_commands = [('python', '-c "import h5py; assert(h5py.__version__ == \'%(version)s\')"')]
moduleclass = 'math'

View File

@ -0,0 +1,33 @@
easyblock = 'PythonPackage'
name = 'Keras'
version = '2.0.5'
versionsuffix = '-Python-%(pyver)s'
homepage = 'https://keras.io/'
description = """Keras is a minimalist, highly modular neural networks library, written in Python and
capable of running on top of either TensorFlow or Theano."""
toolchain = {'name': 'GCC', 'version': '7.1.0-2.28'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
use_pip = True
dependencies = [
('Python', '3.6.1', '', True),
('Tensorflow', '1.2.0',),
# ('h5py', '2.7.0', '%(versionsuffix)s'), internal Python 3.6.1
# ('PyYAML', '3.12', versionsuffix), internal Python 3.6.1
]
# it defaults to Tensorflow
modextravars = {'KERAS_BACKEND': 'tensorflow'}
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
moduleclass = 'math'

View File

@ -0,0 +1,24 @@
easyblock = 'ConfigureMake'
name = 'libxslt'
version = '1.1.29'
homepage = 'http://xmlsoft.org/'
description = """Libxslt is the XSLT C library developed for the GNOME project
(but usable outside of the Gnome platform)."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [
'http://xmlsoft.org/sources/',
'http://xmlsoft.org/sources/old/'
]
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('zlib', '1.2.11'),
('libxml2', '2.9.4'),
]
moduleclass = 'lib'

19
l/libyaml/libyaml-0.1.7.eb Executable file
View File

@ -0,0 +1,19 @@
easyblock = 'ConfigureMake'
name = 'libyaml'
version = '0.1.7'
homepage = 'http://pyyaml.org/wiki/LibYAML'
description = """LibYAML is a YAML 1.1 parser and emitter written in C."""
toolchain = {'name': 'dummy', 'version': ''}
sources = ['yaml-%(version)s.tar.gz']
source_urls = ['http://pyyaml.org/download/libyaml/']
sanity_check_paths = {
'files': ["include/yaml.h", "lib/libyaml.a", "lib/libyaml.%s" % SHLIB_EXT],
'dirs': ["lib/pkgconfig"]
}
moduleclass = 'lib'

View File

@ -0,0 +1,34 @@
easyblock = "PythonPackage"
name = 'lxml'
version = '3.8.0'
homepage = 'http://lxml.de/'
description = """The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['http://lxml.de/files/']
sources = [SOURCE_TGZ]
python = 'Python'
pythonversion = '2.7.13'
pyshortver = '.'.join(pythonversion.split('.')[:2])
versionsuffix = "-%s-%s-base" % (python, pythonversion)
dependencies = [
(python, pythonversion, '-base'),
('libxml2', '2.9.4'),
('libxslt', '1.1.29'),
]
pylibdir = "lib/python%s/site-packages/%%(name)s" % pyshortver
sanity_check_paths = {
'files': [],
'dirs': [('%s-%%(version)s-py%s.egg' % (pylibdir, pyshortver),
'%s-%%(version)s-py%s-linux-x86_64.egg' % (pylibdir, pyshortver))],
}
moduleclass = 'lib'

View File

@ -0,0 +1,36 @@
easyblock = "PythonPackage"
name = 'matplotlib'
version = '2.0.2'
homepage = 'http://matplotlib.org'
description = """matplotlib is a python 2D plotting library which produces publication quality figures in a variety of
hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python
and ipython shell, web application servers, and six graphical user interface toolkits."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://pypi.python.org/packages/f5/f0/9da3ef24ea7eb0ccd12430a261b66eca36b924aeef06e17147f9f9d7d310/']
sources = [SOURCELOWER_TAR_GZ]
python = "Python"
pythonversion = '2.7.13'
pyshortver = ".".join(pythonversion.split(".")[:-1])
versionsuffix = "-%s-%s-base" % (python, pythonversion)
dependencies = [
(python, pythonversion, '-base'),
('freetype', '2.8'),
('libpng', '1.6.29'),
('numpy', '1.13.0', versionsuffix),
]
pyprefix = 'lib/python%s/site-packages' % pyshortver
eggname = 'matplotlib-%%(version)s-py%s-linux-x86_64.egg' % pyshortver
sanity_check_paths = {
'files': [],
'dirs': [('%s/%%(name)s' % pyprefix, '%s/%s' % (pyprefix, eggname))],
}
moduleclass = 'vis'

View File

@ -0,0 +1,25 @@
easyblock = 'PythonPackage'
name = 'mpi4py'
version = '2.0.0'
versionsuffix = '-Python-2.7.13-base'
homepage = 'https://bitbucket.org/mpi4py/mpi4py'
description = """MPI for Python (mpi4py) provides bindings of the Message Passing Interface (MPI) standard for
the Python programming language, allowing any Python program to exploit multiple processors."""
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = [BITBUCKET_DOWNLOADS]
sources = [SOURCE_TAR_GZ]
dependencies = [
('Python', '2.7.13', '-base', True),
]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/mpi4py'],
}
moduleclass = 'lib'

View File

@ -0,0 +1,26 @@
name = 'numpy'
version = '1.12.1'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'http://www.numpy.org'
description = """NumPy is the fundamental package for scientific computing with Python. It contains among other things:
a powerful N-dimensional array object, sophisticated (broadcasting) functions, tools for integrating C/C++ and Fortran
code, useful linear algebra, Fourier transform, and random number capabilities. Besides its obvious scientific uses,
NumPy can also be used as an efficient multi-dimensional container of generic data. Arbitrary data-types can be
defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_ZIP]
#patches = ['numpy-1.12.0-mkl.patch']
dependencies = [
('Python', '2.7.13', '-base'),
]
# check that numpy is present in python and in proper version
sanity_check_commands = [('python', '-c "import numpy; assert(numpy.__version__ == \'%(version)s\')"')]
moduleclass = 'math'

View File

@ -0,0 +1,29 @@
easyblock = 'PythonPackage'
name = 'numpy'
version = '1.13.0'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'https://github.com/jupyter/testpath'
description = """Test utilities for code working with files and commands"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://pypi.python.org/packages/dd/b5/47bd2174dbb14e5fa2dd6ad28fd1d54d38e84d29c1b131a00354ddb0cae0/']
sources = ['%(name)s-%(version)s-cp27-cp27mu-manylinux1_x86_64.whl']
dependencies = [
('Python', '2.7.13', '-base'),
]
use_pip = True
unpack_sources = False
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/numpy'],
}
sanity_check_commands = [('python', '-c "import numpy; assert(numpy.__version__ == \'%(version)s\')"')]
moduleclass = 'math'

View File

@ -0,0 +1,32 @@
easyblock = "PythonPackage"
name = "PyYAML"
version = "3.12"
homepage = "https://pypi.python.org/pypi/PyYAML/"
description = """PyYAML is a YAML parser and emitter for the Python programming language."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
python = "Python"
pythonversion = "2.7.13"
py_short_ver = ".".join(pythonversion.split(".")[0:2])
versionsuffix = "-%s-%s-base" % (python, pythonversion)
dependencies = [
(python, pythonversion, '-base'),
('libyaml', '0.1.7'),
]
options = {'modulename': 'yaml'}
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%s/site-packages/yaml' % py_short_ver],
}
moduleclass = 'lib'

View File

@ -0,0 +1,42 @@
# Built with EasyBuild version 2.8.0 on 2016-07-13_09-40-51
easyblock = "EB_Python"
name = 'Python'
version = '2.7.13'
versionsuffix = '-base'
homepage = 'http://python.org/'
description = "Python is a programming language that lets you work more quickly and integrate your systems more effectively."
toolchain = {'name': 'dummy', 'version': ''}
toolchainopts = {'pic': True, 'opt': True, 'optarch': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
dependencies = [
('bzip2', '1.0.6'),
('zlib', '1.2.11'),
('libreadline', '7.0'),
('ncurses', '6.0'),
('SQLite', '3.17.0'),
('Tk', '8.6.6'),
]
osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]
#buildopts = 'CPPFLAGS="-I/apps/all/bzip2/1.0.6/include -I/apps/all/zlib/1.2.8/include -I/apps/all/ncurses/5.9/include -I/apps/all/SQLite/3.8.8.1/include" LDFLAGS="-L/apps/all/bzip2/1.0.6/lib -L/apps/all/zlib/1.2.8/lib -L/apps/all/ncurses/5.9/lib -L/apps/all/SQLite/3.8.8.1/lib:$CPPFLAGS"'
exts_list = [
('setuptools', '36.0.1', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools/'],
'source_tmpl': '%(name)s-%(version)s.zip',
}),
('pip', '9.0.1', {
'source_urls': ['http://pypi.python.org/packages/source/p/pip/'],
}),
('nose', '1.3.7', {
'source_urls': ['http://pypi.python.org/packages/source/n/nose/'],
}),
]
moduleclass = 'lang'

View File

@ -0,0 +1,31 @@
easyblock = 'PythonPackage'
name = 'phonopy'
version = '1.11.12.5'
homepage = 'http://phonopy.sourceforge.net/'
description = """Phonopy is an open source package of phonon calculations based on the supercell approach."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://pypi.python.org/packages/4b/25/effde7ab68249fbed654dc317354a028597bfd4a4f804d7cb3ed987c55b7/']
sources = ['%(name)s-%(version)s.tar.gz']
python = 'Python'
pythonversion = '2.7.13'
pythonshortversion = '.'.join(pythonversion.split('.')[:-1])
versionsuffix = "-%s-%s-base" % (python, pythonversion)
dependencies = [
(python, pythonversion, '-base'),
('matplotlib', '2.0.2', versionsuffix),
('lxml', '3.8.0', versionsuffix),
('PyYAML', '3.12', versionsuffix),
('numpy', '1.13.0', versionsuffix),
('h5py', '2.7.0', '-intel-2017a%(versionsuffix)s'),
]
pylibdir = "lib/python%s/site-packages/%%(name)s" % pythonshortversion
moduleclass = 'phys'

View File

@ -0,0 +1,30 @@
easyblock = 'PythonPackage'
name = 'scipy'
version = '0.19.1'
versionsuffix = '-Python-%(pyver)s-base'
homepage = 'https://github.com/jupyter/testpath'
description = """Test utilities for code working with files and commands"""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://pypi.python.org/packages/8e/43/a7b400e7ea07220fb419f0669ff17f5ef71653cf32827315224bc9dda9d4/']
sources = ['%(name)s-%(version)s-cp27-cp27mu-manylinux1_x86_64.whl']
dependencies = [
('Python', '2.7.13', '-base'),
('numpy', '1.13.0', versionsuffix),
]
use_pip = True
unpack_sources = False
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/scipy'],
}
sanity_check_commands = [('python', '-c "import scipy; assert(scipy.__version__ == \'%(version)s\')"')]
moduleclass = 'math'