Skip to content

Adding the modified openfoam test and the same test adopted to ORG version of openfoam - #353

Merged
laraPPr merged 12 commits into
EESSI:mainfrom
satishskamath:openfoamorg
Nov 6, 2026
Merged

laraPPr merged 12 commits into
EESSI:mainfrom
satishskamath:openfoamorg

Conversation

@satishskamath

@satishskamath satishskamath commented Aug 24, 2026 •

Copy link
Copy Markdown
Collaborator

@satishskamath

satishskamath commented Aug 24, 2026 •

Copy link
Copy Markdown
Collaborator Author

This PR is ready for review. @casparvl @smoors @laraPPr
@laraPPr and @smoors Can you test this on your local cluster and Hortense?

@satishskamath
satishskamath requested a review from laraPPr August 25, 2026 13:11
Satish Kamath added 3 commits September 22, 2026 14:05
openfoam -> openfoam.com
openfoamorg -> openfoam.org
"." in a directory name.
Classes also renamed to remove confusion.
@satishskamath

Copy link
Copy Markdown
Collaborator Author

@smoors Could not rename the directories to openfoam.org and openfoam.com due to this docstrings error:

ERROR   -  mkdocstrings: eessi.testsuite.tests.apps.openfoam.org could not be found

The python script from docs tries to load this module, therefore have named it openfoam_org and openfoam_com instead.

@laraPPr

laraPPr commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Satish I did a first run at scale 1_4_node. I saw that everything older than 12 failed. Is this expected? If so could you filter the test running on older version since 10 and 11 are in EESSI/2023.06.
test_openfoam.json

@laraPPr

laraPPr commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Here is the output of one of the jobs. I think the specific reframe error should be in the report-file that is in my last comment.
rfm_job.txt

@satishskamath

Copy link
Copy Markdown
Collaborator Author

I found the issue. The older version of OpenFOAMs were actually completing the runs but they had extra text matching my regex for sanity in log.decompose , therefore counting the number of ranks wrong. This extra text was removed in the later versions (12 and later) that is why they passed.

[==========] Running 2 check(s)
[==========] Started on Fri Oct 30 13:27:48 2026+0100

[----------] start processing checks
[ RUN      ] EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_genoa', 'default', 'OpenFOAM/10-foss-2023a') %scale=1_4_node /e1d08301 @snellius_eessi:cpu_genoa+default
[ RUN      ] EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_rome', 'default', 'OpenFOAM/10-foss-2023a') %scale=1_4_node /b37764c4 @snellius_eessi:cpu_rome+default
Number of ranks =  48
Path to working dir:  ./cavity3D/1M/fixedTol
[       OK ] (1/2) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_genoa', 'default', 'OpenFOAM/10-foss-2023a') %scale=1_4_node /e1d08301 @snellius_eessi:cpu_genoa+default
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
Number of ranks =  32
Path to working dir:  ./cavity3D/1M/fixedTol
[       OK ] (2/2) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_rome', 'default', 'OpenFOAM/10-foss-2023a') %scale=1_4_node /b37764c4 @snellius_eessi:cpu_rome+default
P: perf: 0.3333333333333333 s/timestep (r:0, l:None, u:None)
[----------] all spawned checks have finished

[  PASSED  ] Ran 2/2 test case(s) from 2 check(s) (0 failure(s), 0 skipped, 0 aborted)

[==========] Running 4 check(s)
[==========] Started on Fri Oct 30 13:31:25 2026+0100

[----------] start processing checks
[ RUN      ] EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_genoa', 'default', 'OpenFOAM/12-foss-2023a') %scale=1_4_node /5cb0434f @snellius_eessi:cpu_genoa+default
[ RUN      ] EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_genoa', 'default', 'OpenFOAM/11-foss-2023a') %scale=1_4_node /7e4acbe3 @snellius_eessi:cpu_genoa+default
[ RUN      ] EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_rome', 'default', 'OpenFOAM/12-foss-2023a') %scale=1_4_node /3519553d @snellius_eessi:cpu_rome+default
[ RUN      ] EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_rome', 'default', 'OpenFOAM/11-foss-2023a') %scale=1_4_node /db9f7904 @snellius_eessi:cpu_rome+default
[       OK ] (1/4) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_genoa', 'default', 'OpenFOAM/12-foss-2023a') %scale=1_4_node /5cb0434f @snellius_eessi:cpu_genoa+default
P: perf: 0.2 s/timestep (r:0, l:None, u:None)
[       OK ] (2/4) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_genoa', 'default', 'OpenFOAM/11-foss-2023a') %scale=1_4_node /7e4acbe3 @snellius_eessi:cpu_genoa+default
P: perf: 0.2 s/timestep (r:0, l:None, u:None)
[       OK ] (3/4) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_rome', 'default', 'OpenFOAM/12-foss-2023a') %scale=1_4_node /3519553d @snellius_eessi:cpu_rome+default
P: perf: 0.4 s/timestep (r:0, l:None, u:None)
[       OK ] (4/4) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('snellius_eessi:cpu_rome', 'default', 'OpenFOAM/11-foss-2023a') %scale=1_4_node /db9f7904 @snellius_eessi:cpu_rome+default
P: perf: 0.4 s/timestep (r:0, l:None, u:None)
[----------] all spawned checks have finished

