Skip to content

{cae}[foss/2025a] OpenFOAM v2506#23891

Merged
smoors merged 4 commits intoeasybuilders:developfrom
maxim-masterov:openfoam_v2506_2025a
Dec 12, 2025
Merged

{cae}[foss/2025a] OpenFOAM v2506#23891
smoors merged 4 commits intoeasybuilders:developfrom
maxim-masterov:openfoam_v2506_2025a

Conversation

@maxim-masterov
Copy link
Copy Markdown
Collaborator

@maxim-masterov maxim-masterov commented Sep 17, 2025

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 17, 2025

Updated software OpenFOAM-v2506-foss-2025a.eb

Diff against OpenFOAM-13-foss-2025a.eb

easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-13-foss-2025a.eb

diff --git a/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-13-foss-2025a.eb b/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2506-foss-2025a.eb
index 3416e5f11b..e7490b98aa 100644
--- a/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-13-foss-2025a.eb
+++ b/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2506-foss-2025a.eb
@@ -1,21 +1,35 @@
 name = 'OpenFOAM'
-version = '13'
+version = 'v2506'
 
-homepage = 'https://www.openfoam.org/'
+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': '2025a'}
-toolchainopts = {'vectorize': False}
+# 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 = {'cstd': 'c++17', 'vectorize': False}
 
