forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request easybuilders#18363 from Micket/20230721164126_new_…
…pr_OpenFOAMv2306 {cae}[foss/2022b] OpenFOAM vv2306
- Loading branch information
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2212-wmake-OpenMPI.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# - Add mplibEASYBUILDMPI configuration for wmake (OpenMPI version) | ||
# | ||
# author: Jiri Furst <Jiri.Furst@gmail.com> | ||
--- /dev/null 2023-03-06 18:30:28.397302047 +0100 | ||
+++ OpenFOAM-v2212/wmake/rules/General/mplibEASYBUILDMPI 2023-03-10 14:52:38.100740228 +0100 | ||
@@ -0,0 +1,6 @@ | ||
+#------------------------------------------------------------------------------ | ||
+# Use openmpi mpicc to obtain settings - mpicc must be available | ||
+ | ||
+include $(GENERAL_RULES)/mpi-mpicc-openmpi | ||
+ | ||
+#------------------------------------------------------------------------------ |
47 changes: 47 additions & 0 deletions
47
easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2306-foss-2022b.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name = 'OpenFOAM' | ||
version = 'v2306' | ||
|
||
homepage = 'https://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': '2022b'} | ||
# Users have found that vectorizion caused OpenFOAM to produce some very incorrect results. | ||
# Disabling vectorize was confirmed to fix the the known issues. | ||
# With no test suite, sticking to known working toolchain options until proven otherwise. | ||
toolchainopts = {'usempi': True, 'cstd': 'c++14', 'vectorize': False} | ||
|
||
source_urls = ['https://sourceforge.net/projects/openfoam/files/%(version)s/'] | ||
sources = [SOURCE_TGZ] | ||
patches = [ | ||
('OpenFOAM-v2206-cleanup.patch', 1), | ||
('OpenFOAM-v2212-wmake-OpenMPI.patch', 1), | ||
] | ||
checksums = [ | ||
{'OpenFOAM-v2306.tgz': 'd7fba773658c0f06ad17f90199565f32e9bf502b7bb03077503642064e1f5344'}, | ||
{'OpenFOAM-v2206-cleanup.patch': '25333124581acae57c173587de4ebd6e143b894b1a26e4f0326db8b7e0cb1972'}, | ||
{'OpenFOAM-v2212-wmake-OpenMPI.patch': '4f5110e98df1f057dc4b478a004e4ae2dc5cc763899f0d3ceb6773315c5c8ba9'}, | ||
] | ||
|
||
builddependencies = [ | ||
('Bison', '3.8.2'), | ||
('CMake', '3.24.3'), | ||
('flex', '2.6.4'), | ||
('CGAL', '5.5.2'), # header only | ||
] | ||
|
||
dependencies = [ | ||
('libreadline', '8.2'), | ||
('ncurses', '6.3'), | ||
# OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes) | ||
('METIS', '5.1.0'), | ||
('SCOTCH', '7.0.3'), | ||
('KaHIP', '3.14'), | ||
('Boost', '1.81.0'), | ||
('ParaView', '5.11.1'), | ||
('gnuplot', '5.4.6'), | ||
] | ||
|
||
moduleclass = 'cae' |