From d844d05ee61cab86604d02bcca0aac746395d244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Mon, 4 Sep 2017 10:02:32 +0200 Subject: [PATCH] new file: k/Keras/Keras-2.0.5-Tensorflow-1.3.0-Python-3.6.1.eb new file: p/protobuf/protobuf-3.2.0-GCC-6.4.0-2.28-Python-3.6.1.eb new file: p/protobuf/protobuf-3.4.0-Python-3.6.1.eb new file: t/Tensorflow/Tensorflow-1.2.0-intel-2017b-Python-3.6.1.eb new file: t/Tensorflow/Tensorflow-1.3.0-intel-2017b-Python-3.6.1.eb deleted: t/Tensorflow/Tensorflow-1.2.0-intel-2017.05-Python-3.6.1.eb deleted: t/Tensorflow/Tensorflow-1.3.0-intel-2017.05-Python-3.6.1.eb --- ...ras-2.0.5-Tensorflow-1.3.0-Python-3.6.1.eb | 31 +++++++++++++++++ ...tobuf-3.2.0-GCC-6.4.0-2.28-Python-3.6.1.eb | 33 ++++++++++++++++++ p/protobuf/protobuf-3.4.0-Python-3.6.1.eb | 34 +++++++++++++++++++ ...sorflow-1.2.0-intel-2017b-Python-3.6.1.eb} | 4 +-- ...sorflow-1.3.0-intel-2017b-Python-3.6.1.eb} | 4 +-- 5 files changed, 102 insertions(+), 4 deletions(-) create mode 100644 k/Keras/Keras-2.0.5-Tensorflow-1.3.0-Python-3.6.1.eb create mode 100644 p/protobuf/protobuf-3.2.0-GCC-6.4.0-2.28-Python-3.6.1.eb create mode 100644 p/protobuf/protobuf-3.4.0-Python-3.6.1.eb rename t/Tensorflow/{Tensorflow-1.2.0-intel-2017.05-Python-3.6.1.eb => Tensorflow-1.2.0-intel-2017b-Python-3.6.1.eb} (84%) rename t/Tensorflow/{Tensorflow-1.3.0-intel-2017.05-Python-3.6.1.eb => Tensorflow-1.3.0-intel-2017b-Python-3.6.1.eb} (81%) diff --git a/k/Keras/Keras-2.0.5-Tensorflow-1.3.0-Python-3.6.1.eb b/k/Keras/Keras-2.0.5-Tensorflow-1.3.0-Python-3.6.1.eb new file mode 100644 index 00000000..34ec54bf --- /dev/null +++ b/k/Keras/Keras-2.0.5-Tensorflow-1.3.0-Python-3.6.1.eb @@ -0,0 +1,31 @@ +easyblock = 'PythonPackage' + +name = 'Keras' +version = '2.0.5' +versionsuffix = '-Tensorflow-1.3.0-intel-2017b-mkl-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': 'dummy', 'version': ''} + +source_urls = [PYPI_SOURCE] +sources = [SOURCE_TAR_GZ] + +use_pip = True + +dependencies = [ + ('Python', '3.6.1'), + ('Tensorflow', '1.3.0', '-mkl', ('intel', '2017b')), +] + +# it defaults to Tensorflow +modextravars = {'KERAS_BACKEND': 'tensorflow'} + +sanity_check_paths = { + 'files': [], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +moduleclass = 'math' diff --git a/p/protobuf/protobuf-3.2.0-GCC-6.4.0-2.28-Python-3.6.1.eb b/p/protobuf/protobuf-3.2.0-GCC-6.4.0-2.28-Python-3.6.1.eb new file mode 100644 index 00000000..78d6cec4 --- /dev/null +++ b/p/protobuf/protobuf-3.2.0-GCC-6.4.0-2.28-Python-3.6.1.eb @@ -0,0 +1,33 @@ +easyblock = 'ConfigureMake' + +name = 'protobuf' +version = '3.2.0' +versionsuffix = '-Python-3.6.1' + +homepage = 'https://code.google.com/p/protobuf/' +description = """Google Protocol Buffers""" + +toolchain = {'name': 'GCC', 'version': '6.4.0-2.28'} + +sources = ['%(name)s-python-%(version)s.tar.gz'] +source_urls = ['https://github.com/google/protobuf/releases/download/v%(version)s/'] + +dependencies = [ + ('Python', '3.6.1', '', True), +] + +# after instalation: python3 setup.py install --cpp_implementation +postinstallcmds = [ + 'cp %(builddir)s/%(name)s-%(version)s/ %(installdir)s/build -R', +] + +sanity_check_paths = { + 'files': ['bin/protoc'], + 'dirs': [], +} + +modextravars = { + 'PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION': 'cpp', +} + +moduleclass = 'devel' diff --git a/p/protobuf/protobuf-3.4.0-Python-3.6.1.eb b/p/protobuf/protobuf-3.4.0-Python-3.6.1.eb new file mode 100644 index 00000000..20cc76d0 --- /dev/null +++ b/p/protobuf/protobuf-3.4.0-Python-3.6.1.eb @@ -0,0 +1,34 @@ +easyblock = 'ConfigureMake' + +name = 'protobuf' +version = '3.4.0' +versionsuffix = '-Python-3.6.1' + +homepage = 'https://code.google.com/p/protobuf/' +description = """Google Protocol Buffers""" + +toolchain = {'name': 'GCC', 'version': '6.4.0-2.28'} +toolchainopts = {'pic': True} + +sources = ['%(name)s-python-%(version)s.tar.gz'] +source_urls = ['https://github.com/google/protobuf/releases/download/v%(version)s/'] + +dependencies = [ + ('Python', '3.6.1', '', True), +] + +# after instalation: python3 setup.py install --cpp_implementation +postinstallcmds = [ + 'cp %(builddir)s/%(name)s-%(version)s/ %(installdir)s/build -R', +] + +sanity_check_paths = { + 'files': ['bin/protoc'], + 'dirs': [], +} + +modextravars = { + 'PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION': 'cpp', +} + +moduleclass = 'devel' diff --git a/t/Tensorflow/Tensorflow-1.2.0-intel-2017.05-Python-3.6.1.eb b/t/Tensorflow/Tensorflow-1.2.0-intel-2017b-Python-3.6.1.eb similarity index 84% rename from t/Tensorflow/Tensorflow-1.2.0-intel-2017.05-Python-3.6.1.eb rename to t/Tensorflow/Tensorflow-1.2.0-intel-2017b-Python-3.6.1.eb index 892e22a4..4346fe8f 100644 --- a/t/Tensorflow/Tensorflow-1.2.0-intel-2017.05-Python-3.6.1.eb +++ b/t/Tensorflow/Tensorflow-1.2.0-intel-2017b-Python-3.6.1.eb @@ -7,7 +7,7 @@ versionsuffix = '-mkl' homepage = 'https://www.tensorflow.org/' description = "An open-source software library for Machine Intelligence" -toolchain = {'name': 'intel', 'version': '2017.05'} +toolchain = {'name': 'intel', 'version': '2017b'} pymaj = '3' pymin = '6' @@ -20,7 +20,7 @@ sources = [ dependencies = [ ('Java', '1.8.0_121', '', True), - ('protobuf', '3.2.0', '-GCC-7.1.0-2.28-Python-3.6.1', True) + ('protobuf', '3.4.0', '-GCC-6.4.0-2.28-Python-3.6.1', True) ] use_pip = True diff --git a/t/Tensorflow/Tensorflow-1.3.0-intel-2017.05-Python-3.6.1.eb b/t/Tensorflow/Tensorflow-1.3.0-intel-2017b-Python-3.6.1.eb similarity index 81% rename from t/Tensorflow/Tensorflow-1.3.0-intel-2017.05-Python-3.6.1.eb rename to t/Tensorflow/Tensorflow-1.3.0-intel-2017b-Python-3.6.1.eb index 2124469a..c26e2954 100644 --- a/t/Tensorflow/Tensorflow-1.3.0-intel-2017.05-Python-3.6.1.eb +++ b/t/Tensorflow/Tensorflow-1.3.0-intel-2017b-Python-3.6.1.eb @@ -7,7 +7,7 @@ versionsuffix = '-mkl' homepage = 'https://www.tensorflow.org/' description = "An open-source software library for Machine Intelligence" -toolchain = {'name': 'intel', 'version': '2017.05'} +toolchain = {'name': 'intel', 'version': '2017b'} pymaj = '3' pymin = '6' @@ -19,7 +19,7 @@ sources = [ dependencies = [ ('Java', '1.8.0_121', '', True), - ('protobuf', '3.2.0', '-GCC-7.1.0-2.28-Python-3.6.1', True) + ('protobuf', '3.4.0', '-GCC-6.4.0-2.28-Python-3.6.1', True) ] use_pip = True