Following the discussion here: https://bitbucket.org/fenics-project/dolfin/issue/229/test-c-11-builds I built the latest petsc4py_3.4 source (I have petsc 3.4 installed), rebuilt dolfin and now it works.
On Fri, Sep 5, 2014 at 3:12 PM, Mike Welland <[email protected]> wrote: > Hi all, > I can build dolfin 1.4.0 just fine without petsc4py, but when I include it > it goes until ~98% and then craps out with the error below (truncated). > > Any ideas? I'm using SWIG 2.12. CMake output (with command) attached. > > Thanks! > > > In file included from > /soft/python/2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1803:0, > from > /soft/python/2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > /soft/python/2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, > from > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:4035: > /soft/python/2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: > warning: #warning "Using deprecated NumPy API, disable it by " "#defining > NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* _wrap_delete_HierarchicalMeshFunctionUInt(PyObject*, > PyObject*)’: > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9612:7: > error: inconsistent user-defined literal suffixes ‘argn’ and ‘type’ in > string literal > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9612:7: > error: unable to find string literal operator ‘operator"" argn’ > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* _wrap_HierarchicalMeshFunctionUInt_depth(PyObject*, > PyObject*)’: > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9658:7: > error: inconsistent user-defined literal suffixes ‘argn’ and ‘type’ in > string literal > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9658:7: > error: unable to find string literal operator ‘operator"" argn’ > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* > _wrap_HierarchicalMeshFunctionUInt_has_parent(PyObject*, PyObject*)’: > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9709:7: > error: inconsistent user-defined literal suffixes ‘argn’ and ‘type’ in > string literal > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9709:7: > error: unable to find string literal operator ‘operator"" argn’ > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* > _wrap_HierarchicalMeshFunctionUInt_has_child(PyObject*, PyObject*)’: > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9755:7: > error: inconsistent user-defined literal suffixes ‘argn’ and ‘type’ in > string literal > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9755:7: > error: unable to find string literal operator ‘operator"" argn’ > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* > _wrap_HierarchicalMeshFunctionUInt__parent__SWIG_0(PyObject*, int, > PyObject**)’: > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9799:7: > error: inconsistent user-defined literal suffixes ‘argn’ and ‘type’ in > string literal > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9799:7: > error: unable to find string literal operator ‘operator"" argn’ > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* > _wrap_HierarchicalMeshFunctionUInt__parent__SWIG_1(PyObject*, int, > PyObject**)’: > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9843:7: > error: inconsistent user-defined literal suffixes ‘argn’ and ‘type’ in > string literal > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9843:7: > error: unable to find string literal operator ‘operator"" argn’ > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* > _wrap_HierarchicalMeshFunctionUInt__child__SWIG_0(PyObject*, int, > PyObject**)’: > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9909:7: > error: inconsistent user-defined literal suffixes ‘argn’ and ‘type’ in > string literal > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9909:7: > error: unable to find string literal operator ‘operator"" argn’ > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* > _wrap_HierarchicalMeshFunctionUInt__child__SWIG_1(PyObject*, int, > PyObject**)’: > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9953:7: > error: inconsistent user-defined literal suffixes ‘argn’ and ‘type’ in > string literal > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx:9953:7: > error: unable to find string literal operator ‘operator"" argn’ > /home/mwelland/programs/dolfin-1.4.0/build/dolfin/swig/modules/mesh/modulePYTHON_wrap.cxx: > In function ‘PyObject* > _wrap_HierarchicalMeshFunctionUInt__root_node__SWIG_0(PyObject*, int, > PyObject**)’: > >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
