dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03765
Re: Problems with move to NumPy
On Wed, Nov 15, 2006 at 07:42:28PM +0100, Ola Skavhaug wrote:
> Anders Logg skrev den 15/11-2006 f?lgende:
> > I moved PyDOLFIN from Numeric to NumPy but one problem remains.
> > In the python-numpy package from Ubuntu Edge (or Debian), the location
> > of the header file arrayobject.py is
> >
> > /usr/lib/python2.4/site-packages/numpy/core/include/numpy/arrayobject.h
> >
> > I found no good solution to get this into the include path for the
> > compilation of PyDOLFIN so now it's hard-coded into dolfin.i.
>
> The following script tells you where the numpy include dir is:
>
> #!/usr/bin/env python
> import numpy
> print numpy.get_include()
>
> Is that of any help?
>
> Ola
Yes!
/Anders
> > Any suggestions are welcome.
> >
> > /Anders
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
References