Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{cae}[foss/2021a] OpenFOAM v2106 #13266

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
41 changes: 41 additions & 0 deletions easybuild/easyconfigs/c/CGAL/CGAL-5.2.2-gompi-2021a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
##
# Author: Robert Mijakovic <[email protected]>
##
name = 'CGAL'
version = '5.2.2'

homepage = 'https://www.cgal.org/'
description = """The goal of the CGAL Open Source Project is to provide easy access to efficient
and reliable geometric algorithms in the form of a C++ library."""

toolchain = {'name': 'gompi', 'version': '2021a'}
toolchainopts = {'strict': True}

source_urls = ['https://github.com/CGAL/cgal/releases/download/v%(version)s/']
sources = [SOURCE_TAR_XZ]
checksums = ['80b05049d20dc0e346f33037b6f87f69eb0b4407a3e27ffc10f7c71d45c05f7a']

builddependencies = [
('CMake', '3.20.1'),
('Eigen', '3.3.9'),
]

dependencies = [
('zlib', '1.2.11'),
('Python', '3.9.5'),
('Boost', '1.76.0'),
('MPFR', '4.1.0'),
('GMP', '6.2.1'),
('Mesa', '21.1.1'),
('libGLU', '9.0.1'),
('Qt5', '5.15.2'),
]

configopts = "-DCGAL_HEADER_ONLY=OFF "
configopts += "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include\;$EBROOTLIBGLU/include "
configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT
configopts += "-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s " % SHLIB_EXT
configopts += "-DWITH_ZLIB=ON -DWITH_MPFR=ON -DWITH_OpenGL=ON -DWITH_Eigen3=ON "
configopts += "-DWITH_GMPXX=ON -DWITH_LAPACK=ON -DWITH_BLAS=ON "

moduleclass = 'numlib'
49 changes: 49 additions & 0 deletions easybuild/easyconfigs/g/gnuplot/gnuplot-5.4.2-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
##
# Authors:: Fotis Georgatos <[email protected]>
# Robert Mijakovic <[email protected]>
##
easyblock = 'ConfigureMake'

name = 'gnuplot'
version = '5.4.2'

homepage = 'http://gnuplot.sourceforge.net/'
description = """Portable interactive, function plotting utility"""

toolchain = {'name': 'GCCcore', 'version': '10.3.0'}

source_urls = [('https://sourceforge.net/projects/gnuplot/files/gnuplot/%(version)s', 'download')]
sources = [SOURCE_TAR_GZ]
checksums = ['e57c75e1318133951d32a83bcdc4aff17fed28722c4e71f2305cfc2ae1cae7ba']

builddependencies = [
('binutils', '2.36.1'),
('pkg-config', '0.29.2'),
('Autotools', '20210128'),
]

dependencies = [
('ncurses', '6.2'),
('cairo', '1.16.0'),
('libjpeg-turbo', '2.0.6'),
('libpng', '1.6.37'),
('libgd', '2.3.1'),
('Pango', '1.48.5'),
('libcerf', '1.15'),
('X11', '20210518'),
('Qt5', '5.15.2'),
('Lua', '5.4.3'),
]

preconfigopts = 'autoreconf && '

configopts = '--with-qt=qt5 --without-latex '

sanity_check_paths = {
'files': ['bin/gnuplot'],
'dirs': []
}
# make sure that pdf terminal type is available
sanity_check_commands = ["gnuplot -e 'set terminal pdf'"]

moduleclass = 'vis'
31 changes: 31 additions & 0 deletions easybuild/easyconfigs/l/Lua/Lua-5.4.3-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
##
# Author: Robert Mijakovic <[email protected]>
##
name = 'Lua'
version = '5.4.3'

homepage = 'https://www.lua.org/'
description = """Lua is a powerful, fast, lightweight, embeddable scripting language.
Lua combines simple procedural syntax with powerful data description constructs based
on associative arrays and extensible semantics. Lua is dynamically typed,
runs by interpreting bytecode for a register-based virtual machine,
and has automatic memory management with incremental garbage collection,
making it ideal for configuration, scripting, and rapid prototyping."""

toolchain = {'name': 'GCCcore', 'version': '10.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://www.%(namelower)s.org/ftp/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['f8612276169e3bfcbcfb8f226195bfc6e466fe13042f1076cbde92b7ec96bbfb']

builddependencies = [
('binutils', '2.36.1'),
]

dependencies = [
('ncurses', '6.2'),
('libreadline', '8.1'),
]

moduleclass = 'lang'
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/l/libcerf/libcerf-1.15-GCCcore-10.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
##
# Author: Robert Mijakovic <[email protected]>
##
easyblock = 'CMakeMake'

name = 'libcerf'
version = '1.15'

homepage = 'https://jugit.fz-juelich.de/mlz/libcerf'

description = """
libcerf is a self-contained numeric library that provides an efficient and
accurate implementation of complex error functions, along with Dawson,
Faddeeva, and Voigt functions.
"""

toolchain = {'name': 'GCCcore', 'version': '10.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v%(version)s/']
sources = ['libcerf-v%(version)s.tar.gz']
checksums = ['a5d45475e08d431267fd29d6af987a9dd9b6792578ec3feb466d4d21f2844868']

builddependencies = [
('binutils', '2.36.1'),
('CMake', '3.20.1'),
('Perl', '5.32.1'), # required for pod2html
]

separate_build_dir = True

branfosj marked this conversation as resolved.
Show resolved Hide resolved
sanity_check_paths = {
'files': ['lib/libcerf.%s' % SHLIB_EXT],
'dirs': []
}

moduleclass = 'math'
45 changes: 45 additions & 0 deletions easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2106-foss-2021a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
##
# Author: Robert Mijakovic <[email protected]>
##
name = 'OpenFOAM'
version = 'v2106'

homepage = 'https://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': '2021a'}
toolchainopts = {'cstd': 'c++11'}

source_urls = ['https://sourceforge.net/projects/openfoam/files/%(version)s/']
sources = [SOURCE_TGZ]
patches = [
('OpenFOAM-v2012-cleanup.patch', 1),
'OpenFOAM-v1906-wmake-ompi.patch',
]
checksums = [
'e765881451d8d15ce33caa28850cdcc4534b8c4590e08ee6011bcafd11216940', # OpenFOAM-v2106.tgz
boegel marked this conversation as resolved.
Show resolved Hide resolved
'cdd2597a1ac1448e9bd33a364a8dfe17f51cc9ab5a8e0ab67cf92bba3ed9da43', # OpenFOAM-v2012-cleanup.patch
'518e27683c5c41400cfbc17b31effa50b31b25916dccbf85b18b0b955f642505', # OpenFOAM-v1906-wmake-ompi.patch
]

dependencies = [
('libreadline', '8.1'),
('ncurses', '6.2'),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0'),
('SCOTCH', '6.1.0'),
('CGAL', '5.2.2'),
('ParaView', '5.9.1', '-mpi'),
('gnuplot', '5.4.2'),
]

builddependencies = [
('Bison', '3.7.6'),
('CMake', '3.20.1'),
('flex', '2.6.4'),
]

moduleclass = 'cae'