-
Notifications
You must be signed in to change notification settings - Fork 572
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
TriBITs update breaks Trilinos builds with HYPRE enabled #11531
Comments
@tjfulle, can you please post the STDOUT+STDERR from the CMake configure command along with the generated CMakeCache.txt file? That will give me some more clues. Then I need to find a way to reproduce this. (If that is with Spack that is okay as long as I can use the developer mode to cd to the Trilinos build directory and run cmake manually.) |
Attached: I just generated those files in a build on an ascic machine. I can get you access to the machine and/or I can make any modifications you see fit and run it again. |
@bartlettroscoe : interestingly, in the output attached above the HYPRE library does not seem to be parsed. Eg, in a working build from a few weeks ago I have the following in the output:
But in the more recent output I only see
so, clearly, something in the way tribits processed the HYPRE TPL has changed between January 20 and January 23 |
@bartlettroscoe - I think I have a workaround. In the early January builds I defined |
@tjfulle, the change should have occurred with the merge of the Trilinos PR #11458 on Jan 17, 2023, 437 PM EST The configure output is strange because it seems that the HYPRE TPL is not even being processed! My guess is that this is because the configure input is setting Do you have the configure output from your Trilinos build before Jan 19, 2023? I bet we will see that NOTE: The current TriBITS update I am working on in PR TriBITSPub/TriBITS#560 should fully recognize NOTE TO SELF: I will need to add an entry to tribits/CHANGELOG.md that mentions that setting |
It is being built by Spack - but with Alegra's own spackage wherein I set
and I see
This is absent from the output from the more recent configure. So, yes, |
I just tried copying the output and it choked my terminal because it was so big... |
Okay, that makes sense. What happened is that the TriBITS code that does the enable/disable of packages and TPLs was upgraded to look at both I will add a unit test for this use case but I believe that the updated code in TriBITSPub/TriBITS#560 (soon to be merged to TriBITS 'master') already will fix this use case. So, ironically, if the configure had not set Thanks for reporting this! |
Indeed, with |
@tjfulle, is this still and issue? NOTE: this use case should be fixed by TriBITSPub/TriBITS#560 once that merges to TriBITS 'master' and snapshotted to Trilinos 'develop'. |
We modified our spackage file to get around the issue, so we are good. |
I believe “Automatic snapshot commit from tribits at bf7c58f6” breaks Trilinos builds when
TPL_ENABLE_HYPRE=ON
. As evidence, on/around January 23 Alegra’s experimental builds (built againsttrilinos@develop
withTPL_ENABLE_HYPRE=ON
) began failing in the cmake step. The actual error is:No changes to Ifpack2 in the timeframe touch any HYPRE related code.
HYPRE is not a CMake package and is found via FindTPLHYPRE.cmake. Does something need to be modified in that module to make
HYPRE
into a first-class CMake target with an associatedall_libs
?Below is a selection from the output of a successful install from the beginning of January.
FYI: @csiefer2 @skennon10 @bartlettroscoe
The text was updated successfully, but these errors were encountered: