dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #06243
Re: Is PyDOLFIN broken?
Kristian Oelgaard wrote:
I just cloned UFC, FFC and DOLFIN.
When I run the
dolfin/src/demo/pde/poisson/python/demo.py
I get a segmentation fault when assembling the linear form
Assembling rank 1 form.
Assembling over 2048 cells.
| Assembling over cells |
|-----------------------------------------------------------------| 0.0%
Segmentation fault (core dumped)
Has anyone experienced the same kind of problem?
To reproduce this, I just updated UFC, FFC and DOLFIN. Upon rebuilding
them (after a 'make distclean' for DOLFIN), I see the following. I
believe it's a slightly more verbose manifestation of the your error.
I'll step through it with gdb.
# python demo.py
<snip>
| Assembling over cells |
|-----------------------------------------------------------------| 0.0%
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 10 BUS: Bus Error, possibly illegal
memory access
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see
http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC
ERROR: or try http://valgrind.org on linux or man libgmalloc on Apple 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.
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Signal received!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 8, Fri Nov 16
17:03:40 CST 2007 HG revision: 414581156e67e55c761739b0deb119f7590d0f4b
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: unknown on a darwin9.2 named edfico by hnarayan Fri Feb
15 10:51:27 2008
[0]PETSC ERROR: Libraries linked from
/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p8/lib/darwin9.2.0-cxx-opt
[0]PETSC ERROR: Configure run at Wed Feb 13 20:26:19 2008
[0]PETSC ERROR: Configure options --with-fc=0 --with-clanguage=cxx
--with-debugging=0 COPTFLAGS=-O3 --with-shared=0
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: User provided function() line 0 in unknown directory
unknown file
[edfico:37499] MPI_ABORT invoked on rank 0 in communicator
MPI_COMM_WORLD with errorcode 59
Follow ups
References