Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
5ae1f5c
adding easyconfigs: OpenFOAM-4.1-foss-2017b.eb
Nov 15, 2017
404f7a0
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
bd8b08c
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
0a96a90
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
df498ea
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
277afc1
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
77d243b
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
69f465c
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
55e56b0
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
6ddb7e1
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
2712174
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
609b5e6
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
029e68d
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
13cd607
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
5b0329b
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
3b7e524
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
a3364f7
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
36b4dda
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
a7a0a0a
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
4fbee16
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
f5448e7
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
b8704ab
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
1e84790
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
706a6cd
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
13f2b66
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
b6e3c94
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
d68ade7
whitespaces + using existing patch for intltool-perl
Nov 16, 2017
2e98dcb
adding Paraview Patch file
Nov 16, 2017
fc2b09c
intltool patch perl
Nov 16, 2017
08214fc
dropping bzip2 foss2017 because conflicts
renatopancheri Nov 16, 2017
ba5f01d
actualli dropping bzip2
renatopancheri Nov 16, 2017
0452b26
dropping zlib because conflicts
renatopancheri Nov 16, 2017
1502bd5
dropping M4 cause conflicts
renatopancheri Nov 16, 2017
2db6bee
dropped autotools+dep; dropped cmake and adjusted other eb to use cma…
renatopancheri Nov 17, 2017
3f559d6
removed bunch of ebs (using existing with toolchain gcccore)
renatopancheri Nov 17, 2017
24bbf9a
removed dep conflits
renatopancheri Nov 17, 2017
5f11cbc
removed more deps
renatopancheri Nov 17, 2017
2edf9eb
first check on syntax conventions
renatopancheri Nov 17, 2017
c38bc3a
more syntax conventions+delete util-linux
renatopancheri Nov 17, 2017
6332c8f
fixed python dep versions
renatopancheri Nov 17, 2017
c046083
fixed libpng version (using x11 one)
renatopancheri Nov 17, 2017
b7f66a7
matplotlib missing whitespace before ,
renatopancheri Nov 17, 2017
b6875f3
paraview patch changed
renatopancheri Nov 21, 2017
2888605
Merge branch 'develop' into 20171115165231_new_pr_OpenFOAM41
renatopancheri Nov 21, 2017
e853b2c
Delete expat-2.2.5-foss-2017b.eb
renatopancheri Dec 21, 2017
a6cba72
Delete libGLU-9.0.0-foss-2017b.eb
renatopancheri Dec 21, 2017
9075ee7
Delete LLVM-5.0.1-foss-2017b.eb
renatopancheri Dec 21, 2017
c64d6f5
Delete libdrm-2.4.87-foss-2017b.eb
renatopancheri Dec 21, 2017
041c3f5
Delete Mako-1.0.7-foss-2017b-Python-2.7.14.eb
renatopancheri Dec 21, 2017
364d04e
Delete Mesa-17.2.4-foss-2017b.eb
renatopancheri Dec 21, 2017
7e3ac87
Update ParaView-5.2.0-foss-2017b-mpi.eb
renatopancheri Dec 21, 2017
81c341a
removed stuff from CGAL + qt5 ParaView
Jan 2, 2018
ced16ad
correcting style
Jan 2, 2018
bd388b2
corrected checksum
Jan 12, 2018
aea7b6a
returning to Qt4
Jan 19, 2018
f9c06ba
Delete Qt-4.8.7-foss-2017b.eb
renatopancheri Jan 19, 2018
aa27b4e
Delete SCOTCH-6.0.4-foss-2017b.eb
renatopancheri Jan 19, 2018
5b02dac
Delete CGAL-4.11-foss-2017b-Python-2.7.14.eb
renatopancheri Jan 19, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions easybuild/easyconfigs/m/METIS/METIS-5.1.0-foss-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name = 'METIS'
version = '5.1.0'

homepage = 'http://glaros.dtc.umn.edu/gkhome/metis/metis/overview'
description = """METIS is a set of serial programs for partitioning graphs, partitioning finite element meshes,
and producing fill reducing orderings for sparse matrices. The algorithms implemented in METIS are based on the
multilevel recursive-bisection, multilevel k-way, and multi-constraint partitioning schemes."""

toolchain = {'name': 'foss', 'version': '2017b'}
toolchainopts = {'optarch': True, 'pic': True}

sources = [SOURCELOWER_TAR_GZ]
source_urls = [
'http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis',
'http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD',
]
# we use 32bit for indices and 64bit for content
patches = ['METIS-5.1.0-use-doubles.patch']
checksums = [
'76faebe03f6c963127dbb73c13eab58c9a3faeae48779f049066a21c087c5db2', # metis-5.1.0.tar.gz
'7e38a3ec8f2b8e3d189239bade5b28c0dd1c564485050109164fa71a6a767c67', # METIS-5.1.0-use-doubles.patch
]

builddependencies = [('CMake', '3.9.5')]

configopts = ['', 'shared=1']

moduleclass = 'math'
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
easyblock = 'Bundle'

name = 'matplotlib'
version = '2.1.0'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://matplotlib.org'
description = """matplotlib is a python 2D plotting library which produces publication quality figures in a variety of
hardcopy formats and interactive environments across platforms. matplotlib can be used in python scripts, the python
and ipython shell, web application servers, and six graphical user interface toolkits."""

toolchain = {'name': 'foss', 'version': '2017b'}

# this is a bundle of Python packages
exts_defaultclass = 'PythonPackage'

dependencies = [
('Python', '2.7.14'),
('freetype', '2.8'),
('libpng', '1.6.32'),
]

