From 9983345cba1221abc50264829eb1dd63897ded9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Thu, 29 Nov 2018 12:43:20 +0100 Subject: [PATCH] modified: k/Keras_Applications/Keras_Applications-1.0.6-Py-3.6.eb modified: m/mock/mock-2.0.0-Py-3.6.eb new file: n/numpy/numpy-1.15.4-Python-3.6.1.eb new file: t/Tensorflow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb --- .../Keras_Applications-1.0.6-Py-3.6.eb | 4 +++ m/mock/mock-2.0.0-Py-3.6.eb | 2 +- n/numpy/numpy-1.15.4-Python-3.6.1.eb | 32 +++++++++++++++++++ ...flow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb | 30 +++++++++++++++++ 4 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 n/numpy/numpy-1.15.4-Python-3.6.1.eb create mode 100644 t/Tensorflow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb diff --git a/k/Keras_Applications/Keras_Applications-1.0.6-Py-3.6.eb b/k/Keras_Applications/Keras_Applications-1.0.6-Py-3.6.eb index 83eb0439..2566692f 100644 --- a/k/Keras_Applications/Keras_Applications-1.0.6-Py-3.6.eb +++ b/k/Keras_Applications/Keras_Applications-1.0.6-Py-3.6.eb @@ -12,6 +12,10 @@ toolchain = {'name': 'Py', 'version': '3.6'} source_urls = [PYPI_SOURCE] sources = ['Keras_Applications-1.0.6.tar.gz'] +dependencies = [ + ('GCC', '6.3.0-2.27', '', True), +] + sanity_check_paths = { 'files': ['lib/python3.6/site-packages/%(name)s-%(version)s-py3.6.egg'], 'dirs': [], diff --git a/m/mock/mock-2.0.0-Py-3.6.eb b/m/mock/mock-2.0.0-Py-3.6.eb index 9eac8239..0345bf36 100644 --- a/m/mock/mock-2.0.0-Py-3.6.eb +++ b/m/mock/mock-2.0.0-Py-3.6.eb @@ -18,7 +18,7 @@ dependencies = [ sanity_check_paths = { 'files': [], - 'dirs': ['lib/python3.6/site-packages/mock-2.0.0-py3.6.egg-info/'], + 'dirs': ['lib/python3.6/site-packages/'], } moduleclass = 'python' diff --git a/n/numpy/numpy-1.15.4-Python-3.6.1.eb b/n/numpy/numpy-1.15.4-Python-3.6.1.eb new file mode 100644 index 00000000..2f184f5e --- /dev/null +++ b/n/numpy/numpy-1.15.4-Python-3.6.1.eb @@ -0,0 +1,32 @@ +# IT4Innovations 2018 + +easyblock = 'PythonPackage' + +name = 'numpy' +version = '1.15.4' + +homepage = 'http://www.numpy.org' +description = """NumPy is the fundamental package needed for scientific computing with Python.""" + +toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'} + +source_urls = ['https://github.com/numpy/numpy/releases/download/v%(version)s'] +sources = [SOURCE_TAR_GZ] + +patch = [ + 'numpy-1.8.1-mkl.patch', + 'numpy-1.11.0-sse42.patch' +] + +dependencies = [ + ('Python', '3.6.1', '', True), + ('mkl', '2017.4.239', '', True), +] + +sanity_check_paths = {'files': [], 'dirs': [ + 'lib/python3.6/site-packages/%(name)s-%(version)s-py3.6-linux-x86_64.egg/numpy'], } + +sanity_check_commands = [ + ('python', '-c "import numpy; assert(numpy.__version__ == \'%(version)s\')"')] + +moduleclass = 'python' diff --git a/t/Tensorflow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb b/t/Tensorflow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb new file mode 100644 index 00000000..ac0185a3 --- /dev/null +++ b/t/Tensorflow/Tensorflow-1.12.0-GCC-6.3.0-2.27-Python-3.6.1.eb @@ -0,0 +1,30 @@ +# IT4Innovations 2018 + +easyblock = 'PythonPackage' + +name = 'Tensorflow' +version = '1.12.0' +versionsuffix = '-Python-3.6.1' + +homepage = 'https://www.tensorflow.org/' +description = "An open-source software library for Machine Intelligence" + +toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'} + +sources = [ + 'tensorflow-%(version)s-cp36-cp36m-linux_x86_64.whl', +] + +dependencies = [ + ('Python', '3.6.1', '', True), +] + +use_pip = True +unpack_sources = False + +sanity_check_paths = { + 'files': ['bin/tensorboard'], + 'dirs': ['lib/python3.6/site-packages/tensorflow-1.12.0.dist-info/'], +} + +moduleclass = 'lib'