← Back to team overview

dolfin team mailing list archive

Re: Problems with move to NumPy

 

Anders Logg skrev den 15/11-2006 f�de:
> 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
 
> Any suggestions are welcome.
> 
> /Anders
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


Follow ups

References