-
Notifications
You must be signed in to change notification settings - Fork 288
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
Installation error due to petsc compatibility #3767
Comments
This is likely due to using too new a version of PETSc (3.20.3 was tagged Dec 30 2023). If it's not essential for you to use that version, then you can likely fix the problem by using a 3.19.x PETSc... |
Thanks for your quick reply! It is unfortunately necessary... I could use 3.20.2, but I dont know if it fixes the issue. Are you by any chance aware of how long it will take to make libMesh compatible with the new version of petsc? |
I am on PETSc |
It's hard to say, you can likely fix the |
What libMesh hash are you using? Line 770 of |
Oops, guess I should have asked that question first! |
And I guess I should have checked what version I was downloading. I used 1.6.2, as in the IBAMR instructions I am reading that was (literally called) the latest. |
Unfortunately, the error persists with libMesh version 1.7.1.... ``../LIBMESH/src/solvers/petscdmlibmeshimpl.C:822:120: error: no member named 'type' in '_p_PetscObject' ../LIBMESH/src/solvers/petscdmlibmeshimpl.C:904:120: error: no member named 'type' in '_p_PetscObject' ../LIBMESH/src/solvers/petscdmlibmeshimpl.C:904:120: error: no member named 'type' in '_p_PetscObject' Any ideas, other than downgrading petsc to 3.20.2? |
Yes, you need to use libmesh master if you want to use that new of a PETSc. The 1.7.1 release it itself also quite old. |
Meaning the master would work with 3.20.3 or 3.20.2? |
Yes, according to @lindsayad's (#3767 (comment)) that will work. |
I will not guarantee that it will work as using PETSc main results in a version that is effectively infinite so it will have different comparison results in macros, but it is certainly more likely to work. If it works with PETSc main but not with the 3.20.3 release, then I would definitely submit fixes to support you |
Hello all,
while installing libMesh, I have been facing with the following (see attached log file) 6 warnings and 1 error (follows). I am using Apple M1 Max, Sonoma 14.2.1; petsc 3.20.3
While installing, I get the following errors:
config.log
This looks to me somewhat referred to Refs #3416 and previously resolved compatibility issues. So why am I still getting this error? Anyone knows how to solve it?
Thanks!:)
The text was updated successfully, but these errors were encountered: