← Back to team overview

dolfin team mailing list archive

Re: dolfin <-> scipy <-> pyamg

 

On Wednesday 25 February 2009 07:07:53 Anders Logg wrote:
> On Wed, Feb 25, 2009 at 12:07:19AM +0100, Johan Hake wrote:
> > On Tuesday 24 February 2009 22:27:51 kent-and@xxxxxxxxx wrote:
> > > Did you know that dolfin can be used together with scipy and pyamg to
> > > solve the eg. the Poisson equation with AMG in Python. The attached
> > > example by Luke Olson does this! This is so cool!
> >
> > Agree!
> >
> > For some reason, I have to import scipy before everything else. Otherwise
> > it will segfault together with PyDOLFIN. I have had this problem before
> > too, when I combine scipy and PyDOLFIN.
> >
> > Any clues?
>
> I don't know why but I've also seen this.

I first thought it was our friend:

  Incompatible swig versions

but then I downloaded the scipy deb-source and built it locally but it did not 
help... 

Maybe I have to build NumPy locally too?

Johan


References