From f0faeccbd01609f310bfd0bf1522c0669f10de1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Krup=C4=8D=C3=ADk?= Date: Wed, 4 Sep 2019 12:58:23 +0200 Subject: [PATCH] new file: o/OpenFOAM/OpenFOAM-v1906-foss-2018a.eb --- o/OpenFOAM/OpenFOAM-v1906-foss-2018a.eb | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 o/OpenFOAM/OpenFOAM-v1906-foss-2018a.eb diff --git a/o/OpenFOAM/OpenFOAM-v1906-foss-2018a.eb b/o/OpenFOAM/OpenFOAM-v1906-foss-2018a.eb new file mode 100644 index 00000000..b00be85f --- /dev/null +++ b/o/OpenFOAM/OpenFOAM-v1906-foss-2018a.eb @@ -0,0 +1,35 @@ +#IT4Innovations 2019 + +name = 'OpenFOAM' +version = 'v1906' + +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': '2018a'} +toolchainopts = {'cstd': 'c++11'} + +source_urls = ['https://sourceforge.net/projects/openfoamplus/files/%(version)s/'] +sources = [SOURCE_TGZ] +patches = ['OpenFOAM-v1812-cleanup.patch'] + +dependencies = [ + ('libreadline', '8.0', '', True), + ('ncurses', '6.1', '', True), + # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes) + ('METIS', '5.1.0', '', True), + ('SCOTCH', '6.0.6'), + ('CGAL', '4.11.1'), + ('ParaView', '5.4.1', '-mpi'), +] + +builddependencies = [ + ('Bison', '3.0.5', '', True), + ('CMake', '3.14.1', '', True), + ('flex', '2.6.4', '', True), +] + +moduleclass = 'cae'