Did you set PETSC_ARCH as well?
Also, make sure your PETSc builds contains all the components that Firedrake needs (see firedrake-install to sniff the default options), and make sure that your PETSc version is recent enough (released versions are too old), and compatible with your petsc4py version (which sometimes breaks).
Dear all,
I compiled Firedrake with --honour-petsc-dir. Although I set PETSC_DIR to the correct path, I get an
Error: Could not find PETSc library.
Set the environment variable PETSC_DIR to your local PETSc base
directory or install PETSc from PyPI: pip install petsc
when executing. Any ideas how I can use my own PETSc version?
I would like to make changes in the PETSc code and then use this changed PETSc version with Firedrake. I thought --honour-petsc-dir was the right thing to do.
Thank you!
Henrik
--
Dipl.-Math. Henrik Büsing
Institute for Applied Geophysics and Geothermal Energy
E.ON Energy Research Center
RWTH Aachen University
------------------------------------------------------
Mathieustr. 10 | Tel +49 (0)241 80 49907
52074 Aachen, Germany | Fax +49 (0)241 80 49889
------------------------------------------------------
http://www.eonerc.rwth-aachen.de/GGE
hbuesing@eonerc.rwth-aachen.de
------------------------------------------------------