From 3d4a8c963b6f804880fabd8de3f5efee1b34681f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Thu, 27 Jul 2017 12:01:14 +0200 Subject: [PATCH] new file: c/CMake/CMake-3.9.0.eb modified: c/CNTK/CNTK-2.0-Python-3.6.1.eb modified: o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb modified: o/OpenMPI/OpenMPI-2.1.1-GCC-6.3.0-2.27.eb new file: p/ParaView/ParaView-5.4.0-intel-2017a-OSPRay-test.eb --- c/CMake/CMake-3.9.0.eb | 31 +++++++++++ c/CNTK/CNTK-2.0-Python-3.6.1.eb | 8 ++- o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb | 3 +- o/OpenMPI/OpenMPI-2.1.1-GCC-6.3.0-2.27.eb | 5 +- .../ParaView-5.4.0-intel-2017a-OSPRay-test.eb | 52 +++++++++++++++++++ 5 files changed, 91 insertions(+), 8 deletions(-) create mode 100644 c/CMake/CMake-3.9.0.eb create mode 100644 p/ParaView/ParaView-5.4.0-intel-2017a-OSPRay-test.eb diff --git a/c/CMake/CMake-3.9.0.eb b/c/CMake/CMake-3.9.0.eb new file mode 100644 index 00000000..2c75a838 --- /dev/null +++ b/c/CMake/CMake-3.9.0.eb @@ -0,0 +1,31 @@ +easyblock = 'ConfigureMake' + +name = 'CMake' +version = '3.9.0' + +homepage = 'http://www.cmake.org' +description = """CMake, the cross-platform, open-source build system. + CMake is a family of tools designed to build, test and package software.""" + +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = ['http://www.cmake.org/files/v%(version_major_minor)s'] +sources = [SOURCELOWER_TAR_GZ] + +configopts = '-- -DCMAKE_USE_OPENSSL=1' + +dependencies = [ + ('ncurses', '6.0'), + # OS dependency should be preferred if the os version is more recent then this version, + # it's nice to have an up to date openssl for security reasons + #('OpenSSL', '1.0.2j'), +] + +osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')] + +sanity_check_paths = { + 'files': ["bin/%s" % x for x in ['cmake', 'cpack', 'ctest']], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/c/CNTK/CNTK-2.0-Python-3.6.1.eb b/c/CNTK/CNTK-2.0-Python-3.6.1.eb index f2911eb5..f7a31158 100644 --- a/c/CNTK/CNTK-2.0-Python-3.6.1.eb +++ b/c/CNTK/CNTK-2.0-Python-3.6.1.eb @@ -6,9 +6,8 @@ name = 'CNTK' version = '2.0' versionsuffix = '-Python-%(pyver)s' -homepage = 'http://deeplearning.net/software/theano' -description = """Theano is a Python library that allows you to define, optimize, -and evaluate mathematical expressions involving multi-dimensional arrays efficiently.""" +homepage = 'https://cntk.ai/' +description = """The Microsoft Cognitive Toolkit is a unified deep-learning toolkit that describes neural networks as a series of computational steps via a directed graph. In this directed graph, leaf nodes represent input values or network parameters, while other nodes represent matrix operations upon their inputs. CNTK allows to easily realize and combine popular model types such as feed-forward DNNs, convolutional nets (CNNs), and recurrent networks (RNNs/LSTMs). It implements stochastic gradient descent (SGD, error backpropagation) learning with automatic differentiation and parallelization across multiple GPUs and servers. """ toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'} @@ -16,9 +15,8 @@ source_urls = ['https://cntk.ai/PythonWheel/CPU-Only'] sources = ['cntk-2.0-cp36-cp36m-linux_x86_64.whl'] dependencies = [ - ('glibc', '2.14', '', True), ('Python', '3.6.1', '', True), - ('OpenMPI', '1.10.7') + ('OpenMPI', '2.1.0') ] unpack_sources = False diff --git a/o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb b/o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb index 28dce110..540930eb 100644 --- a/o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb +++ b/o/OpenMPI/OpenMPI-2.1.0-GCC-6.3.0-2.27.eb @@ -27,9 +27,10 @@ preconfigopts = 'export LIBS="-ldl" && ' configopts = '--enable-shared --enable-mpi-thread-multiple --with-verbs ' configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support -#configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading +#configopts += '--disable-dlopen ' # dont disable dlopen! https://github.com/open-mpi/ompi/issues/3630 configopts += '--with-tm=/opt/pbs/default ' # Enable PBS configopts += '--enable-mpi-java ' # Java support RT#4090 +configopts += '--enable-mpi-cxx ' # Enable building the C++ MPI bindings # needed for --with-verbs osdependencies = [('libibverbs-dev', 'libibverbs-devel')] diff --git a/o/OpenMPI/OpenMPI-2.1.1-GCC-6.3.0-2.27.eb b/o/OpenMPI/OpenMPI-2.1.1-GCC-6.3.0-2.27.eb index 6e998239..3a2d89d1 100644 --- a/o/OpenMPI/OpenMPI-2.1.1-GCC-6.3.0-2.27.eb +++ b/o/OpenMPI/OpenMPI-2.1.1-GCC-6.3.0-2.27.eb @@ -16,7 +16,7 @@ builddependencies = [ ] dependencies = [ - ('hwloc', '1.11.6') + ('hwloc', '1.11.7') ] # for PBS Pro 13 @@ -25,9 +25,10 @@ preconfigopts = 'export LIBS="-ldl" && ' configopts = '--enable-shared --enable-mpi-thread-multiple --with-verbs ' configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support -#configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading +#configopts += '--disable-dlopen ' # dont disable dlopen! https://github.com/open-mpi/ompi/issues/3630 configopts += '--with-tm=/opt/pbs/default ' # Enable PBS configopts += '--enable-mpi-java ' # Java support RT#4090 +configopts += '--enable-mpi-cxx ' # Enable building the C++ MPI bindings # needed for --with-verbs osdependencies = [('libibverbs-dev', 'libibverbs-devel')] diff --git a/p/ParaView/ParaView-5.4.0-intel-2017a-OSPRay-test.eb b/p/ParaView/ParaView-5.4.0-intel-2017a-OSPRay-test.eb new file mode 100644 index 00000000..d8c44d2e --- /dev/null +++ b/p/ParaView/ParaView-5.4.0-intel-2017a-OSPRay-test.eb @@ -0,0 +1,52 @@ +easyblock = 'CMakeMake' + +name = 'ParaView' +version = '5.4.0' +versionsuffix = '-mpi-OSPRay-test' + +homepage = "http://www.paraview.org" +description = "ParaView is a scientific parallel visualizer." + +toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'} +toolchainopts = {'pic': True} + +download_suffix = 'download.php?submit=Download&version=v%(version_major_minor)s&type=source&os=all&downloadFile=' +source_urls = ['http://www.paraview.org/paraview-downloads/%s' % download_suffix] +sources = ["ParaView-v%(version)s.tar.gz"] + +dependencies = [ + ('X11', '20170314', '', True), + ('Mesa', '17.0.2', '', ('intel', '2017a')), + ('libGLU', '9.0.0', '', True), + ('Qt5', '5.8.0', '', ('GCC', '6.3.0-2.27')), + ('zlib', '1.2.11', '', True), + ('HDF5', '1.8.17', '', ('intel', '2017a')), + ('Python', '2.7.13', '', True), + ('OSPRay', '1.3.0', '', ('intel', '2017a')) +] + +builddependencies = [('CMake', '3.8.1', '', True)] + +separate_build_dir = True + +configopts = '-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DVTK_OPENGL_HAS_OSMESA=ON -DPARAVIEW_USE_MPI=ON ' +configopts += '-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include -DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s ' % SHLIB_EXT +configopts += '-DOSMESA_INCLUDE_DIR=$EBROOTMESA/include -DOSMESA_LIBRARY=$EBROOTMESA/lib/libOSMesa.%s ' % SHLIB_EXT +configopts += '-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s ' % SHLIB_EXT +configopts += '-DVTK_USE_SYSTEM_HDF5=ON -DPARAVIEW_ENABLE_PYTHON=ON -DBUILD_SHARED_LIBS=ON -DVTK_RENDERING_BACKEND=OpenGL2 ' +configopts += '-DPARAVIEW_USE_OSPRAY=ON -DOSPRAY_INSTALL_DIR=$EBROOTOSPRAY -DPARAVIEW_QT_VERSION=5 ' +# if you want to build server only Paraview, uncomment the following line: +configopts += '-DVTK_USE_X=OFF ' + +# Without internet connection turn off testing (uncomment the following line) +configopts += '-DBUILD_TESTING=OFF ' +# Or consult https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/data.md +# and download ExternalData to $EASYBUILD_SOURCEPATH and adjust -DExternalData_OBJECT_STORES accordingly +# Without internet connection, comment the following two lines (configopts and prebuildopts) +#configopts += '-DExternalData_OBJECT_STORES=%(builddir)s/ExternalData ' +# The ParaView server can be cranky, test downloads are quite often failing, especially in the case +# of parallel downloads. Using ; insted of && gives a second chance to download the test files, if the +# first serial attempt would fail. +#prebuildopts = 'make VTKData ;' + +moduleclass = 'vis'