Now all should pass.

@laraPPr

laraPPr commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

We also have older OpenFOAM's as old as six. It would be nice if they can be skipped rather having failing tests.

@laraPPr

laraPPr commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator
[       OK ] ( 1/16) EESSI_OPENFOAM_COM_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'cpu_milan', 'OpenFOAM/v2412_250814-foss-2024a') %scale=1_4_node /23dd4c67 @hortense
:cpu_milan_rhel9+cpu_milan                                                                                                                                                                                  
P: perf: 0.2 s/timestep (r:0, l:None, u:None)                                                                                                                                                               
[       OK ] ( 2/16) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'EESSI-2023.06', 'OpenFOAM/10-foss-2023a') %scale=1_4_node /b3c73c25 @hortense:cpu_m
ilan_rhel9+EESSI-2023.06                                                                                                                                                                                    
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)                                                                                                                                               
[       OK ] ( 3/16) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'EESSI-2023.06', 'OpenFOAM/11-foss-2023a') %scale=1_4_node /e7644368 @hortense:cpu_m
ilan_rhel9+EESSI-2023.06                                                                                                                                                                                    
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)   
[       OK ] ( 4/16) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'EESSI-2023.06', 'OpenFOAM/12-foss-2023a') %scale=1_4_node /a822bcaa @hortens[0/959]
ilan_rhel9+EESSI-2023.06
P: perf: 0.3333333333333333 s/timestep (r:0, l:None, u:None)
[       OK ] ( 5/16) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'cpu_milan', 'OpenFOAM/10-foss-2023a') %scale=1_4_node /3da3813d @hortense:cpu_milan
_rhel9+cpu_milan
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] ( 6/16) EESSI_OPENFOAM_COM_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'cpu_milan', 'OpenFOAM/v2506-foss-2025a') %scale=1_4_node /c9a6a546 @hortense:cpu_mi
lan_rhel9+cpu_milan
P: perf: 0.2 s/timestep (r:0, l:None, u:None)
[       OK ] ( 7/16) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'cpu_milan', 'OpenFOAM/11-foss-2023a') %scale=1_4_node /9f88f696 @hortense:cpu_milan
_rhel9+cpu_milan
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] ( 8/16) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'cpu_milan', 'OpenFOAM/12-foss-2023a') %scale=1_4_node /737febb6 @hortense:cpu_milan
_rhel9+cpu_milan
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] ( 9/16) EESSI_OPENFOAM_COM_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'EESSI-2025.06', 'OpenFOAM/v2506-foss-2025a') %scale=1_4_node /dbb6071d @hortense:cp
u_milan_rhel9+EESSI-2025.06
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] (10/16) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'EESSI-2025.06', 'OpenFOAM/13-foss-2025a') %scale=1_4_node /78bfd40e @hortense:cpu_m
ilan_rhel9+EESSI-2025.06
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] (11/16) EESSI_OPENFOAM_COM_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'cpu_milan', 'OpenFOAM/v2406-foss-2023a') %scale=1_4_node /984b09e6 @hortense:cpu_mi
lan_rhel9+cpu_milan
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] (12/16) EESSI_OPENFOAM_ORG_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'cpu_milan', 'OpenFOAM/13-foss-2025a') %scale=1_4_node /80d0092e @hortense:cpu_milan
_rhel9+cpu_milan
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] (13/16) EESSI_OPENFOAM_COM_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'EESSI-2025.06', 'OpenFOAM/v2512-foss-2025a') %scale=1_4_node /6da2ccf5 @hortense:cp
u_milan_rhel9+EESSI-2025.06
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] (14/16) EESSI_OPENFOAM_COM_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'cpu_milan', 'OpenFOAM/v2206-foss-2023a') %scale=1_4_node /24dd835d @hortense:cpu_mi
lan_rhel9+cpu_milan
P: perf: 0.2 s/timestep (r:0, l:None, u:None)
[       OK ] (15/16) EESSI_OPENFOAM_COM_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'EESSI-2023.06', 'OpenFOAM/v2312-foss-2023a') %scale=1_4_node /030bfd0a @hortense:cp
u_milan_rhel9+EESSI-2023.06
P: perf: 0.26666666666666666 s/timestep (r:0, l:None, u:None)
[       OK ] (16/16) EESSI_OPENFOAM_COM_LID_DRIVEN_CAVITY_1M %device_type=cpu %module_info=('hortense:cpu_milan_rhel9', 'EESSI-2023.06', 'OpenFOAM/v2406-foss-2023a') %scale=1_4_node /7c9236bc @hortense:cp
u_milan_rhel9+EESSI-2023.06
P: perf: 0.3333333333333333 s/timestep (r:0, l:None, u:None)
[----------] all spawned checks have finished
[  PASSED  ] Ran 16/16 test case(s) from 16 check(s) (0 failure(s), 0 skipped, 0 aborted)
[==========] Finished on Fri Nov  6 12:31:09 2026+0100

@laraPPr laraPPr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@laraPPr
laraPPr merged commit 2b8bff1 into EESSI:main Nov 6, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants