Skip to content

Instantly share code, notes, and snippets.

@funsim
Created October 22, 2013 16:43
Show Gist options
  • Save funsim/7103964 to your computer and use it in GitHub Desktop.
Save funsim/7103964 to your computer and use it in GitHub Desktop.
running build_ext
building '_instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33' extension
creating build
creating build/temp.linux-x86_64-2.7
mpicc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/lib/python2.7/dist-packages/petsc/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c mat_utils.cxx -o build/temp.linux-x86_64-2.7/mat_utils.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
mpicc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/lib/python2.7/dist-packages/petsc/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx -o build/temp.linux-x86_64-2.7/instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:15,
from instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx:3101:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx: In function ‘void expression_kernel(double*, double**, int)’:
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx:3097:11: error: expected identifier before '1'
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx: In lambda function:
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx:3097:15: error: expected ‘{’ before ‘;’ token
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx: In function ‘void expression_kernel(double*, double**, int)’:
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx:3097:15: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default]
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx:3097:15: error: cannot convert ‘expression_kernel(double*, double**, int)::<lambda()>’ to ‘double’ in assignment
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx:3087:16: warning: unused variable ‘pi’ [-Wunused-variable]
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx: In function ‘void SWIG_InitializeModule(void*)’:
instant_module_81cc3b239b71f9e22c25de888db576b6854f0f33_wrap.cxx:3441:21: warning: statement has no effect [-Wunused-value]
error: command 'mpicc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment