-
Notifications
You must be signed in to change notification settings - Fork 772
{cae}[foss/2020a] OpenFOAM v2012 #11876
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
Conversation
|
@olesenm Thanks a lot! EasyBuild has some magic to automatically determine the patch level to use, which is derived from the first Any ETA for the OpenFOAM v2012 release? |
Likely by Monday/Tuesday next week. |
|
BTW: In case it is useful, the code-wiki is unfortunately a bit hard to find If there is anything better that you would liked added in here: |
|
@boegel - on the final stretch... |
|
@olesenm I tested this, and although the installation completes after ~1.5h, EasyBuild isn't entirely happy with it; the sanity check fails because the following files are missing in the installation: For For the other two, I couldn't find an equivalent, and I couldn't spot any obvious errors in the installation either. Have there been changes in the v2012 that we should be aware of? |
This is either a feature or an oops. The mpi handling was adjusted to avoid potential conflicts. The tag "mpi" was adjusted to "sys-mpi" (since that it is), similarly "openmpi-system" became "sys-openmpi" etc. (gives lib/sys-mpi, lib/sys-openmpi, lib/sys-openmpi4 etc). Here are some relevant commits https://develop.openfoam.com/Development/openfoam/-/commit/b89f38960651701ed76a87e21c7a566fe0714f3c .. again apologies for breaking the sanity check |
|
Might need to check if the scotch detection is working as expected/desired. |
|
@olesenm Your proposed new layout requires patched openfaom easyblock. You can try it with easyblock from easybuilders/easybuild-easyblocks#2321. Moreover, the correct patch level in openfoam easyconfig file should be 1, i.e.
|
|
@furstj Did you manage to install OpenFOAM v2012 with this PR and the updated easyblock from easybuilders/easybuild-easyblocks#2321? Did you have to change anything other than the |
|
@boegel Yes, I was able to install OpenFOAMv2012 with updated easyblock when I changed patches part. |
Co-authored-by: Mikael Öhman <[email protected]>
|
@boegelbot please test @ generoso |
|
@boegel: Request for testing this PR well received on generoso PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 773560947 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
boegel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
Test report by @boegel |
|
Test report by @boegel |
|
Test report by @boegel |
|
Going in, thanks @olesenm! |
|
Test report by @Micket |
Hi @boegel - a heads-up for the upcoming OpenFOAM-v2012
To help accommodate easybuild and other systems, we have an additional
FOAM_CONFIG_ETCvariable that we can hook into to quickly switch between different types of configurations (eg, intelmpi/openmpi, 64/32-bit, spdp/dp etc). It also can be used by easybuild to define its configuration, largely without patching the original sources.The OpenFOAM internal mpi selector now recognizes "EASYBUILDMPI" (no patching needed), and the readline discovery can be customized with the usual config.sh mechanism, which means that easybuild can generate its settings without patching into the wmake/scripts directory. Using this approach, we are getting one step closer to being able to generate settings on-the-fly instead of patching.
In this preliminary changeset, I did however run into issues with actually applying the patch for the build. EasyBuild complains about not being able to determine the patch level. Must be something small I guess, but figured I should provide the changeset anyhow to provide a basis and avoid duplicate effort.