Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenFOAM-6 on RHEL9 #481

Open
2 tasks
laraPPr opened this issue Dec 16, 2024 · 2 comments
Open
2 tasks

OpenFOAM-6 on RHEL9 #481

laraPPr opened this issue Dec 16, 2024 · 2 comments
Assignees
Labels
difficulty: medium software that likely require a fair amount of effort to support easyconfig Easyconfig is available priority: lowest site:t1_ugent_hortense Software installation request for Tier-1 Hortense site:ugent Software installation request for UGent Tier-2 update

Comments

@laraPPr
Copy link
Collaborator

laraPPr commented Dec 16, 2024

@laraPPr laraPPr added difficulty: medium software that likely require a fair amount of effort to support priority: lowest update site:ugent Software installation request for UGent Tier-2 site:t1_ugent_hortense Software installation request for Tier-1 Hortense easyconfig Easyconfig is available labels Dec 16, 2024
@boegel boegel self-assigned this Jan 7, 2025
@boegel
Copy link
Contributor

boegel commented Jan 7, 2025

WIP easyconfig pushed to https://github.com/vscentrum/vsc-software-stack/tree/wip/481_OpenFOAM6

It basically works, but only when excluding ParaView as dependency (which should be OK, impact of that is basically that paraFoam utility won't be available).

There's a problem with the patch being used though, it assumes that ParaView is included as dependency since it relies on $EBROOTPARAVIEW, which leads to a failure in the sanity check:

== 2025-01-06 16:41:29,127 build_log.py:171 ERROR EasyBuild crashed with an error (at easybuild/easybuild-framework/easybuild/base/exceptions.py:126 in __init__): Sanity check faii
led: sanity check command cp -a /dev/shm/vsc40023/software/OpenFOAM/6-foss-2023a/OpenFOAM-6/tutorials/incompressible/simpleFoam/motorBike /tmp/eb-gemzdw5i/tmp8_27szkf && chmod -R
+w /tmp/eb-gemzdw5i/tmp8_27szkf && cd /tmp/eb-gemzdw5i/tmp8_27szkf/motorBike && source $FOAM_BASH && . $WM_PROJECT_DIR/bin/tools/RunFunctions && cp $FOAM_TUTORIALS/resources/geomee
try/motorBike.obj.gz constant/triSurface/ && runApplication surfaceFeatures && runApplication blockMesh && runApplication decomposePar -copyZero && runParallel snappyHexMesh -overr
write && runParallel patchSummary && runParallel potentialFoam && runParallel simpleFoam && runApplication reconstructParMesh -constant && runApplication reconstructPar -latestTimm
e && cd /dev/shm/vsc40023/software/OpenFOAM/6-foss-2023a && rm -r /tmp/eb-gemzdw5i/tmp8_27szkf exited with code 1 (output: /dev/shm/vsc40023/software/OpenFOAM/6-foss-2023a/OpenFOAA
M-6/etc/config.sh/paraview: line 99: [: syntax error: `-r' unexpected

So we'll need to create a custom patch that doesn't assume that ParaView is available, or includes some kind of fallback mechanism in case $EBROOTPARAVIEW is not defined.

@boegel
Copy link
Contributor

boegel commented Feb 6, 2025

@pavelToman @PetrKralCZ A WIP easyconfig is available in https://github.com/vscentrum/vsc-software-stack/tree/wip/481_OpenFOAM6, but I haven't found the time to get that over the finish line...

I've excluded the ParaView dependency, since using a newer ParaView version doesn't seem to work out (may need to be revisited).

The sanity check fails as a result of that, since some files being patched assume that ParaView is a dependency (because they used $EBROOTPARAVIEW).

Can either of you pick up on this, and try to finish it?

@pavelToman pavelToman self-assigned this Feb 6, 2025
pavelToman added a commit that referenced this issue Feb 6, 2025
pavelToman added a commit that referenced this issue Feb 7, 2025
pavelToman added a commit that referenced this issue Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: medium software that likely require a fair amount of effort to support easyconfig Easyconfig is available priority: lowest site:t1_ugent_hortense Software installation request for Tier-1 Hortense site:ugent Software installation request for UGent Tier-2 update
Projects
None yet
Development

No branches or pull requests

3 participants