-
Notifications
You must be signed in to change notification settings - Fork 299
Fix PETSc 3.24 deprecated warnings #4291
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
|
Note: if this passes the "Test mac" target, we should be good. That is the only one that seems to be failing due to deprecation warnings (since -Werror is turned on). |
Huh; I see someone has renamed the "Hubris check" recipe to "Min gcc". ;-) |
|
Well, this is interesting. The "Min gcc" build uses PETSc 3.22.1, but for some reason it's reaching the |
|
That doesn't make any sense to me, unless something is wrong with our macro (that just calls the PETSc macro) in that version of PETSc? |
| case KSP_CONVERGED_RTOL_NORMAL : return CONVERGED_RTOL_NORMAL; | ||
| case KSP_CONVERGED_ATOL_NORMAL : return CONVERGED_ATOL_NORMAL; | ||
| #else | ||
| case KSP_CONVERGED_RTOL_NORMAL_EQUATIONS : return CONVERGED_RTOL_NORMAL; |
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.
@roystgnr the error on the Min gcc (PETSc 3.22.1) build refers to line 780, a line that should only be seen by PETSc >= 3.24.0. Do you know if there's anything different about the build environment for that recipe that would somehow cause us to configure against one PETSc version and then actually build against another??
|
The way that PETSc macro works is that if the PETSc hash points to a non-release hash, then its version is effectively infinite. The idea is that you either keep up-to-date on cutting edge |
|
So this will require a civet recipes fix, which I hope we can get done in the next day or so |
|
OK, I was fooled by Min gcc reporting that it was using PETSc "3.22.1" during configure... I assumed that meant it was a release. Maybe our configure could be a little more helpful here and also print the value of |
|
Job Min gcc on aeeb8a7 : invalidated by @loganharbour Bump min gcc container to current moose |
|
@lindsayad @jwpeterson: bumped the min gcc environment here. Let me know if there are any other issues |
|
We do keep all of the libmesh-only environments static. The MOOSE environments use the latest moose environment. What do we think about adding a libmesh-only test that uses the latest MOOSE environment? Allowed to fail. But it'll at least get us some coverage for libmesh tests with whatever is latest. That can be fixed over time. |
@loganharbour there now seems to be an issue with configure: FYI we have also seen this failure on the libmesh "Test MOOSE PETSc" recipe on the devel -> master merge (https://civet.inl.gov/branch/14145). So, I think there may be some issue with that environment, but I don't know why it's different from others. |
|
I'll try to see what's going on here. I think we've downloaded hdf5 and configured with zlib (from PETSc) for as long as I can remember |
|
Seems like the zlib package might be missing from the system image used for the install. |
|
So zlib isn't missing on the system, it's just that with newer versions of PETSc (it is a bit funny that the gcc min target is now bringing in a PETSc of 3.24 whereas our other testing is using PETSc 3.20) it seems that we aren't configuring hdf5 properly to bring in zlib. We need to pass |
This would be great. This would have caught the issue now present in the gcc min target much much sooner |
|
The new target should use netcdf 4.9.2 |
|
I'm fixing the PETSc configuration of hdf5 in idaholab/moose#31768 |
|
Updated min gcc (temporarily) from the one in the above PR. Can merge if you want, but the environment will change to the production environment once it gets past next |
I don't have PETSc 3.24 installed, so this is going to be coding via CI...