Petsc & slepc4py problem #2785
-
Hi, I'm using homebrew Python 3.10.9 on M1 macOS 12.6. Previously I had problem install firedrake on Mac, and made a post #2753. By setting MACOSX_DEPOLYMENT_TARGET, I was able to install and run pytest code, and I also run the code from "A basic Helmholtz equation" from firedrake website. However, I think my Petsc and slep4py was not fully/successfully installed. When I tried to run the following lines:
It says there is no module called slepc4py. I tried the following ways:
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The right way to have Firedrake with slepc support is to pass |
Beta Was this translation helpful? Give feedback.
The right way to have Firedrake with slepc support is to pass
--slepc
tofiredrake-install
orfiredrake-update
.pip install slepc4py
won't by itself work. However, the subsequent steps you took will possibly have messed up your Firedrake install. I suggest you start with a clean install and pass--slepc
tofiredrake-install
. If your install does not run cleanly then postfiredrake-install.log
and, if the failure is again during the PETSc build,configure.log