← Back to team overview

dolfin team mailing list archive

Re: ubuntu 7.10 amd64 install problem

 

Hi David,

I see you are active here too:
http://groups.google.com/group/sage-support/browse_thread/thread/cee2d7b5f889aa4b

To enable the FEniCS Debian/Ubuntu repository see this wiki page:

http://www.fenics.org/wiki/Download

Johannes

On Mon, April 7, 2008 David Joyner wrote:
> On Mon, Apr 7, 2008 at 3:10 PM, Anders Logg <logg@xxxxxxxxx> wrote:
>>
>> On Mon, Apr 07, 2008 at 02:49:21PM -0400, David Joyner wrote:
>>  > On Mon, Apr 7, 2008 at 1:55 PM, Anders Logg <logg@xxxxxxxxx> wrote:
>>  > > On Mon, Apr 07, 2008 at 07:26:46AM -0400, David Joyner wrote:
>>  > >  > Hi:
>>  > >  >
>>  > >  > I followed http://www.fenics.org/wiki/Installing_DOLFIN until I
>> found
>>  > >  > errors, then
>>  > >  > created a wiki account and corrected them, but still found
>> errors. Is
>>  > >  > this the correct
>>  > >  > email list to report install problems?
>>  > >
>>  > >  Yes.
>>  > >
>>  > >
>>  > >  > If so, the problem seems to occur at the step
>>  > >  > ./scons.local
>>  > >  > where it seems to have trouble locating numpy. At least, one of
>> the
>>  > >  > error messages is
>>  > >  > dolfin/swig/dolfin_wrap.cc:3287:31: error: numpy/arrayobject.h:
>> No
>>  > >  > such file or directory
>>  > >  > Does this look familiar?
>>  > >  >
>>  > >  > This is on a ubuntu 7.10 amd64 box.
>>  > >  >
>>  > >  > - David Joyner
>>  > >
>>  > >  Do you have arrayobject.h on your system?
>>  >
>>  >
>>  > Quite a few:-)
>>  >
>>  >
>>  > wdj@wooster:~/wdj/computer_algebra/dolfin$ locate arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.2.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.2.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.9.alpha4/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.9.alpha4/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-0.10.3/local/include/python2.4/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-0.10.3/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.8.6/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.8.6/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.4.alpha0/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.4.alpha0/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.3/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.3/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.8.13.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.8.13.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.4/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.4/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc5/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc5/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.11.rc0/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.11.rc0/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc2/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc2/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.2.rc0/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.10.2.rc0/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.11.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sage-2.11.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/sagefiles/sagestuff/numpy/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/.Trash-1000/files/sage-2.8.10.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /mnt/drive_hda1/.Trash-1000/files/sage-2.8.10.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage-sourceforge/sage/packages/archive/pygsl-0.3/Include/pygsl/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage-sourceforge/sage-0.10.1/local/include/python2.4/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage-sourceforge/sage-0.10.1/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.3.0/local/include/python2.4/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.3.0/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4/local/include/python2.5/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.0.5/local/include/python2.4/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.0.5/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.10.12/local/include/python2.4/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.10.12/local/lib/python2.4/site-packages/numpy-0.9.5/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.10.12/local/lib/python2.4/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.10.12/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/local/include/python2.4/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/spkg/build/numpy-0.9.5/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/spkg/build/old/numpy-0.9.5/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/spkg/build/numpy/numpy/core/include/numpy/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4.alpha2-20061002/local/include/python2.5/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4.alpha2-20061002/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.0.6/local/include/python2.4/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4.1.2/local/include/python2.5/Numeric/arrayobject.h
>>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.3.6/local/include/python2.4/Numeric/arrayobject.h
>>  > /home/wdj/sagestuff/sage-2.10.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>>  > /home/wdj/sagestuff/sage-2.10.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>  > /usr/include/python2.5/Numeric/arrayobject.h
>>  > /usr/include/python2.4/Numeric/arrayobject.h
>>
>>  This one seems to be missing:
>>
>>   /usr/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>>
>>  For me, this is in the python-numpy package.
>
> Somehow that did not install. I guess apt-get install is having problems
> with
> multiple args. Anyway, it is there now but I still get an error:
>
>
> wdj@wooster:~/wdj/computer_algebra/dolfin$ ls
> /usr/lib/python2.5/site-packages/numpy/core/include/numpy/
> arrayobject.h   config.h            multiarray_api.txt  noprefix.h
>   old_defines.h  __ufunc_api.h  ufuncobject.h
> arrayscalars.h  __multiarray_api.h  ndarrayobject.h
> npy_interrupt.h  oldnumeric.h   ufunc_api.txt
> wdj@wooster:~/wdj/computer_algebra/dolfin$ scons enableDemos=yes
> scons: Reading SConscript files ...
> Using options from scons/options.cache
> MPI not found (might not work if PETSc uses MPI).
> Checking for numpy-1... yes
> Checking for scotch... no (pkg-config file not found)
>  Trying to generate pkg-config file for scotch... failed
> Checking for ufc-1... yes
> Checking for umfpack... yes
> Checking for python-2... yes
> Checking for petsc... no (pkg-config file not found)
>  Trying to generate pkg-config file for petsc... failed
> Checking for gts... no (pkg-config file not found)
>  Trying to generate pkg-config file for gts... failed
> Checking for boost... yes
> Checking for slepc... no (pkg-config file not found)
>  Trying to generate pkg-config file for slepc... failed
> Checking for libxml-2.0... yes
> Resolving compiler... done
> Found optional package: umfpack
> Unable to find optional package: petsc
> Unable to find optional package: slepc
> Unable to find optional package: scotch
> Unable to find optional package: gts
> Enabling compilation of PyDOLFIN
> scons: done reading SConscript files.
> scons: Building targets ...
> scons: `dolfin/libdolfin.so' is up to date.
> c++ -o dolfin/swig/dolfin_wrap.os -c -Wall -pipe -ansi -DDEBUG -g
> -Werror -DNDEBUG -O2 -DPACKAGE_VERSION=\"0.7.2\" -DHAS_UMFPACK=1
> -fno-strict-aliasing -fPIC -I. -I/usr/include/libxml2
> -I/usr/include/ufsparse -I/usr/include/python2.5
> -I/usr/include/python2.5 -Idolfin -I/usr/include/libxml2
> -I/usr/include/ufsparse dolfin/swig/dolfin_wrap.cc
> dolfin/swig/dolfin_wrap.cc:3287:31: error: numpy/arrayobject.h: No
> such file or directory
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> dolfin_Mesh_coordinates(dolfin::Mesh*)':
> dolfin/swig/dolfin_wrap.cc:5104: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5104: error: expected `;' before 'adims'
> dolfin/swig/dolfin_wrap.cc:5106: error: 'adims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5110: error: 'PyArrayObject' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:5110: error: 'array' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5110: error: expected type-specifier before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5110: error: expected `>' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5110: error: expected `(' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5110: error: expected primary-expression
> before '>' token
> dolfin/swig/dolfin_wrap.cc:5110: error: 'NPY_DOUBLE' was not declared
> in this scope
> dolfin/swig/dolfin_wrap.cc:5110: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc:5110: error: expected `)' before ';' token
> dolfin/swig/dolfin_wrap.cc:5112: error: 'PyArray_INCREF' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> dolfin_Mesh_cells(dolfin::Mesh*)':
> dolfin/swig/dolfin_wrap.cc:5129: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5129: error: expected `;' before 'adims'
> dolfin/swig/dolfin_wrap.cc:5131: error: 'adims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5135: error: 'PyArrayObject' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:5135: error: 'array' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5135: error: expected type-specifier before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5135: error: expected `>' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5135: error: expected `(' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5135: error: expected primary-expression
> before '>' token
> dolfin/swig/dolfin_wrap.cc:5135: error: 'NPY_INT' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5135: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc:5135: error: expected `)' before ';' token
> dolfin/swig/dolfin_wrap.cc:5137: error: 'PyArray_INCREF' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> dolfin_MeshFunction_Sl_int_Sg__values(dolfin::MeshFunction<int>*)':
> dolfin/swig/dolfin_wrap.cc:5157: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5157: error: expected `;' before 'adims'
> dolfin/swig/dolfin_wrap.cc:5159: error: 'adims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5163: error: 'PyArrayObject' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:5163: error: 'array' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5163: error: expected type-specifier before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5163: error: expected `>' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5163: error: expected `(' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5163: error: expected primary-expression
> before '>' token
> dolfin/swig/dolfin_wrap.cc:5163: error: 'NPY_INT' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5163: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc:5163: error: expected `)' before ';' token
> dolfin/swig/dolfin_wrap.cc:5165: error: 'PyArray_INCREF' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> dolfin_MeshFunction_Sl_unsigned_SS_int_Sg__values(dolfin::MeshFunction<unsigned
> int>*)':
> dolfin/swig/dolfin_wrap.cc:5201: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5201: error: expected `;' before 'adims'
> dolfin/swig/dolfin_wrap.cc:5203: error: 'adims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5207: error: 'PyArrayObject' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:5207: error: 'array' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5207: error: expected type-specifier before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5207: error: expected `>' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5207: error: expected `(' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5207: error: expected primary-expression
> before '>' token
> dolfin/swig/dolfin_wrap.cc:5207: error: 'NPY_UINT' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5207: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc:5207: error: expected `)' before ';' token
> dolfin/swig/dolfin_wrap.cc:5209: error: 'PyArray_INCREF' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> dolfin_MeshFunction_Sl_real_Sg__values(dolfin::MeshFunction<double>*)':
> dolfin/swig/dolfin_wrap.cc:5222: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5222: error: expected `;' before 'adims'
> dolfin/swig/dolfin_wrap.cc:5224: error: 'adims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5228: error: 'PyArrayObject' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:5228: error: 'array' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5228: error: expected type-specifier before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5228: error: expected `>' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5228: error: expected `(' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5228: error: expected primary-expression
> before '>' token
> dolfin/swig/dolfin_wrap.cc:5228: error: 'NPY_DOUBLE' was not declared
> in this scope
> dolfin/swig/dolfin_wrap.cc:5228: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc:5228: error: expected `)' before ';' token
> dolfin/swig/dolfin_wrap.cc:5230: error: 'PyArray_INCREF' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> dolfin_MeshFunction_Sl_bool_Sg__values(dolfin::MeshFunction<bool>*)':
> dolfin/swig/dolfin_wrap.cc:5243: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5243: error: expected `;' before 'adims'
> dolfin/swig/dolfin_wrap.cc:5245: error: 'adims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5249: error: 'PyArrayObject' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:5249: error: 'array' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5249: error: expected type-specifier before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5249: error: expected `>' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5249: error: expected `(' before
> 'PyArrayObject'
> dolfin/swig/dolfin_wrap.cc:5249: error: expected primary-expression
> before '>' token
> dolfin/swig/dolfin_wrap.cc:5249: error: 'NPY_BOOL' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5249: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc:5249: error: expected `)' before ';' token
> dolfin/swig/dolfin_wrap.cc:5251: error: 'PyArray_INCREF' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc: In member function 'virtual void
> SwigDirector_cpp_Function::eval(dolfin::simple_array<double>&, const
> dolfin::simple_array<double>&) const':
> dolfin/swig/dolfin_wrap.cc:5610: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5610: error: expected `;' before 'dims'
> dolfin/swig/dolfin_wrap.cc:5613: error: 'dims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5613: error: 'NPY_DOUBLE' was not declared
> in this scope
> dolfin/swig/dolfin_wrap.cc:5613: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc:5619: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5619: error: expected `;' before 'dims'
> dolfin/swig/dolfin_wrap.cc:5622: error: 'dims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5622: error: 'NPY_DOUBLE' was not declared
> in this scope
> dolfin/swig/dolfin_wrap.cc:5622: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc: In member function 'virtual bool
> SwigDirector_SubDomain::inside(const dolfin::simple_array<double>&,
> bool) const':
> dolfin/swig/dolfin_wrap.cc:5716: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5716: error: expected `;' before 'dims'
> dolfin/swig/dolfin_wrap.cc:5719: error: 'dims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5719: error: 'NPY_DOUBLE' was not declared
> in this scope
> dolfin/swig/dolfin_wrap.cc:5719: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc: In member function 'virtual void
> SwigDirector_SubDomain::map(const dolfin::simple_array<double>&,
> dolfin::simple_array<double>&) const':
> dolfin/swig/dolfin_wrap.cc:5788: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5788: error: expected `;' before 'dims'
> dolfin/swig/dolfin_wrap.cc:5791: error: 'dims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5791: error: 'NPY_DOUBLE' was not declared
> in this scope
> dolfin/swig/dolfin_wrap.cc:5791: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc:5797: error: 'npy_intp' was not declared in
> this scope
> dolfin/swig/dolfin_wrap.cc:5797: error: expected `;' before 'dims'
> dolfin/swig/dolfin_wrap.cc:5800: error: 'dims' was not declared in this
> scope
> dolfin/swig/dolfin_wrap.cc:5800: error: 'NPY_DOUBLE' was not declared
> in this scope
> dolfin/swig/dolfin_wrap.cc:5800: error: 'PyArray_SimpleNewFromData'
> was not declared in this scope
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_delete_realArray(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:26234: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:26240: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:26240: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_realArray_getitem(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:26286: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:26292: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:26292: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_realArray_setitem(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:26346: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:26352: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:26352: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericTensor_get(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:30142: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30148: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30148: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:30152: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30159: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30159: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericTensor_set(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:30220: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30226: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30226: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:30230: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30237: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30237: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericTensor_add(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:30298: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30304: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30304: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:30308: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30315: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30315: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericMatrix_get__SWIG_0(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:30857: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30863: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30863: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:30867: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30874: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30874: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericMatrix_set__SWIG_0(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:30935: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30941: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30941: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:30945: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:30952: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:30952: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericMatrix_add__SWIG_0(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:31013: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:31019: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:31019: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:31023: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:31030: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:31030: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericMatrix_get__SWIG_1(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:31430: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:31436: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:31436: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:31440: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:31448: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:31448: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:31453: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:31461: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:31461: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericMatrix_get(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:31514: error: 'PyArray_Check' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:31519: error: 'PyArray_Check' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:31540: error: 'PyArray_Check' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:31545: error: 'PyArray_Check' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc:31550: error: 'PyArray_Check' was not
> declared in this scope
> dolfin/swig/dolfin_wrap.cc: In function 'PyObject*
> _wrap_GenericMatrix_set__SWIG_1(PyObject*, PyObject*)':
> dolfin/swig/dolfin_wrap.cc:31591: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:31597: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:31597: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:31601: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:31609: error: expected primary-expression
> before 'else'
> dolfin/swig/dolfin_wrap.cc:31609: error: expected `;' before 'else'
> dolfin/swig/dolfin_wrap.cc:31614: error: expected `(' before
> 'PyArray_Check'
> dolfin/swig/dolfin_wrap.cc:31622: error: expected primary-expression
> before 'else'
> <snip>
>
>
>
>>
>>  --
>>
>>
>> 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
>




Follow ups

References