Hello,
I’m using dolfinx (installed with conda) from python and I’d like to have debug messages from PETSc (instead of the traditional SIGSEGV message when anything goes wrong).
I have a local build of petsc and petsc4py with a custom config (debug and no MPI). Is it safe to simply override the PYTHONPATH
to point to the local build? I’m affraid by doing so that the local build would conflict with the version that dolfinx was linked against when compiled.
Or do I have to recompile dolfinx with the custom petsc?
Or maybe there is a debug docker image? (I haven’t been able to find one).
I’m asking because I tried my PYTHONPATH
hack and I’m getting weird petsc logging errors (I can share those if needed if that solution is supposed to work).
Thanks