Petsc Has Not Been Detected #16582
-
For this instance, I used the offline instructions to setup and install moose. When I go to run the test Makefile the following error is given: "#error PETSc has not been detected, please ensure your environment is set up properly then rerun the libmesh build script and try to compile MOOSE again." |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Did you run ./scripts/update_and_rebuild_libmesh.sh already to build libmesh? How did you build PETSc (using ./scripts/update_and_rebuild_petsc.sh)? |
Beta Was this translation helpful? Give feedback.
-
Can you share the output of of the configure call for libMesh? |
Beta Was this translation helpful? Give feedback.
-
I figured out the reason this wasn't working was LIbmesh was not finding petsc but the moose package was. I had to specify within my libmesh install the path to petsc. |
Beta Was this translation helpful? Give feedback.
I figured out the reason this wasn't working was LIbmesh was not finding petsc but the moose package was. I had to specify within my libmesh install the path to petsc.