Skip to content
Snippets Groups Projects
Commit 29a53ee6 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

Anselm ... GNU/6.3.0/2.27

parent ead863d4
No related branches found
No related tags found
No related merge requests found
name = 'OpenFOAM'
version = '4.1'
homepage = 'http://www.openfoam.com/'
description = """OpenFOAM is a free, open source CFD software package.
OpenFOAM has an extensive range of features to solve anything from complex fluid flows
involving chemical reactions, turbulence and heat transfer,
to solid dynamics and electromagnetics."""
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'cstd': 'c++11'}
source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s.x/archive']
sources = ['version-%(version)s.tar.gz']
checksums = ['318a446c4ae6366c7296b61184acd37c']
patches = ['OpenFOAM-%(version)s-cleanup.patch']
dependencies = [
('libreadline', '6.3'),
('ncurses', '6.0'),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0', '', True),
('SCOTCH', '6.0.4'),
('CGAL', '4.8.1'),
('ParaView', '5.1.2', '-mpi'),
]
builddependencies = [
('Bison', '3.0.4'),
('CMake', '3.7.2'),
('flex', '2.6.3', '', ('GCCcore', '6.3.0')),
]
moduleclass = 'cae'
...@@ -13,11 +13,16 @@ source_urls = ['http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/d ...@@ -13,11 +13,16 @@ source_urls = ['http://www.open-mpi.org/software/ompi/v%(version_major_minor)s/d
dependencies = [('hwloc', '1.11.2')] dependencies = [('hwloc', '1.11.2')]
builddependencies = [
('Java', '1.8.0_51', '', True)
]
configopts = '--with-threads=posix --enable-shared --enable-mpi-thread-multiple --with-verbs ' configopts = '--with-threads=posix --enable-shared --enable-mpi-thread-multiple --with-verbs '
configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path configopts += '--enable-mpirun-prefix-by-default ' # suppress failure modes in relation to mpirun path
configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading configopts += '--disable-dlopen ' # statically link component, don't do dynamic loading
configopts += '--with-tm=/opt/pbs/default ' # Enable PBS configopts += '--with-tm=/opt/pbs/default ' # Enable PBS
configopts += '--enable-mpi-java ' # Java support RT#4090
# for PBS Pro 13 # for PBS Pro 13
preconfigopts = 'export LIBS="-ldl" && ' preconfigopts = 'export LIBS="-ldl" && '
......
easyblock = 'CMakeMake'
name = 'osm2pgsql'
version = '0.92.0'
homepage = 'http://wiki.openstreetmap.org/wiki/Osm2pgsql'
description = "osm2pgsql is a command-line based program that converts OpenStreetMap data to postGIS-enabled PostgreSQL databases"
toolchain = {'name': 'intel', 'version': '2017a' }
source_urls = ['https://github.com/openstreetmap/osm2pgsql/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['1aee8d5fcea0e51662640a886a6818c7']
patches = ['osm2pgsql-%(version)s_fix.patch']
files_to_copy = ['%(builddir)s/osm2pgsql']
configopts = '-DCMAKE_CXX_COMPILER=icpc -DCMAKE_CXX_FLAGS=-std=c++11'
separate_build_dir = True
builddependencies = [
('CMake', '3.7.2', '', True)
]
dependencies = [
('expat', '2.1.0', '', True),
('PROJ_4', '4.9.2', '', True),
('GEOS', '3.5.0', '', True),
('zlib', '1.2.11', '', True),
('Boost', '1.63.0'),
('Lua', '5.1.4-8', '', True)
]
sanity_check_paths = {
'files': ['bin/osm2pgsql'],
'dirs': [],
}
moduleclass = 'tools'
# Set prefix path to include required libraries from easybuild paths
diff -ru osm2pgsql-0.92.0/CMakeLists.txt osm2pgsql-0.92.0_patched/CMakeLists.txt
--- osm2pgsql-0.92.0/CMakeLists.txt 2016-12-16 10:43:19.000000000 +0100
+++ osm2pgsql-0.92.0_patched/CMakeLists.txt 2017-03-13 15:33:11.939403214 +0100
@@ -6,6 +6,8 @@
project(osm2pgsql)
+set(CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};$ENV{EBROOTGEOS};$ENV{EBROOTPROJ_4};$ENV{EBROOTLUA};$ENV{EBROOTZLIB};$ENV{EBROOTBOOST};$ENV{EBROOTEXPATH}")
+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set(DATA_DIR \"${CMAKE_INSTALL_PREFIX}/share/osm2pgsql\")
name = 'PROJ_4'
version = '4.9.2'
easyblock = 'ConfigureMake'
homepage = 'http://proj.osgeo.org'
description = """PROJ.4 - Cartographic Projections Library originally written by Gerald Evenden then of the USGS.
"""
toolchain = {'name': 'dummy', 'version': ''}
sources = ['%(version)s.tar.gz']
source_urls = ['https://github.com/OSGeo/proj.4/archive/']
moduleclass = 'geo'
easyblock = 'CMakeMake'
name = 'ParaView'
version = '5.1.2'
versionsuffix = '-mpi'
homepage = "http://www.paraview.org"
description = "ParaView is a scientific parallel visualizer."
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'pic': True, 'usempi': 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', '20160819'),
('Mesa', '12.0.2'),
('libGLU', '9.0.0'),
('Qt', '4.8.7'),
('zlib', '1.2.11', '', True),
('HDF5', '1.8.17'),
('Python', '2.7.12'),
]
builddependencies = [('CMake', '3.7.2', '', 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 '
# 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'
easyblock = 'MakeCp'
name = 'QBOX'
version = 'r140b'
homepage = 'https://asc.llnl.gov/CORAL-benchmarks/#qbox'
description = 'QBOX benchmark, part of CORAL suite'
toolchain = {'name': 'foss', 'version': '2016a' }
toolchainopts = {'usempi': True}
source_urls = ['https://asc.llnl.gov/CORAL-benchmarks/Science/']
sources = ['qball_%(version)s.tgz']
checksums = ['3eef50f376b02f9d569e0d6e761847ce']
patches = ['QBOX-%(version)s_fix.patch']
files_to_copy = [(['trunk/src/qb-linux_x86_64_intel'], 'bin')]
start_dir = 'trunk/src'
sanity_check_paths = {
'files': ['bin/qb-linux_x86_64_intel'],
'dirs': [],
}
moduleclass = 'tools'
# MPI_Comm is a typedef struct ompi_communicator_t *MPI_Comm.
# Csys2blacs_handle is called only here and returns a hardcoded zero
# this patch does not alter the behavior
# Martin Golasowski, martin.golasowski@vsb.cz, IT4Innovations 2017
diff -ru qball_r140/trunk/src/Context.C qball_r140_working/trunk/src/Context.C
--- qball_r140/trunk/src/Context.C 2013-04-18 20:31:13.000000000 +0200
+++ qball_r140_working/trunk/src/Context.C 2017-03-14 19:36:35.998218396 +0100
@@ -613,7 +613,7 @@
char order = 'C';
MPI_Comm_size(comm_,&nprocs);
MPI_Comm_rank(comm_,&mype_);
- int bhandle = Csys2blacs_handle(comm_);
+ int bhandle = 0;
ictxt_ = bhandle;
Cblacs_gridinit( &ictxt_, &order, nprow, npcol );
diff -ru qball_r140/trunk/src/Makefile qball_r140_working/trunk/src/Makefile
--- qball_r140/trunk/src/Makefile 2013-07-03 22:10:55.000000000 +0200
+++ qball_r140_working/trunk/src/Makefile 2017-03-14 19:15:26.870687572 +0100
@@ -7,7 +7,19 @@
# If defined, use architecture file set with ARCH variable
ARCH ?= $(ARCHGUESS)
-include $(ARCH).mk
+PLT=LINUX_X86_64_GNU
+FFTWDIR=${EBROOTFFTW}
+FFTWLIB=$(FFTWDIR)/lib/libfftw.a
+SCALAPACK_DIR = ${EBROOTSCALAPACK}
+SCALAPACKLIB = $(SCALAPACK_DIR)/lib/libscalapack.a
+BLASDIR = ${EBROOTOPENBLAS}
+DFLAGS += -DUSE_CSTDIO_LFS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+INCLUDE = -I$(FFTWDIR)/include
+CXXFLAGS= -DUSE_MPI -DSCALAPACK -DADD_ -D$(PLT) $(INCLUDE) $(DFLAGS)
+LD = ${CXX}
+LIBPATH = -L$(FFTWDIR) -L$(BLASDIR) -L$(EBROOTOPENMPI) -L$(SCALAPACK_DIR)/lib
+LIBS = -lscalapack -fopenmp -lopenblas -lgfortran
+LDFLAGS = $(LIBPATH) $(LIBS)
#------------------------------------------------------------------------------
#
TESTEXECS=testMatrix testFTGrid testGridFunction testBasis \
easyblock = 'EB_Qt'
name = 'Qt5'
version = '5.7.0'
homepage = 'http://qt.io/'
description = "Qt is a comprehensive cross-platform C++ application framework."
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = [
'http://download.qt.io/official_releases/qt/%(version_major_minor)s/%(version)s/single/',
'http://download.qt.io/archive/qt/%(version_major_minor)s/%(version)s/single/'
]
sources = ['qt-everywhere-opensource-src-%(version)s.tar.xz']
builddependencies = [
('fixesproto', '5.0'),
('glproto', '1.4.17'),
('inputproto', '2.3.1'),
('kbproto', '1.0.7'),
('libpthread-stubs', '0.3'),
('pkg-config', '0.29.1'),
('xcb-proto', '1.11', '', True),
('xextproto', '7.3.0'),
('xorg-macros', '1.19.0'),
('xproto', '7.0.28'),
('xtrans', '1.3.5'),
]
dependencies = [
('GLib', '2.48.0'),
('libX11', '1.6.3'),
('libXt', '1.1.5'),
('libXi', '1.7.6'),
('xcb-util', '0.4.0'),
('xcb-util-image', '0.4.0'),
('xcb-util-keysyms', '0.4.0'),
('xcb-util-renderutil', '0.3.9'),
('xcb-util-wm', '0.4.1'),
('libxkbcommon', '0.6.1'),
('libXrender', '0.9.9'),
('fontconfig', '2.11.95'),
('freetype', '2.6.3'),
('libXfixes', '5.0.1'),
('libXcursor', '1.1.14'),
('libXinerama', '1.1.3'),
('libXrandr', '1.5.0'),
('libpng', '1.6.21'),
('libGLU', '9.0.0', '-Mesa-11.2.1'),
]
# qtgamepad needs recent kernel/libevdev (fails on RHEL 6.x)
configopts = '-skip qtgamepad'
moduleclass = 'devel'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment