new file: d/DBus/DBus-1.13.6-GCCcore-6.3.0.eb

new file:   d/dill/dill-0.2.9-Py-2.7.eb
	new file:   h/HDF5/HDF5-1.10.2-foss-2017a.eb
	new file:   m/multiprocess/multiprocess-0.70.7-Py-2.7.eb
	new file:   m/multiprocess/test.py
	new file:   n/NSPR/NSPR-4.20-GCCcore-6.3.0.eb
	new file:   n/NSS/NSS-3.39-GCCcore-6.3.0.eb
	new file:   o/OpenFOAM/OpenFOAM-5.0-intel-2017a-uv.eb
	new file:   o/OpenFOAM/OpenFOAM-6-intel-2017a.eb
	new file:   "o/OpenFOAM/etenv(\"EBROOTOPENFOAM\", root)"
	new file:   p/ParaView/ParaView-5.4.1-foss-2017a-mpi-uv.eb
	new file:   p/ParaView/ParaView-5.4.1-intel-2017a-mpi-uv.eb
	new file:   q/Qt5/Qt5-5.11.2-GCC-6.3.0-2.27.eb
	new file:   q/Qt5/Qt5-5.9.3-intel-2017a.eb
	new file:   s/som/som-1.1-gompi-2019.02.eb
	new file:   t/TRIQS/TRIQS-1.4.1-gompi-2019.02.eb
	deleted:    o/OpenFOAM/OpenFOAM-6-foss-2017b-noGUI.eb
	deleted:    q/Qt5/Qt5-5.11.1-GCC-6.3.0-2.27-uv.eb
This commit is contained in:
Lukáš Krupčík 2019-02-06 07:27:20 +01:00
parent 6735b14a9e
commit 9f32b453a7
16 changed files with 718 additions and 9 deletions

View File

@ -0,0 +1,43 @@
# IT4Innovations 2019
easyblock = 'ConfigureMake'
name = 'DBus'
version = '1.13.6'
homepage = 'http://dbus.freedesktop.org/'
description = """
D-Bus is a message bus system, a simple way for applications to talk
to one another. In addition to interprocess communication, D-Bus helps
coordinate process lifecycle; it makes it simple and reliable to code
a "single instance" application or daemon, and to launch applications
and daemons on demand when their services are needed.
"""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
toolchainopts = {'pic': True}
source_urls = ['http://dbus.freedesktop.org/releases/dbus']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['b533693232d36d608a09f70c15440c1816319bac3055433300d88019166c1ae4']
builddependencies = [
('binutils', '2.27'),
]
dependencies = [
('expat', '2.2.0', '', True),
]
configopts = '--without-systemdsystemunitdir'
sanity_check_paths = {
'files': ['bin/dbus-%s' % x for x in
['cleanup-sockets', 'daemon', 'launch', 'monitor',
'run-session', 'send', 'uuidgen']] +
['lib/libdbus-1.%s' % x for x in ['a', SHLIB_EXT]],
'dirs': ['include', 'share'],
}
moduleclass = 'devel'

View File

@ -0,0 +1,25 @@
# IT4Innovations 2019
easyblock = 'PythonPackage'
name = 'dill'
version = '0.2.9'
homepage = 'https://github.com/uqfoundation/dill'
description = """dill extends python's pickle module for serializing and de-serializing python objects to the majority of the built-in python types. Serialization is the process of converting an object to a byte stream, and the inverse of which is converting a byte stream back to on python object hierarchy."""
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = ['https://github.com/uqfoundation/dill/archive/']
sources = [SOURCE_TAR_GZ]
#dependencies = [
# ('mkl', '2017.4.239', '', True),
#]
sanity_check_paths = {
'files': [],
'dirs': ['bin', 'lib/python2.7/site-packages']
}
moduleclass = 'python'

View File

@ -0,0 +1,22 @@
# IT4Innovations 2018
name = 'HDF5'
version = '1.10.2'
homepage = 'http://www.hdfgroup.org/HDF5/'
description = """HDF5 is a unique technology suite that makes possible the management of
extremely large and complex data collections."""
toolchain = {'name': 'foss', 'version': '2017a'}
toolchainopts = {'pic': True, 'usempi': True}
source_urls = [
'https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%(version_major_minor)s/hdf5-%(version)s/src']
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('zlib', '1.2.11', '', True),
('Szip', '2.1', '', True),
]
moduleclass = 'data'

View File

@ -0,0 +1,25 @@
# IT4Innovations 2019
easyblock = 'PythonPackage'
name = 'multiprocess'
version = '0.70.7'
homepage = 'https://github.com/uqfoundation/multiprocess'
description = """multiprocess is a fork of multiprocessing, and is developed as part of pathos: https://github.com/uqfoundation/pathos multiprocessing is a package for the Python language which supports the spawning of processes using the API of the standard library's threading module. multiprocessing has been distributed in the standard library since python 2.6"""
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = ['https://github.com/uqfoundation/multiprocess/archive/']
sources = [SOURCE_TAR_GZ]
dependencies = [
('dill', '0.2.9'),
]
sanity_check_paths = {
'files': [],
'dirs': ['bin', 'lib/python2.7/site-packages']
}
moduleclass = 'python'

21
m/multiprocess/test.py Normal file
View File

@ -0,0 +1,21 @@
#!/usr/bin/env python
#
# nasledujici funguje v standardnim pythonu ale treba ne v defaultnim 2.7.5 na CentOSu
import multiprocessing
print multiprocessing.__version__
def f(x): return x*x
pool = multiprocessing.Pool(processes=4)
print pool.map(f, range(10))
pool.close()
pool.join()
#!/usr/bin/env python
#
# nasledujici funguje pouze pod multiprocess s podporou dill
import multiprocess
pool = multiprocess.Pool(processes=4)
print (pool.map(lambda x: (lambda y:y**2)(x) + x, xrange(10)))

View File

@ -0,0 +1,28 @@
easyblock = 'ConfigureMake'
name = 'NSPR'
version = '4.20'
homepage = 'https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR'
description = """Netscape Portable Runtime (NSPR) provides a platform-neutral API for system level
and libc-like functions."""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
source_urls = ['https://archive.mozilla.org/pub/nspr/releases/v%(version)s/src/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['2c8964913da89ffbaf464d49ce44d79e8804e1794ef9a8c52a7bff7224d1556e']
builddependencies = [('binutils', '2.27')]
configopts = "--disable-debug --enable-optimize --enable-64bit"
sanity_check_paths = {
'files': ['bin/nspr-config', 'lib/libnspr%(version_major)s.a', 'lib/libnspr%%(version_major)s.%s' % SHLIB_EXT,
'lib/libplc%(version_major)s.a', 'lib/libplc%%(version_major)s.%s' % SHLIB_EXT,
'lib/libplds%(version_major)s.a', 'lib/libplds%%(version_major)s.%s' % SHLIB_EXT,
'lib/pkgconfig/nspr.pc'],
'dirs': ['include/nspr'],
}
moduleclass = 'lib'

View File

@ -0,0 +1,45 @@
# IT4Innovations 2019
easyblock = 'MakeCp'
name = 'NSS'
version = '3.39'
homepage = 'https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS'
description = """Network Security Services (NSS) is a set of libraries designed to support cross-platform development
of security-enabled client and server applications."""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
source_urls = ['https://ftp.mozilla.org/pub/security/nss/releases/NSS_%(version_major)s_%(version_minor)s_RTM/src/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['NSS-%(version)s_pkgconfig.patch']
checksums = [
'6be64dd76f212415cc8bc34343ac1e7389048db4db9a023a84873c411dc5864b', # nss-3.39.tar.gz
'5c4b55842e5afd1e8e67b90635f6474510b89242963c4ac2622d3e3da9062774', # NSS-3.39_pkgconfig.patch
]
builddependencies = [('binutils', '2.27')]
dependencies = [
('NSPR', '4.20'),
('zlib', '1.2.11', '', True),
]
# building in parallel fails
parallel = 1
# fix for not being able to find header files
buildopts = 'BUILD_OPT=1 USE_64=1 CPATH="$EBROOTNSPR/include/nspr:$CPATH" && '
# also install pkgconfig file (see patch)
buildopts += "cd config && make PREFIX=%(installdir)s BUILD_OPT=1 USE_64=1 && cd -"
files_to_copy = ['../dist/Linux*.OBJ/*', (['../dist/public/*'], 'include')]
sanity_check_paths = {
'files': ['lib/libnss.a'],
'dirs': ['bin', 'include/dbm', 'include/nss'],
}
modextrapaths = {'CPATH': 'include/nss'}
moduleclass = 'lib'

View File

@ -0,0 +1,41 @@
# IT4Innovations 2018
name = 'OpenFOAM'
version = '5.0'
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']
patches = ['OpenFOAM-%(version)s-cleanup.patch']
dependencies = [
('libreadline', '7.0', '', True),
('ncurses', '6.0', '', True),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0'),
('SCOTCH', '6.0.5a'),
('CGAL', '4.8.1'),
# Maximum ParaView version 5.2! (ADD_PARAVIEW_OBJECT_PANEL is no longer
# supported)
('ParaView', '5.4.1', '-mpi'),
]
builddependencies = [
('Bison', '3.0.4', '', True),
('CMake', '3.7.2', '', True),
('flex', '2.6.0', '', True),
]
modextrapaths = {'PATH': 'OpenFOAM-%(version)s/bin'}
moduleclass = 'cae'

View File

@ -2,7 +2,6 @@
name = 'OpenFOAM'
version = '6'
versionsuffix= '-noGUI'
homepage = 'http://www.openfoam.org/'
description = """OpenFOAM is a free, open source CFD software package.
@ -10,7 +9,7 @@ description = """OpenFOAM is a free, open source CFD software package.
involving chemical reactions, turbulence and heat transfer,
to solid dynamics and electromagnetics."""
toolchain = {'name': 'foss', 'version': '2017b'}
toolchain = {'name': 'intel', 'version': '2017a'}
toolchainopts = {'cstd': 'c++11'}
source_urls = [
@ -28,8 +27,9 @@ dependencies = [
('ncurses', '6.1', '', True),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0'),
('SCOTCH', '6.0.5'),
('CGAL', '4.11.1'),
('SCOTCH', '6.0.5a'),
('CGAL', '4.8.1'),
('ParaView', '5.4.1', '-mpi'),
]
builddependencies = [

View File

@ -0,0 +1,224 @@
SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
Commands marked with * may be preceded by a number, _N.
Notes in parentheses indicate the behavior if _N is given.
h H Display this help.
q :q Q :Q ZZ Exit.
---------------------------------------------------------------------------
MMOOVVIINNGG
e ^E j ^N CR * Forward one line (or _N lines).
y ^Y k ^K ^P * Backward one line (or _N lines).
f ^F ^V SPACE * Forward one window (or _N lines).
b ^B ESC-v * Backward one window (or _N lines).
z * Forward one window (and set window to _N).
w * Backward one window (and set window to _N).
ESC-SPACE * Forward one window, but don't stop at end-of-file.
d ^D * Forward one half-window (and set half-window to _N).
u ^U * Backward one half-window (and set half-window to _N).
ESC-) RightArrow * Left one half screen width (or _N positions).
ESC-( LeftArrow * Right one half screen width (or _N positions).
F Forward forever; like "tail -f".
r ^R ^L Repaint screen.
R Repaint screen, discarding buffered input.
---------------------------------------------------
Default "window" is the screen height.
Default "half-window" is half of the screen height.
---------------------------------------------------------------------------
SSEEAARRCCHHIINNGG
/_p_a_t_t_e_r_n * Search forward for (_N-th) matching line.
?_p_a_t_t_e_r_n * Search backward for (_N-th) matching line.
n * Repeat previous search (for _N-th occurrence).
N * Repeat previous search in reverse direction.
ESC-n * Repeat previous search, spanning files.
ESC-N * Repeat previous search, reverse dir. & spanning files.
ESC-u Undo (toggle) search highlighting.
&_p_a_t_t_e_r_n * Display only matching lines
---------------------------------------------------
Search patterns may be modified by one or more of:
^N or ! Search for NON-matching lines.
^E or * Search multiple files (pass thru END OF FILE).
^F or @ Start search at FIRST file (for /) or last file (for ?).
^K Highlight matches, but don't move (KEEP position).
^R Don't use REGULAR EXPRESSIONS.
---------------------------------------------------------------------------
JJUUMMPPIINNGG
g < ESC-< * Go to first line in file (or line _N).
G > ESC-> * Go to last line in file (or line _N).
p % * Go to beginning of file (or _N percent into file).
t * Go to the (_N-th) next tag.
T * Go to the (_N-th) previous tag.
{ ( [ * Find close bracket } ) ].
} ) ] * Find open bracket { ( [.
ESC-^F _<_c_1_> _<_c_2_> * Find close bracket _<_c_2_>.
ESC-^B _<_c_1_> _<_c_2_> * Find open bracket _<_c_1_>
---------------------------------------------------
Each "find close bracket" command goes forward to the close bracket
matching the (_N-th) open bracket in the top line.
Each "find open bracket" command goes backward to the open bracket
matching the (_N-th) close bracket in the bottom line.
m_<_l_e_t_t_e_r_> Mark the current position with <letter>.
'_<_l_e_t_t_e_r_> Go to a previously marked position.
'' Go to the previous position.
^X^X Same as '.
---------------------------------------------------
A mark is any upper-case or lower-case letter.
Certain marks are predefined:
^ means beginning of the file
$ means end of the file
---------------------------------------------------------------------------
CCHHAANNGGIINNGG FFIILLEESS
:e [_f_i_l_e] Examine a new file.
^X^V Same as :e.
:n * Examine the (_N-th) next file from the command line.
:p * Examine the (_N-th) previous file from the command line.
:x * Examine the first (or _N-th) file from the command line.
:d Delete the current file from the command line list.
= ^G :f Print current file name.
---------------------------------------------------------------------------
MMIISSCCEELLLLAANNEEOOUUSS CCOOMMMMAANNDDSS
-_<_f_l_a_g_> Toggle a command line option [see OPTIONS below].
--_<_n_a_m_e_> Toggle a command line option, by name.
__<_f_l_a_g_> Display the setting of a command line option.
___<_n_a_m_e_> Display the setting of an option, by name.
+_c_m_d Execute the less cmd each time a new file is examined.
!_c_o_m_m_a_n_d Execute the shell command with $SHELL.
|XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command.
v Edit the current file with $VISUAL or $EDITOR.
V Print version number of "less".
---------------------------------------------------------------------------
OOPPTTIIOONNSS
Most options may be changed either on the command line,
or from within less by using the - or -- command.
Options may be given in one of two forms: either a single
character preceded by a -, or a name preceeded by --.
-? ........ --help
Display help (from command line).
-a ........ --search-skip-screen
Forward search skips current screen.
-b [_N] .... --buffers=[_N]
Number of buffers.
-B ........ --auto-buffers
Don't automatically allocate buffers for pipes.
-c -C .... --clear-screen --CLEAR-SCREEN
Repaint by clearing rather than scrolling.
-d ........ --dumb
Dumb terminal.
-D [_x_n_._n] . --color=_x_n_._n
Set screen colors. (MS-DOS only)
-e -E .... --quit-at-eof --QUIT-AT-EOF
Quit at end of file.
-f ........ --force
Force open non-regular files.
-F ........ --quit-if-one-screen
Quit if entire file fits on first screen.
-g ........ --hilite-search
Highlight only last match for searches.
-G ........ --HILITE-SEARCH
Don't highlight any matches for searches.
-h [_N] .... --max-back-scroll=[_N]
Backward scroll limit.
-i ........ --ignore-case
Ignore case in searches that do not contain uppercase.
-I ........ --IGNORE-CASE
Ignore case in all searches.
-j [_N] .... --jump-target=[_N]
Screen position of target lines.
-J ........ --status-column
Display a status column at left edge of screen.
-k [_f_i_l_e] . --lesskey-file=[_f_i_l_e]
Use a lesskey file.
-L ........ --no-lessopen
Ignore the LESSOPEN environment variable.
-m -M .... --long-prompt --LONG-PROMPT
Set prompt style.
-n ........ --line-numbers
Don't use line numbers.
-N ........ --LINE-NUMBERS
Use line numbers.
-o [_f_i_l_e] . --log-file=[_f_i_l_e]
Copy to log file (standard input only).
-O [_f_i_l_e] . --LOG-FILE=[_f_i_l_e]
Copy to log file (unconditionally overwrite).
-p [_p_a_t_t_e_r_n] --pattern=[_p_a_t_t_e_r_n]
Start at pattern (from command line).
-P [_p_r_o_m_p_t] --prompt=[_p_r_o_m_p_t]
Define new prompt.
-q -Q .... --quiet --QUIET --silent --SILENT
Quiet the terminal bell.
-r -R .... --raw-control-chars --RAW-CONTROL-CHARS
Output "raw" control characters.
-s ........ --squeeze-blank-lines
Squeeze multiple blank lines.
-S ........ --chop-long-lines
Chop long lines.
-t [_t_a_g] .. --tag=[_t_a_g]
Find a tag.
-T [_t_a_g_s_f_i_l_e] --tag-file=[_t_a_g_s_f_i_l_e]
Use an alternate tags file.
-u -U .... --underline-special --UNDERLINE-SPECIAL
Change handling of backspaces.
-V ........ --version
Display the version number of "less".
-w ........ --hilite-unread
Highlight first new line after forward-screen.
-W ........ --HILITE-UNREAD
Highlight first new line after any forward movement.
-x [_N[,...]] --tabs=[_N[,...]]
Set tab stops.
-X ........ --no-init
Don't use termcap init/deinit strings.
--no-keypad
Don't use termcap keypad init/deinit strings.
-y [_N] .... --max-forw-scroll=[_N]
Forward scroll limit.
-z [_N] .... --window=[_N]
Set size of window.
-" [_c[_c]] . --quotes=[_c[_c]]
Set shell quote characters.
-~ ........ --tilde
Don't display tildes after end of file.
-# [_N] .... --shift=[_N]
Horizontal scroll amount (0 = one half screen width)
---------------------------------------------------------------------------
LLIINNEE EEDDIITTIINNGG
These keys can be used to edit text being entered
on the "command line" at the bottom of the screen.
RightArrow ESC-l Move cursor right one character.
LeftArrow ESC-h Move cursor left one character.
CNTL-RightArrow ESC-RightArrow ESC-w Move cursor right one word.
CNTL-LeftArrow ESC-LeftArrow ESC-b Move cursor left one word.
HOME ESC-0 Move cursor to start of line.
END ESC-$ Move cursor to end of line.
BACKSPACE Delete char to left of cursor.
DELETE ESC-x Delete char under cursor.
CNTL-BACKSPACE ESC-BACKSPACE Delete word to left of cursor.
CNTL-DELETE ESC-DELETE ESC-X Delete word under cursor.
CNTL-U ESC (MS-DOS only) Delete entire line.
UpArrow ESC-k Retrieve previous command line.
DownArrow ESC-j Retrieve next command line.
TAB Complete filename & cycle.
SHIFT-TAB ESC-TAB Complete filename & reverse cycle.
CNTL-L Complete filename, list all.

View File

@ -0,0 +1,62 @@
# IT4Innovations 2019
# UV1
easyblock = 'CMakeMake'
name = 'ParaView'
version = '5.4.1'
versionsuffix = '-mpi'
homepage = "http://www.paraview.org"
description = "ParaView is a scientific parallel visualizer."
toolchain = {'name': 'foss', '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"]
checksums = ['390d0f5dc66bf432e202a39b1f34193af4bf8aad2355338fa5e2778ea07a80e4']
dependencies = [
('X11', '20160819', '', True),
('Mesa', '18.1.3', '', ('GCC', '6.3.0-2.27')),
('libGLU', '9.0.0', '', True),
('Qt5', '5.8.0', '', ('GCC', '6.3.0-2.27')),
('zlib', '1.2.11', '', True),
('HDF5', '1.10.2'),
('Python', '2.7.13', '', True),
]
builddependencies = [
# ('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27'))
('CMake', '3.9.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 '
# 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 '
configopts += ' -DPARAVIEW_QT_VERSION=5 -DQT_QMAKE_EXECUTABLE=$EBROOTQT5/bin/qmake '
# 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'

View File

@ -0,0 +1,57 @@
# IT4Innovations
easyblock = 'CMakeMake'
name = 'ParaView'
version = '5.4.1'
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"]
patches = ['ParaView-5.4.1-Qt.patch']
dependencies = [
('X11', '20160819', '', True),
('Mesa', '12.0.2'),
('libGLU', '9.0.0', '', True),
('Qt5', '5.8.0', '', ('GCC', '6.3.0-2.27')),
('zlib', '1.2.11', '', True),
('HDF5', '1.8.17'),
('Python', '2.7.13', '', True),
]
builddependencies = [('CMake', '3.9.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_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'

View File

@ -0,0 +1,41 @@
easyblock = 'EB_Qt'
name = 'Qt5'
version = '5.11.2'
homepage = 'http://qt.io/'
description = "Qt is a comprehensive cross-platform C++ application framework."
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
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-src-%(version)s.tar.xz']
checksums = ['c6104b840b6caee596fa9a35bc5f57f67ed5a99d6a36497b6fe66f990a53ca81']
builddependencies = [
('pkg-config', '0.29.2', '', True),
('Bison', '3.0.4', '', True),
('flex', '2.6.4', '', True),
('Python', '2.7.13', '', True),
]
dependencies = [
('GLib', '2.57.1', '', True),
('libpng', '1.6.34', '', True),
('X11', '20170314', '', True),
('libGLU', '9.0.0', '', True),
('NSS', '3.39'),
('DBus', '1.13.6'),
('gperf', '3.1', '', True),
]
# qtgamepad needs recent kernel/libevdev (fails on RHEL 6.x)
configopts = '-skip qtgamepad'
# make sure QtWebEngine component is being built & installed
check_qtwebengine = True
moduleclass = 'devel'

View File

@ -3,17 +3,18 @@
easyblock = 'EB_Qt'
name = 'Qt5'
version = '5.11.1'
version = '5.9.3'
homepage = 'http://qt.io/'
description = "Qt is a comprehensive cross-platform C++ application framework."
toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}
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-src-%(version)s.tar.xz']
'http://download.qt.io/archive/qt/%(version_major_minor)s/%(version)s/single/'
]
sources = ['qt-everywhere-opensource-src-%(version)s.tar.xz']
#patches = ['Qt5-5.7.1_fix-nan-inf.patch']
@ -26,9 +27,10 @@ configopts = '-skip qtgamepad'
dependencies = [
('GLib', '2.57.1', '', True),
('libpng', '1.6.34', '', True),
('X11', '20170314', '', True),
('libGLU', '9.0.0', '', True),
('Mesa', '18.1.3'),
('Mesa', '18.1.3', '', ('GCC', '6.3.0-2.27')),
]
moduleclass = 'devel'

View File

@ -0,0 +1,33 @@
# IT4Innovations 2019
easyblock = 'CMakeMake'
name = 'som'
version = '1.1'
homepage = 'http://krivenko.github.io/som/index.html'
description = 'The TRIQS-based Stochastic Optimization Method for Analytic Continuation allows to solve a family of Fredholm integral equations of the first kind.'
toolchain = {'name': 'gompi', 'version': '2019.02'}
source_urls = ['https://github.com/krivenko/som/archive/']
sources = ['%(version)s.tar.gz']
dependencies = [
('TRIQS', '1.4.1'),
]
builddependencies = [
('CMake', '3.13.1', '', True),
]
configopts = '-DTRIQS_PATH=$EBROOTTRIQS'
separate_build_dir = True
sanity_check_paths = {
'files': ['bin/som', 'lib/libtriqs.so'],
'dirs': [],
}
moduleclass = 'lib'

View File

@ -0,0 +1,40 @@
# IT4Innovations 2019
# cthyb extension installed manually https://triqs.ipht.cnrs.fr/1.4/applications/cthyb/install.html
# som extension installed with EB s/som/som-1.1-foss-2017a.eb
easyblock = 'CMakeMake'
name = 'TRIQS'
version = '1.4.1'
homepage = 'https://triqs.ipht.cnrs.fr'
description = """TRIQS (Toolbox for Research on Interacting Quantum Systems) is a scientific
project providing a set of C++ and Python libraries to develop new tools for the study
of interacting quantum systems."""
toolchain = {'name': 'gompi', 'version': '2019.02'}
source_urls = ['https://github.com/TRIQS/triqs/archive/']
sources = ['%(version)s.tar.gz']
dependencies = [
('HDF5', '1.10.4', '-serial'),
('FFTW', '3.3.8'),
('Clang', '7.0.1'),
('OpenBLAS', '0.2.20'),
('Boost', '1.68.0', '-Python-2.7.15'),
]
builddependencies = [
('CMake', '3.13.1', '', True),
]
separate_build_dir = True
sanity_check_paths = {
'files': ['bin/pytriqs', 'lib/libtriqs.so'],
'dirs': [],
}
moduleclass = 'lib'