Skip to content

Commit 51fca5b

Browse files
authored
Merge pull request #14636 from boegel/20211227113904_new_pr_OpenFOAMv2112
{cae,math,numlib}[gompi/2021b] OpenFOAM vv2112, CGAL v4.14.3, SCOTCH v6.1.2 w/ Python 3.9.6
2 parents ef48710 + 63956ba commit 51fca5b

File tree

3 files changed

+101
-0
lines changed

3 files changed

+101
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name = 'CGAL'
2+
version = '4.14.3'
3+
4+
homepage = 'https://www.cgal.org/'
5+
description = """The goal of the CGAL Open Source Project is to provide easy access to efficient
6+
and reliable geometric algorithms in the form of a C++ library."""
7+
8+
toolchain = {'name': 'gompi', 'version': '2021b'}
9+
toolchainopts = {'strict': True}
10+
11+
source_urls = ['https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-%(version)s']
12+
sources = [SOURCE_TAR_XZ]
13+
checksums = ['5bafe7abe8435beca17a1082062d363368ec1e3f0d6581bb0da8b010fb389fe4']
14+
15+
builddependencies = [
16+
('CMake', '3.21.1'),
17+
('Eigen', '3.4.0'),
18+
]
19+
20+
dependencies = [
21+
('zlib', '1.2.11'),
22+
('Python', '3.9.6'),
23+
('Boost', '1.77.0'),
24+
('MPFR', '4.1.0'),
25+
('GMP', '6.2.1'),
26+
('Mesa', '21.1.7'),
27+
('libGLU', '9.0.2'),
28+
('Qt5', '5.15.2'),
29+
]
30+
31+
configopts = "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include\;$EBROOTLIBGLU/include "
32+
configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT
33+
configopts += "-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s " % SHLIB_EXT
34+
configopts += "-DWITH_ZLIB=ON -DWITH_MPFR=ON -DWITH_OpenGL=ON -DWITH_Eigen3=ON "
35+
configopts += "-DWITH_GMPXX=ON -DWITH_LAPACK=ON -DWITH_BLAS=ON "
36+
37+
moduleclass = 'numlib'
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name = 'OpenFOAM'
2+
version = 'v2112'
3+
4+
homepage = 'https://www.openfoam.com/'
5+
description = """OpenFOAM is a free, open source CFD software package.
6+
OpenFOAM has an extensive range of features to solve anything from complex fluid flows
7+
involving chemical reactions, turbulence and heat transfer,
8+
to solid dynamics and electromagnetics."""
9+
10+
toolchain = {'name': 'foss', 'version': '2021b'}
11+
toolchainopts = {'cstd': 'c++11'}
12+
13+
source_urls = ['https://sourceforge.net/projects/openfoam/files/%(version)s/']
14+
sources = [SOURCE_TGZ]
15+
patches = [
16+
('OpenFOAM-v2012-cleanup.patch', 1),
17+
'OpenFOAM-v1906-wmake-ompi.patch',
18+
]
19+
checksums = [
20+
'3e838731e79db1c288acc27aad8cc8a43d9dac1f24e5773e3b9fa91419a8c3f7', # OpenFOAM-v2112.tgz
21+
'cdd2597a1ac1448e9bd33a364a8dfe17f51cc9ab5a8e0ab67cf92bba3ed9da43', # OpenFOAM-v2012-cleanup.patch
22+
'518e27683c5c41400cfbc17b31effa50b31b25916dccbf85b18b0b955f642505', # OpenFOAM-v1906-wmake-ompi.patch
23+
]
24+
25+
builddependencies = [
26+
('Bison', '3.7.6'),
27+
('CMake', '3.21.1'),
28+
('flex', '2.6.4'),
29+
]
30+
31+
dependencies = [
32+
('libreadline', '8.1'),
33+
('ncurses', '6.2'),
34+
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
35+
('METIS', '5.1.0'),
36+
('SCOTCH', '6.1.2'),
37+
('CGAL', '4.14.3'),
38+
('ParaView', '5.9.1', '-mpi'),
39+
('gnuplot', '5.4.2'),
40+
]
41+
42+
moduleclass = 'cae'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
##
2+
# Author: Robert Mijakovic <[email protected]>
3+
##
4+
name = 'SCOTCH'
5+
version = '6.1.2'
6+
7+
homepage = 'https://gforge.inria.fr/projects/scotch/'
8+
description = """Software package and libraries for sequential and parallel graph partitioning,
9+
static mapping, and sparse matrix block ordering, and sequential mesh and hypergraph partitioning."""
10+
11+
toolchain = {'name': 'gompi', 'version': '2021b'}
12+
toolchainopts = {'pic': True}
13+
14+
source_urls = ['https://gitlab.inria.fr/scotch/scotch/-/archive/v%(version)s/']
15+
sources = ['%(namelower)s-v%(version)s.tar.gz']
16+
checksums = ['9c2c75c75f716914a2bd1c15dffac0e29a2f8069b2df1ad2b6207c984b699450']
17+
18+
dependencies = [
19+
('zlib', '1.2.11'),
20+
]
21+
22+
moduleclass = 'math'

0 commit comments

Comments
 (0)