Bug#895419: Acknowledgement (python3-dolfin: JIT compilation fails as python3-instant tries to includes petsc4py from python2)
Fabrice Silva
silva at lma.cnrs-mrs.fr
Fri Apr 13 15:44:48 BST 2018
Additional information from Johannes Ring (fenics dev) on
https://groups.google.com/d/topic/fenics-support/mfJdWYwq0-w/discussion
The problem is that the path to petsc4py is included in
/usr/share/dolfin/cmake/DOLFINConfig.cmake and
/usr/share/dolfin/cmake/DOLFINTargets.cmake, while it should only
have been included in /usr/share/dolfin/cmake/DOLFINPython27.cmake
and /usr/share/dolfin/cmake/DOLFINPython36.cmake.
The quick fix would be to either install python-petsc4py (the
petsc4py include files are the same for python2 and python3) or to
remove the path to petsc4py from DOLFINConfig.cmake and
DOLFINTargets.cmake.
These recommendations solve the trouble (even if other errors are still
raised in the overly-simplified script).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dolfin_pythonpath.patch
Type: text/x-patch
Size: 3900 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20180413/4bcbbbab/attachment.bin>
More information about the debian-science-maintainers
mailing list