hi all,

we have been trying, unsuccessfully to get pycuda installed on a new
mac pro with a quadro fx 4800. we have nvida toolkit and drivers
installed correctly and can build the test binaries just fine.

our error/log messages are below - if anyone has suggestions we would
be most appreciative.

thanks in advance.

-- 
Sergio (Serge) Rey
Professor, School of Geographical Sciences and Urban Planning
GeoDa Center for Geospatial Analysis and Computation
Arizona State University
http://geoplan.asu.edu/rey

Editor, International Regional Science Review
http://irx.sagepub.com


 pycuda-2011.2.2  python setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.5-x86_64-2.7
creating build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/_cluda.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/_mymako.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/autoinit.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/characterize.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/compiler.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/cumath.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/curandom.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/debug.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/driver.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/elementwise.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/gpuarray.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/reduction.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/scan.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
copying pycuda/tools.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda
creating build/lib.macosx-10.5-x86_64-2.7/pycuda/gl
copying pycuda/gl/__init__.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda/gl
copying pycuda/gl/autoinit.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda/gl
creating build/lib.macosx-10.5-x86_64-2.7/pycuda/sparse
copying pycuda/sparse/__init__.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/sparse
copying pycuda/sparse/cg.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda/sparse
copying pycuda/sparse/coordinate.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/sparse
copying pycuda/sparse/inner.py -> build/lib.macosx-10.5-x86_64-2.7/pycuda/sparse
copying pycuda/sparse/operator.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/sparse
copying pycuda/sparse/packeted.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/sparse
copying pycuda/sparse/pkt_build.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/sparse
creating build/lib.macosx-10.5-x86_64-2.7/pycuda/compyte
copying pycuda/compyte/__init__.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/compyte
copying pycuda/compyte/array.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/compyte
copying pycuda/compyte/dtypes.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/compyte
copying pycuda/compyte/scan.py ->
build/lib.macosx-10.5-x86_64-2.7/pycuda/compyte
running build_ext
building '_driver' extension
creating build/temp.macosx-10.5-x86_64-2.7
creating build/temp.macosx-10.5-x86_64-2.7/src
creating build/temp.macosx-10.5-x86_64-2.7/src/cpp
creating build/temp.macosx-10.5-x86_64-2.7/src/wrapper
creating build/temp.macosx-10.5-x86_64-2.7/bpl-subset
creating build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset
creating build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs
creating build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/python
creating build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/python/src
creating 
build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/python/src/converter
creating 
build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/python/src/object
creating build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/smart_ptr
creating 
build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/smart_ptr/src
creating build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/thread
creating build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/thread/src
creating 
build/temp.macosx-10.5-x86_64-2.7/bpl-subset/bpl_subset/libs/thread/src/pthread
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -fwrapv -Wall
-g -DPYGPU_PACKAGE=pycuda -DHAVE_CURAND=1 -DBOOST_PYTHON_SOURCE=1
-DPYGPU_PYCUDA=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1
-Dboost=pycudaboost -Isrc/cpp -Ibpl-subset/bpl_subset
-I/usr/local/cuda/include
-I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c src/cpp/cuda.cpp -o
build/temp.macosx-10.5-x86_64-2.7/src/cpp/cuda.o -arch x86_64 -arch
i386 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
In file included from src/cpp/cuda.cpp:1:
In file included from src/cpp/cuda.hpp:29:
In file included from bpl-subset/bpl_subset/boost/foreach.hpp:78:
In file included from bpl-subset/bpl_subset/boost/range/rend.hpp:19:
In file included from bpl-subset/bpl_subset/boost/range/reverse_iterator.hpp:20:
In file included from
bpl-subset/bpl_subset/boost/iterator/reverse_iterator.hpp:12:
In file included from
bpl-subset/bpl_subset/boost/iterator/iterator_adaptor.hpp:15:
In file included from
bpl-subset/bpl_subset/boost/iterator/iterator_facade.hpp:26:
bpl-subset/bpl_subset/boost/type_traits/is_pod.hpp:45:35: error: 'T'
does not refer to a
      value
            BOOST_INTERNAL_IS_POD(T)
                                  ^
bpl-subset/bpl_subset/boost/type_traits/is_pod.hpp:26:47: note:
expanded from macro
      'BOOST_INTERNAL_IS_POD'