exts_list = [
('Cycler', '0.10.0', {
'modulename': 'cycler',
'source_tmpl': 'cycler-%(version)s.tar.gz',
'source_urls': ['https://pypi.python.org/packages/source/C/Cycler'],
'checksums': [
'cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8', # cycler-0.10.0.tar.gz
],
}),
(name, version, {
'source_urls': ['https://pypi.python.org/packages/source/m/matplotlib'],
'checksums': [
'4b5f16c9cefde553ea79975305dcaa67c8e13d927b6e55aa14b4a8d867e25387', # matplotlib-2.1.0.tar.gz
],
}),
]

# specify that Bundle easyblock should run a full sanity check, rather than just trying to load the module
full_sanity_check = True

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

moduleclass = 'vis'
38 changes: 38 additions & 0 deletions easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-4.1-foss-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
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': 'foss', 'version': '2017b'}
toolchainopts = {'cstd': 'c++11'}

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s.x/archive']
sources = ['version-%(version)s.tar.gz']
patches = ['OpenFOAM-%(version)s-cleanup.patch']
checksums = [
'2de18de64e7abdb1b649ad8e9d2d58b77a2b188fb5bcb6f7c2a038282081fd31', # version-4.1.tar.gz
'7a9d418f18c475fb48ddc427be7271b0fd759ad183f09a6bcafe4b76924b2a70', # OpenFOAM-4.1-cleanup.patch
]

dependencies = [
('ParaView', '5.2.0', '-mpi'),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is quite old, why not use latest 5.4.1?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openFOAM build fails with paraview 5.4.1;
in the release notes of OpenFOAM 5 you can find "updated paraview version to 5.4
i assumed you need older version of paraview

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I run 2 tests on OpenFOAM 5 build with this CGAL i did not find anything strange,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks for clarifying.

('libreadline', '7.0'),
('ncurses', '6.0'),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0'),
('SCOTCH', '6.0.4'),
('CGAL', '4.11', '-Python-2.7.14'),
]

builddependencies = [
('Bison', '3.0.4'),
('CMake', '3.9.5'),
('flex', '2.6.4'),
]

moduleclass = 'cae'
61 changes: 61 additions & 0 deletions easybuild/easyconfigs/p/ParaView/ParaView-5.2.0-foss-2017b-mpi.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
easyblock = 'CMakeMake'

name = 'ParaView'
version = '5.2.0'
versionsuffix = '-mpi'

homepage = "http://www.paraview.org"
description = "ParaView is a scientific parallel visualizer."

toolchain = {'name': 'foss', 'version': '2017b'}
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"]
patches = ['ParaView-5.2.0_python-six-update.patch']
checksums = [
'894e42ef8475bb49e4e7e64f4ee2c37c714facd18bfbb1d6de7f69676b062c96', # ParaView-v5.2.0.tar.gz
'81c6bfd32b70bc06f8664f06e5873345bedacb99d1b94058d9ff1f1ec2d3b206', # ParaView-5.2.0_python-six-update.patch
]

dependencies = [
('X11', '20171023'),
('Mesa', '17.2.5'),
('libGLU', '9.0.0'),
('Qt', '4.8.7'),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@renatopancheri Can/should we also use Qt5 here?

('zlib', '1.2.11'),
('HDF5', '1.8.19'),
('matplotlib', '2.1.0', '-Python-2.7.14'),
]

builddependencies = [
('CMake', '3.9.5'),
('Python', '2.7.14'),
]

separate_build_dir = True

configopts = '-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DPARAVIEW_USE_MPI=ON -DBUILD_SHARED_LIBS=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 -DVTK_OPENGL_HAS_OSMESA=ON -DPARAVIEW_ENABLE_PYTHON=ON '
configopts += '-DVTK_WRAP_PYTHON=ON -DPARAVIEW_ENABLE_MATPLOTLIB=ON '
configopts += '-DPARAVIEW_QT_VERSION=4 -DQT_QMAKE_EXECUTABLE=$EBROOTQT/bin/qmake '
# 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 '
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we use this off by default, leads to too much trouble (tries to pull in stuff from the web)

# 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'
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Update for VTK third party dependency PythonSix(https://pypi.python.org/pypi/six)
From version 1.7.2 to using System Python one

This update is necessary because ParaView uses his version of six.py(v1.7.2) instead of the Python one, matplotlib plugin for Paraview needs six.py(>v.1.10.0).

--- a/VTK/ThirdParty/AutobahnPython/module.cmake 2016-11-14 16:41:57.000000000 +0100
+++ b/VTK/ThirdParty/AutobahnPython/module.cmake 2017-11-21 09:16:40.088867103 +0100

@@ -1,6 +1,5 @@
vtk_module(AutobahnPython
DEPENDS
- SixPython
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, where is it specified that six is 1.7.2?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in source ParaView VTK/ThirdParty/SixPython/six.py

Twisted
vtkPython
- EXCLUDE_FROM_WRAPPING)
\ No newline at end of file
+ EXCLUDE_FROM_WRAPPING)
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/q/Qt5/Qt5-5.9.2-foss-2017b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = 'EB_Qt'

name = 'Qt5'
version = '5.9.2'

homepage = 'http://qt.io/'
description = "Qt is a comprehensive cross-platform C++ application framework."

toolchain = {'name': 'foss', 'version': '2017b'}

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']
checksums = ['6c6171a4d1ea3fbd4212d6a04899650218583df3ec583a8a6a4a589fe18620ff']
# qtgamepad needs recent kernel/libevdev (fails on RHEL 6.x)
configopts = '-skip qtgamepad'

builddependencies = [('pkg-config', '0.29.2')]

dependencies = [
('GLib', '2.53.5'),
('libpng', '1.6.32'),
('X11', '20171023'),
('libGLU', '9.0.0'),
]

moduleclass = 'devel'