OpenFOAM-6-intel-2017a.eb 1.24 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
# IT4Innovations 2018

name = 'OpenFOAM'
version = '6'

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."""

12
toolchain = {'name': 'intel', 'version': '2017a'}
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
toolchainopts = {'cstd': 'c++11'}

source_urls = [
    'https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = ['version-%(version)s.tar.gz']
patches = ['OpenFOAM-%(version)s-cleanup.patch']
checksums = [
    '32a6af4120e691ca2df29c5b9bd7bc7a3e11208947f9bccf6087cfff5492f025',  # version-6.tar.gz
    '5accbde6bde116691ea6a4666348f85487b5d5503a9761435c2cb1412b036c28',
    # OpenFOAM-6-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'),
30 31 32
    ('SCOTCH', '6.0.5a'),
    ('CGAL', '4.8.1'),
    ('ParaView', '5.4.1', '-mpi'),
33 34 35 36 37 38 39 40 41
]

builddependencies = [
    ('Bison', '3.0.4', '', True),
    ('CMake', '3.11.4', '', ('GCC', '6.3.0-2.27')),
    ('flex', '2.6.4', '', True),
]

moduleclass = 'cae'