#define BOOST_INTERNAL_IS_POD(T) BOOST_IS_POD(T)
                                              ^
bpl-subset/bpl_subset/boost/type_traits/intrinsics.hpp:139:37: note:
expanded from macro
      'BOOST_IS_POD'
#   define BOOST_IS_POD(T) __is_pod(T)
                                    ^
bpl-subset/bpl_subset/boost/config/suffix.hpp:424:72: note: expanded from macro
      'BOOST_STATIC_CONSTANT'
#     define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
                                                                       ^
bpl-subset/bpl_subset/boost/type_traits/is_pod.hpp:38:20: note: declared here
template <typename T> struct is_pod_impl
                   ^
bpl-subset/bpl_subset/boost/type_traits/is_pod.hpp:46:13: error: type
name requires a
      specifier or qualifier
         >::value));
            ^
bpl-subset/bpl_subset/boost/config/suffix.hpp:424:72: note: expanded from macro
      'BOOST_STATIC_CONSTANT'
#     define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
                                                                       ^
In file included from src/cpp/cuda.cpp:1:
In file included from src/cpp/cuda.hpp:29:
In file included from bpl-subset/bpl_subset/boost/foreach.hpp:78:
In file included from bpl-subset/bpl_subset/boost/range/rend.hpp:19:
In file included from bpl-subset/bpl_subset/boost/range/reverse_iterator.hpp:20:
In file included from
bpl-subset/bpl_subset/boost/iterator/reverse_iterator.hpp:12:
In file included from
bpl-subset/bpl_subset/boost/iterator/iterator_adaptor.hpp:15:
In file included from
bpl-subset/bpl_subset/boost/iterator/iterator_facade.hpp:26:
bpl-subset/bpl_subset/boost/type_traits/is_pod.hpp:46:13: error: expected ')'
         >::value));
            ^
bpl-subset/bpl_subset/boost/config/suffix.hpp:424:72: note: expanded from macro
      'BOOST_STATIC_CONSTANT'
#     define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
                                                                       ^
bpl-subset/bpl_subset/boost/type_traits/is_pod.hpp:42:9: note: to match this '('
        (::boost::type_traits::ice_or<
        ^
bpl-subset/bpl_subset/boost/config/suffix.hpp:424:72: note: expanded from macro
      'BOOST_STATIC_CONSTANT'
#     define BOOST_STATIC_CONSTANT(type, assignment) static const type
assignment
                                                                       ^
In file included from src/cpp/cuda.cpp:1:
In file included from src/cpp/cuda.hpp:29:
In file included from bpl-subset/bpl_subset/boost/foreach.hpp:78:
In file included from bpl-subset/bpl_subset/boost/range/rend.hpp:19:
In file included from bpl-subset/bpl_subset/boost/range/reverse_iterator.hpp:20:
In file included from
bpl-subset/bpl_subset/boost/iterator/reverse_iterator.hpp:12:
In file included from
bpl-subset/bpl_subset/boost/iterator/iterator_adaptor.hpp:15:
In file included from
bpl-subset/bpl_subset/boost/iterator/iterator_facade.hpp:26:
bpl-subset/bpl_subset/boost/type_traits/is_pod.hpp:46:20: error:
expected expression
         >::value));
                   ^
In file included from src/cpp/cuda.cpp:1:
In file included from src/cpp/cuda.hpp:34:
In file included from bpl-subset/bpl_subset/boost/python.hpp:11:
In file included from bpl-subset/bpl_subset/boost/python/args.hpp:8:
In file included from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13:
In file included from
bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:142:
In file included from
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:126:
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7/modsupport.h:27:65:
warning:
      'format' attribute argument not supported: PyArg_ParseTuple
PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...)
Py_FORMAT_PARSETUPLE(...
                                                                ^
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyport.h:871:57:
note:
      expanded from macro 'Py_FORMAT_PARSETUPLE'
#define Py_FORMAT_PARSETUPLE(func,p1,p2) __attribute__((format(func,p1,p2)))
                                                        ^
1 warning and 4 errors generated.
error: command '/usr/bin/clang' failed with exit status 1
➜  pycuda-2011.2.2

_______________________________________________
PyCUDA mailing list
[email protected]
http://lists.tiker.net/listinfo/pycuda

Reply via email to