Merge branch 'it4i-salomon'

This commit is contained in:
Lukáš Krupčík 2019-10-29 09:03:40 +01:00
commit 5926eb949f
2 changed files with 40 additions and 0 deletions

View File

@ -14,6 +14,7 @@ toolchainopts = {'cstd': 'c++11'}
source_urls = ['https://sourceforge.net/projects/openfoamplus/files/%(version)s/']
sources = [SOURCE_TGZ]
patches = ['OpenFOAM-%(version)s-cleanup.patch']
dependencies = [
@ -32,4 +33,6 @@ builddependencies = [
('flex', '2.6.4', '', True),
]
modextrapaths = {'PATH': 'OpenFOAM-%(version)s/bin'}
moduleclass = 'cae'

View File

@ -0,0 +1,37 @@
# IT4Innovations 2019
name = 'OpenFOAM'
version = 'v1906'
homepage = 'http://www.openfoam.org/'
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://sourceforge.net/projects/openfoamplus/files/%(version)s/']
sources = [SOURCE_TGZ]
patches = ['OpenFOAM-%(version)s-cleanup.patch']
dependencies = [
('libreadline', '7.0', '', True),
('ncurses', '6.1', '', True),
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
('METIS', '5.1.0'),
('SCOTCH', '6.0.5a'),
('CGAL', '4.8.1'),
('ParaView', '5.4.1', '-mpi'),
]
builddependencies = [
('Bison', '3.0.4', '', True),
('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27')),
('flex', '2.6.4', '', True),
]
modextrapaths = {'PATH': 'OpenFOAM-%(version)s/bin'}
moduleclass = 'cae'