diff --git a/d/Doris/Doris-5.0beta-foss-2017a.eb b/d/Doris/Doris-5.0beta-foss-2017a.eb new file mode 100644 index 00000000..864a308b --- /dev/null +++ b/d/Doris/Doris-5.0beta-foss-2017a.eb @@ -0,0 +1,21 @@ +name = 'Doris' +version = '5.0beta' +versionsuffix = '-test' + +homepage = 'https://github.com/TUDelftGeodesy/Doris' +description = "Delft object-oriented radar interferometric software" + +toolchain = {'name': 'foss', 'version': '2017a'} + +source_urls = ['https://github.com/TUDelftGeodesy/Doris/archive/'] +sources = ['v%(version)s.tar.gz'] + +patches = [ + 'core_configure.patch', + 'sartools_Makefile.patch', + 'envisat_Makefile.patch', +] + +preconfigopts = 'export INSTALLDIR="%(installdir)s/bin" && ' + +moduleclass = 'geo' diff --git a/d/Doris/core_configure.patch b/d/Doris/core_configure.patch new file mode 100644 index 00000000..2ae6d25a --- /dev/null +++ b/d/Doris/core_configure.patch @@ -0,0 +1,10 @@ +--- doris_core/configure.orig 2017-06-30 08:31:18.746447724 +0200 ++++ doris_core/configure 2017-06-30 08:31:25.833183690 +0200 +@@ -622,7 +622,6 @@ + SCRIPTS = helpdoris \ + baseline.doris.sh \ + baseline.doris.csh \ +- construct_dem.sh \ + coregpm.doris \ + doris* \ + heightamb \ diff --git a/d/Doris/envisat_Makefile.patch b/d/Doris/envisat_Makefile.patch new file mode 100644 index 00000000..e5d90918 --- /dev/null +++ b/d/Doris/envisat_Makefile.patch @@ -0,0 +1,16 @@ +--- envisat_tools/Makefile.orig 2017-06-30 08:23:02.000000000 +0200 ++++ envisat_tools/Makefile 2017-06-30 08:26:54.000000000 +0200 +@@ -17,11 +17,11 @@ + ### Check if you agree with the options below (install_dir OK?) + ### then simply type: "make install" + SHELL = /bin/sh +-CC = gcc ++CC = ${CC} + #CFLAGS = -O3 + #CFLAGS = -m32 # for 64-bit systems, it requires compatibility lib32, no need for epr_api v2.2 + LFLAGS = -lm +-INSTALL_DIR = /home/gertmulder/bin/doris/doris_v5_wu_branch ++INSTALL_DIR = ${INSTALLDIR} + + + diff --git a/d/Doris/sartools_Makefile.patch b/d/Doris/sartools_Makefile.patch new file mode 100644 index 00000000..33193db2 --- /dev/null +++ b/d/Doris/sartools_Makefile.patch @@ -0,0 +1,15 @@ +--- sar_tools/Makefile.orig 2017-06-30 08:24:34.000000000 +0200 ++++ sar_tools/Makefile 2017-06-30 08:26:23.000000000 +0200 +@@ -23,10 +23,10 @@ + + ### Installdirdef should exist! + #INSTALL_DIR = /usr/local/bin +-INSTALL_DIR = /home/dlevelt/src/Doris_s1_git/bin ++INSTALL_DIR = ${INSTALLDIR} + + ### GCC compiler +-CC = g++ ++CC = ${CXX} + CFLAGS = -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-m32 to force 32bit on 64bit platform + + ### Intel compiler diff --git a/l/LAPACK/LAPACK-3.7.1-gompi-2017a.eb b/l/LAPACK/LAPACK-3.7.1-gompi-2017a.eb new file mode 100644 index 00000000..68ab4990 --- /dev/null +++ b/l/LAPACK/LAPACK-3.7.1-gompi-2017a.eb @@ -0,0 +1,15 @@ +name = 'LAPACK' +version = "3.7.1" + +homepage = 'http://www.netlib.org/lapack/' +description = """LAPACK is written in Fortran90 and provides routines for solving systems of + simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue + problems, and singular value problems.""" + +toolchain = {'name': 'gompi', 'version': '2017a'} +toolchainopts = {'pic': True} + +sources = [SOURCELOWER_TGZ] +source_urls = [homepage] + +moduleclass = 'numlib' diff --git a/p/Python/Python-2.7.9-intel-2015b.eb b/p/Python/Python-2.7.9-intel-2015b.eb index 802bc82f..e893cc4e 100644 --- a/p/Python/Python-2.7.9-intel-2015b.eb +++ b/p/Python/Python-2.7.9-intel-2015b.eb @@ -38,15 +38,6 @@ exts_list = [ ('nose', '1.3.4', { 'source_urls': ['http://pypi.python.org/packages/source/n/nose/'], }), - ('numpy', numpyversion, { - 'source_urls': [('http://sourceforge.net/projects/numpy/files/NumPy/%s' % numpyversion, 'download')], - 'patches': [ - 'numpy-1.8.0-mkl.patch', # % numpyversion, - ], - }), - ('scipy', scipyversion, { - 'source_urls': [('http://sourceforge.net/projects/scipy/files/scipy/%s' % scipyversion, 'download')], - }), ('blist', '1.3.6', { 'source_urls': ['http://pypi.python.org/packages/source/b/blist/'], }), @@ -110,9 +101,6 @@ exts_list = [ ('pytz', '2014.10', { 'source_urls': ['https://pypi.python.org/packages/source/p/pytz'], }), - ('pandas', '0.16.0', { - 'source_urls': ['https://pypi.python.org/packages/source/p/pandas'], - }), ] moduleclass = 'lang' diff --git a/p/phonopy/phonopy-1.11.12.5-intel-2015b-Python-2.7.9.eb b/p/phonopy/phonopy-1.11.12.5-intel-2015b-Python-2.7.9.eb new file mode 100644 index 00000000..2b384b02 --- /dev/null +++ b/p/phonopy/phonopy-1.11.12.5-intel-2015b-Python-2.7.9.eb @@ -0,0 +1,29 @@ +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': 'intel', 'version': '2015b'} + +source_urls = ['https://pypi.python.org/packages/4b/25/effde7ab68249fbed654dc317354a028597bfd4a4f804d7cb3ed987c55b7/'] +sources = ['%(name)s-%(version)s.tar.gz'] + +python = 'Python' +pythonversion = '2.7.9' +pythonshortversion = '.'.join(pythonversion.split('.')[:-1]) + +versionsuffix = "-%s-%s" % (python, pythonversion) + +dependencies = [ + (python, pythonversion), + ('matplotlib', '1.4.3', versionsuffix), + ('lxml', '3.4.4', versionsuffix), + ('PyYAML', '3.11', versionsuffix), +] + +pylibdir = "lib/python%s/site-packages/%%(name)s" % pythonshortversion + +moduleclass = 'phys' diff --git a/t/Trilinos/Trilinos-12.10.1-intel-2017a-Python-2.7.11.eb b/t/Trilinos/Trilinos-12.10.1-intel-2017a-Python-2.7.11.eb index ebe90e66..7aaf8057 100644 --- a/t/Trilinos/Trilinos-12.10.1-intel-2017a-Python-2.7.11.eb +++ b/t/Trilinos/Trilinos-12.10.1-intel-2017a-Python-2.7.11.eb @@ -15,22 +15,27 @@ sources = ['%(namelower)s-%(version)s-Source.tar.gz'] #patches = ['fix-parmetis.patch'] +builddependencies = [ + ('CMake', '3.5.2', '', True), +] + dependencies = [ ('Boost', '1.63.0', versionsuffix), ('SCOTCH', '6.0.4'), ('SuiteSparse', '4.5.3', '-ParMETIS-4.0.3'), ('ParMETIS', '4.0.3'), - ('netCDF', '4.4.1'), + ('netCDF', '4.4.1.1'), ('MATIO', '1.5.2'), ('GLM', '0.9.7.2'), - ('CMake', '3.7.2'), ] # STK Classic is deprecated/broken, STKDoc_tests needs to be disabled too because of it # see https://trilinos.org/oldsite/release_notes-11.10.html and https://github.com/trilinos/Trilinos/issues/19 #skip_exts = ['STKClassic', 'STKDoc_tests'] +prebuildopts = 'for NAME in `find -name link.txt`; do cat $NAME | sed -e "s/libcholmod.a/libcholmod.a -lmetis -lcamd -lccolamd/g" | tee $NAME; done &&' + # too parallel is too slow, and may cause build/tests to fail -maxparallel = 10 +maxparallel = 1 moduleclass = 'numlib' diff --git a/t/Trilinos/Trilinos-12.4.2-intel-2017a-Python-2.7.11.eb b/t/Trilinos/Trilinos-12.4.2-intel-2017a-Python-2.7.11.eb index 98703966..07a278c3 100644 --- a/t/Trilinos/Trilinos-12.4.2-intel-2017a-Python-2.7.11.eb +++ b/t/Trilinos/Trilinos-12.4.2-intel-2017a-Python-2.7.11.eb @@ -27,6 +27,8 @@ dependencies = [ builddependencies = [('CMake', '3.7.2')] + + # STK Classic is deprecated/broken, STKDoc_tests needs to be disabled too because of it # see https://trilinos.org/oldsite/release_notes-11.10.html and https://github.com/trilinos/Trilinos/issues/19 skip_exts = ['STKClassic', 'STKDoc_tests'] diff --git a/t/Trilinos/Trilinos-12.8.1-intel-2017a-Python-2.7.11.eb b/t/Trilinos/Trilinos-12.8.1-intel-2017a-Python-2.7.11.eb index 4dbd46d9..37df3527 100644 --- a/t/Trilinos/Trilinos-12.8.1-intel-2017a-Python-2.7.11.eb +++ b/t/Trilinos/Trilinos-12.8.1-intel-2017a-Python-2.7.11.eb @@ -20,7 +20,7 @@ dependencies = [ ('SCOTCH', '6.0.4'), ('SuiteSparse', '4.5.3', '-ParMETIS-4.0.3'), ('ParMETIS', '4.0.3'), - ('netCDF', '4.4.1'), + ('netCDF', '4.4.1.1'), ('MATIO', '1.5.2'), ('GLM', '0.9.7.2'), ] @@ -32,6 +32,6 @@ builddependencies = [('CMake', '3.7.2')] skip_exts = ['STKClassic', 'STKDoc_tests'] # too parallel is too slow, and may cause build/tests to fail -maxparallel = 10 +maxparallel = 8 moduleclass = 'numlib'