Dear all:
Getting some troubles importing both vtk and dolfin in a single script…
I can run python -c "import vtk; image = vtk.vtkImageData()"
without any
issue, but python -c "import vtk; import dolfin; image =
vtk.vtkImageData()"
gives me a seg fault.
With a slightly more complex example, I'm getting some more info:
[0]PETSC ERROR:
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation,
probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or
-on_error_attach_debugger
[0]PETSC ERROR: or see
http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind[0]PETSC
ERROR: or try http://valgrind.orgon GNU/linux and Apple Mac OS X to
find memory corruption errors
[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link,
and run
[0]PETSC ERROR: to get more information on the crash.
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 59.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
Any idea what might be going on? Anybody has been able to load both vtk
and dolfin?
Thanks!
Martin