Skip to content
Merged
Changes from all 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
45 changes: 45 additions & 0 deletions easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-8-foss-2020b-20210316.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name = 'OpenFOAM'
local_commit = '1c9b587'
version = '8'
versionsuffix = '-20210316'
Comment thread
verdurin marked this conversation as resolved.

homepage = 'https://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': 'foss', 'version': '2020b'}
toolchainopts = {'cstd': 'c++11'}

source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
sources = [{
'download_filename': '%s.tar.gz' % local_commit,
'filename': 'OpenFOAM-%(version)s%(versionsuffix)s.tar.gz',
}]
patches = [
'OpenFOAM-%(version)s-cleanup.patch',
]
checksums = [
'2fef19014b408e4ea42062d5bf204419af086cbfa56a21a96676007f926b48f2', # OpenFOAM-8-20210316.tar.gz
'e3fac8049611ee109f07eb5b0ed4b1526782a21b3f12435e03529d56c8483b9f', # OpenFOAM-8-cleanup.patch
]

dependencies = [
('libreadline', '8.0'),
('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'),
('ParaView', '5.8.1', '-mpi'),
('gnuplot', '5.4.1'),
]

builddependencies = [
('Bison', '3.7.1'),
('CMake', '3.18.4'),
('flex', '2.6.4'),
]

moduleclass = 'cae'