← Back to team overview

dolfin team mailing list archive

Re: Is PyDOLFIN broken?

 

On Thu, Feb 14, 2008 at 05:00:13PM +0100, Kristian Oelgaard wrote:
> Quoting Anders Logg <logg@xxxxxxxxx>:
> 
> > On Thu, Feb 14, 2008 at 03:56:28PM +0100, Kristian Oelgaard wrote:
> > > 
> > > 
> > > Hi,
> > > 
> > > 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?
> > > 
> > > I build DOLFIN using
> > > 
> > > ./configure.local --enable-debug
> > > touch src/pydolfin/dolfin.i
> > > make install
> > > 
> > > Kristian
> > 
> > I had this yesterday and I think the problem is you need to do make
> > clean since part of the library has been built before with the old
> > UFC and then you build parts of it with the new and then it will
> > break.
> 
> This didn't help. Any other ideas?
> 
> Kristian

Does anyone else see this?

It works for me.

Try running with valgrind or gdb. When I had this problem, I got an
error message at a call to evaluate_basis_derivatives which is never
called, so this was some mismatch between different parts of the
library that were built differently (I guess).

-- 
Anders


References