Merge branch 'it4i-anselm'

This commit is contained in:
Josef Hrabal 2018-03-01 14:31:27 +01:00
commit ba9e8e9001
4 changed files with 72 additions and 4 deletions

View File

@ -0,0 +1,27 @@
# IT4Innovations 2018
easyblock = 'PythonPackage'
name = 'h5py'
version = '2.7.1'
homepage = 'https://github.com/jupyter/testpath'
description = """Test utilities for code working with files and commands"""
toolchain = {'name': 'Py', 'version': '3.6'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
dependencies = [
('HDF5', '1.10.1', '-serial', ('GCC', '6.3.0-2.27')),
('numpy', '1.13.3'),
('mpi4py', '3.0.0'), # required for MPI support
('six', '1.11.0'),
]
sanity_check_paths = {
'files': [],
'dirs': ['lib/python3.6/site-packages/%(name)s-%(version)s-py3.6-linux-x86_64.egg'],
}
moduleclass = 'python'

View File

@ -13,12 +13,18 @@ source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
dependencies = [
('Tensorflow', '1.2.1'),
('Keras', '2.1.4', '-Tensorflow-1.6.0rc0-CUDA-9.0.176'),
('OpenMPI', '1.10.7', '', ('GCC', '6.3.0-2.27')),
]
modextravars = {
'HOROVOD_NCCL_HOME': '$EBROOTNCCL',
'HOROVOD_GPU_ALLREDUCE': 'NCCL',
}
sanity_check_paths = {
'files': [],
'dirs': ['lib/python3.6/site-packages/%(name)s-%(version)s-py3.6.egg'],
'dirs': ['lib/python3.6/site-packages/%(name)s-%(version)s-py3.6-linux-x86_64.egg'],
}
moduleclass = 'python'

View File

@ -0,0 +1,34 @@
# IT4Innovations 2018
easyblock = 'PythonPackage'
name = 'Keras'
version = '2.1.4'
versionsuffix = '-Tensorflow-1.6.0rc0-CUDA-9.0.176'
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': 'Py', 'version': '3.6'}
source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]
dependencies = [
('Tensorflow', '1.6.0rc0', '-CUDA-9.0.176'),
('PyYAML', '3.12'),
('numpy', '1.13.3'),
('scipy', '1.0.0'),
('h5py', '2.7.1'),
]
# it defaults to Tensorflow
modextravars = {'KERAS_BACKEND': 'tensorflow'}
sanity_check_paths = {
'files': ['lib/python3.6/site-packages/%(name)s-%(version)s-py3.6.egg'],
'dirs': [],
}
moduleclass = 'python'

View File

@ -19,7 +19,8 @@ sources = [
dependencies = [
('cuDNN', '7.0.5', '-CUDA-9.0.176', True ),
('numpy', '1.13.3'),
('protobuf', '3.4.0'),
('protobuf-python', '3.5.1'),
('absl-py', '0.1.10'),
]
use_pip = True
@ -27,7 +28,7 @@ unpack_sources = False
sanity_check_paths = {
'files': ['bin/tensorboard'],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
'dirs': ['lib/python3.6/site-packages'],
}
moduleclass = 'lib'