← Back to team overview

dolfin team mailing list archive

Re: Is PyDOLFIN broken?

 

I too have been seeing this error, but attributed it to using OS X 10.5. Also, I find that some, but not all, of pydolfin does work, such as the mesh related examples. Things involving PETSc tend to cause these convulsions.


On Feb 15, 2008, at 11:02 AM, Harish Narayanan wrote:

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


_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev



Follow ups

References