-source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%(version_major)s/archive']
-sources = ['version-%(version)s.tar.gz']
-patches = ['OpenFOAM-13-ThirdParty.patch']
+source_urls = ['https://sourceforge.net/projects/openfoam/files/%(version)s/']
+sources = [
+    SOURCE_TGZ,
+    {
+        'filename': '%(name)s-plugins-%(version)s.tgz',
+        'extract_cmd': 'tar --strip-components=1 -C %(installdir)s/%(name)s-%(version)s/ -xzf %s'
+    }
+]
+patches = [
+    ('OpenFOAM-v2406-cleanup.patch', 1),
+    ('OpenFOAM-v2212-wmake-OpenMPI.patch', 1),
+]
 checksums = [
-    {'version-13.tar.gz': '9969d7f09411d72450855f855f2f37760ff147e3f137fd7063ce6bc26d629632'},
-    {'OpenFOAM-13-ThirdParty.patch': '6f59dbf4220243f6533fb04cb0240f684be6d65a0ec600559a68fcd46c61900f'},
+    {'OpenFOAM-v2506.tgz': '63d26f48ae7ee9a7806a0ceb339ef8a0ba485a4714d54fbfb31e78e1a4849965'},
+    {'OpenFOAM-plugins-v2506.tgz': '79309a0e2e798bd533dc60384542fdfd916b3f5c131600c5a7696b51d4120845'},
+    {'OpenFOAM-v2406-cleanup.patch': '3abff48a517fb63719ad57fa32af746bc379a1e80c72d3e5852aa17cd13cf03e'},
+    {'OpenFOAM-v2212-wmake-OpenMPI.patch': '241dc4898c22aab0cbd10c1ea931a07a786508ee03462d45dbc1c202fee3ebe8'},
 ]
 
 builddependencies = [
@@ -25,14 +39,17 @@ builddependencies = [
 ]
 
 dependencies = [
+    ('libreadline', '8.2'),
     ('ncurses', '6.5'),
     # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
     ('METIS', '5.1.0'),
     ('SCOTCH', '7.0.8'),
+    ('KaHIP', '3.19'),
     ('CGAL', '6.0.1'),
+    ('GMP', '6.3.0'),
+    ('MPFR', '4.2.2'),
     ('ParaView', '6.0.1'),
     ('gnuplot', '6.0.3'),
-    ('Zoltan', '3.901'),
 ]
 
 moduleclass = 'cae'
Diff against OpenFOAM-v2206-foss-2023a.eb

easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2206-foss-2023a.eb

diff --git a/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2206-foss-2023a.eb b/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2506-foss-2025a.eb
index 524b8152e4..e7490b98aa 100644
--- a/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2206-foss-2023a.eb
+++ b/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2506-foss-2025a.eb
@@ -1,5 +1,5 @@
 name = 'OpenFOAM'
-version = 'v2206'
+version = 'v2506'
 
 homepage = 'https://www.openfoam.com/'
 description = """OpenFOAM is a free, open source CFD software package.
@@ -7,41 +7,49 @@ description = """OpenFOAM is a free, open source CFD software package.
  involving chemical reactions, turbulence and heat transfer,
  to solid dynamics and electromagnetics."""
 
-toolchain = {'name': 'foss', 'version': '2023a'}
+toolchain = {'name': 'foss', 'version': '2025a'}
 # 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 = {'vectorize': False}
+toolchainopts = {'cstd': 'c++17', 'vectorize': False}
 
 source_urls = ['https://sourceforge.net/projects/openfoam/files/%(version)s/']
-sources = [SOURCE_TGZ]
+sources = [
+    SOURCE_TGZ,
+    {
+        'filename': '%(name)s-plugins-%(version)s.tgz',
+        'extract_cmd': 'tar --strip-components=1 -C %(installdir)s/%(name)s-%(version)s/ -xzf %s'
+    }
+]
 patches = [
-    ('OpenFOAM-v2206-cleanup.patch', 1),
-    'OpenFOAM-v1906-wmake-ompi.patch',
+    ('OpenFOAM-v2406-cleanup.patch', 1),
+    ('OpenFOAM-v2212-wmake-OpenMPI.patch', 1),
 ]
 checksums = [
-    'db95eda4afb97ca870733b2d4201ef539099d0778e3f3eca9a075d4f1a0eea46',  # OpenFOAM-v2206.tgz
-    '25333124581acae57c173587de4ebd6e143b894b1a26e4f0326db8b7e0cb1972',  # OpenFOAM-v2206-cleanup.patch
-    '518e27683c5c41400cfbc17b31effa50b31b25916dccbf85b18b0b955f642505',  # OpenFOAM-v1906-wmake-ompi.patch
+    {'OpenFOAM-v2506.tgz': '63d26f48ae7ee9a7806a0ceb339ef8a0ba485a4714d54fbfb31e78e1a4849965'},
+    {'OpenFOAM-plugins-v2506.tgz': '79309a0e2e798bd533dc60384542fdfd916b3f5c131600c5a7696b51d4120845'},
+    {'OpenFOAM-v2406-cleanup.patch': '3abff48a517fb63719ad57fa32af746bc379a1e80c72d3e5852aa17cd13cf03e'},
+    {'OpenFOAM-v2212-wmake-OpenMPI.patch': '241dc4898c22aab0cbd10c1ea931a07a786508ee03462d45dbc1c202fee3ebe8'},
 ]
 
 builddependencies = [
     ('Bison', '3.8.2'),
-    ('CMake', '3.26.3'),
+    ('CMake', '3.31.3'),
     ('flex', '2.6.4'),
 ]
 
 dependencies = [
     ('libreadline', '8.2'),
-    ('ncurses', '6.4'),
+    ('ncurses', '6.5'),
     # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
     ('METIS', '5.1.0'),
-    ('SCOTCH', '7.0.3'),
-    ('KaHIP', '3.16'),
-    ('CGAL', '5.6'),
-    ('ParaView', '5.11.2'),
-    ('gnuplot', '5.4.8'),
-    ('MPFR', '4.2.0'),
+    ('SCOTCH', '7.0.8'),
+    ('KaHIP', '3.19'),
+    ('CGAL', '6.0.1'),
+    ('GMP', '6.3.0'),
+    ('MPFR', '4.2.2'),
+    ('ParaView', '6.0.1'),
+    ('gnuplot', '6.0.3'),
 ]
 
 moduleclass = 'cae'
Diff against OpenFOAM-6-20190620-foss-2023a.eb

easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-6-20190620-foss-2023a.eb

diff --git a/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-6-20190620-foss-2023a.eb b/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2506-foss-2025a.eb
index ad456b6cc0..e7490b98aa 100644
--- a/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-6-20190620-foss-2023a.eb
+++ b/easybuild/easyconfigs/o/OpenFOAM/OpenFOAM-v2506-foss-2025a.eb
@@ -1,45 +1,55 @@
 name = 'OpenFOAM'
-_version_maj = '6'
-_version_date = '20190620'
-version = '%s-%s' % (_version_maj, _version_date)
+version = 'v2506'
 
-homepage = 'https://www.openfoam.org/'
+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': '2023a'}
-toolchainopts = {'cstd': 'c++11'}
+toolchain = {'name': 'foss', 'version': '2025a'}
+# 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 = {'cstd': 'c++17', 'vectorize': False}
 
-source_urls = ['https://github.com/OpenFOAM/OpenFOAM-%s/archive/refs/tags' % _version_maj]
-sources = [{'download_filename': '%s.tar.gz' % _version_date, 'filename': '%(name)s-%(version)s.tar.gz'}]
+source_urls = ['https://sourceforge.net/projects/openfoam/files/%(version)s/']
+sources = [
+    SOURCE_TGZ,
+    {
+        'filename': '%(name)s-plugins-%(version)s.tgz',
+        'extract_cmd': 'tar --strip-components=1 -C %(installdir)s/%(name)s-%(version)s/ -xzf %s'
+    }
+]
 patches = [
-    '%(name)s-%(version)s_cleanup.patch',
-    '%(name)s-%(version)s_OSHA1stream.H-fix.patch',
+    ('OpenFOAM-v2406-cleanup.patch', 1),
+    ('OpenFOAM-v2212-wmake-OpenMPI.patch', 1),
 ]
 checksums = [
-    {'OpenFOAM-6-20190620.tar.gz': 'cbd470c262d99ba4afe0ee5151f07fdadedfd7b57fba8ae82e85ab5178053305'},
-    {'OpenFOAM-6-20190620_cleanup.patch': '6e7c480411dae69055c9f43a045d60c3d2148dff4ef04530dd17af33f5ce17aa'},
-    {'OpenFOAM-6-20190620_OSHA1stream.H-fix.patch': '8c318c6bc53617035fccf91271388fd394c2568854cc0cd6de20f0c35d5323b8'},
-]
-
-dependencies = [
-    ('libreadline', '8.2'),
-    ('ncurses', '6.4'),
-    # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
-    ('METIS', '5.1.0'),
-    ('SCOTCH', '7.0.3'),
-    ('CGAL', '5.6'),
-    ('gnuplot', '5.4.8'),
+    {'OpenFOAM-v2506.tgz': '63d26f48ae7ee9a7806a0ceb339ef8a0ba485a4714d54fbfb31e78e1a4849965'},
+    {'OpenFOAM-plugins-v2506.tgz': '79309a0e2e798bd533dc60384542fdfd916b3f5c131600c5a7696b51d4120845'},
+    {'OpenFOAM-v2406-cleanup.patch': '3abff48a517fb63719ad57fa32af746bc379a1e80c72d3e5852aa17cd13cf03e'},
+    {'OpenFOAM-v2212-wmake-OpenMPI.patch': '241dc4898c22aab0cbd10c1ea931a07a786508ee03462d45dbc1c202fee3ebe8'},
 ]
 
 builddependencies = [
     ('Bison', '3.8.2'),
-    ('CMake', '3.26.3'),
+    ('CMake', '3.31.3'),
     ('flex', '2.6.4'),
 ]
 
-sanity_check_motorbike = False
+dependencies = [
+    ('libreadline', '8.2'),
+    ('ncurses', '6.5'),
+    # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes)
+    ('METIS', '5.1.0'),
+    ('SCOTCH', '7.0.8'),
+    ('KaHIP', '3.19'),
+    ('CGAL', '6.0.1'),
+    ('GMP', '6.3.0'),
+    ('MPFR', '4.2.2'),
+    ('ParaView', '6.0.1'),
+    ('gnuplot', '6.0.3'),
+]
 
 moduleclass = 'cae'

@maxim-masterov maxim-masterov changed the title {cae,math}[foss/2025a,gompi/2025a] KaHIP v3.19, OpenFOAM vv2506 {cae,math}[foss/2025a,gompi/2025a] KaHIP v3.19, OpenFOAM v2506 Sep 17, 2025
@maxim-masterov maxim-masterov added the 2025a issues & PRs related to 2025a common toolchains label Sep 17, 2025
@boegel
Copy link
Copy Markdown
Member

boegel commented Nov 7, 2025

@maxim-masterov Can you look into resolving the merge conflict?

@maxim-masterov
Copy link
Copy Markdown
Collaborator Author

@boegel done

@maxim-masterov maxim-masterov changed the title {cae,math}[foss/2025a,gompi/2025a] KaHIP v3.19, OpenFOAM v2506 {cae}[foss/2025a,gompi/2025a] OpenFOAM v2506 Nov 7, 2025
@maxim-masterov maxim-masterov changed the title {cae}[foss/2025a,gompi/2025a] OpenFOAM v2506 {cae}[foss/2025a] OpenFOAM v2506 Nov 7, 2025
@smoors
Copy link
Copy Markdown
Contributor

smoors commented Dec 11, 2025

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

@smoors: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=23891 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_23891 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9098

Test results coming soon (I hope)...

Details

- notification for comment with ID 3643948052 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (total: 2 hours 47 mins 2 secs) (1 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/bd2e40620679ce546491324fb7ea894c for a full test report.

@smoors smoors added this to the next release (5.2.0?) milestone Dec 12, 2025
Copy link
Copy Markdown
Contributor

@smoors smoors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@smoors
Copy link
Copy Markdown
Contributor

smoors commented Dec 12, 2025

Going in, thanks @maxim-masterov!

@smoors smoors merged commit 6ba3bba into easybuilders:develop Dec 12, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2025a issues & PRs related to 2025a common toolchains update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants