Hello all, I just downloaded Nvidia's most current developer release of CUDA3.2 toolkit and devdriver260. They installed and I have built/tested their SDK examples on this Ubuntu10.04 box. When I attempt to build a fresh PyCUDA, I get unfamiliar errors causing the build to fail:
bpl-subset/bpl_subset /boost/ python .hpp *** Error occurred in plausibility checking for path of Boost Python library. *** Error occurred in plausibility checking for path of Boost Thread library. /usr/local/cuda /bin/ nvcc /usr/local/cuda/include / cuda .h /usr/lib / lib cuda .so running build running build_py creating build creating build/lib.linux-x86_64-2.6 creating build/lib.linux-x86_64-2.6/pycuda copying pycuda/compiler.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/autoinit.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/curandom.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/gpuarray.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/__init__.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/elementwise.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/driver.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/reduction.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/tools.py -> build/lib.linux-x86_64-2.6/pycuda copying pycuda/cumath.py -> build/lib.linux-x86_64-2.6/pycuda creating build/lib.linux-x86_64-2.6/pycuda/gl copying pycuda/gl/autoinit.py -> build/lib.linux-x86_64-2.6/pycuda/gl copying pycuda/gl/__init__.py -> build/lib.linux-x86_64-2.6/pycuda/gl creating build/lib.linux-x86_64-2.6/pycuda/sparse copying pycuda/sparse/pkt_build.py -> build/lib.linux-x86_64-2.6/pycuda/sparse copying pycuda/sparse/inner.py -> build/lib.linux-x86_64-2.6/pycuda/sparse copying pycuda/sparse/coordinate.py -> build/lib.linux-x86_64-2.6/pycuda/sparse copying pycuda/sparse/__init__.py -> build/lib.linux-x86_64-2.6/pycuda/sparse copying pycuda/sparse/operator.py -> build/lib.linux-x86_64-2.6/pycuda/sparse copying pycuda/sparse/cg.py -> build/lib.linux-x86_64-2.6/pycuda/sparse copying pycuda/sparse/packeted.py -> build/lib.linux-x86_64-2.6/pycuda/sparse running build_ext building '_driver' extension creating build/temp.linux-x86_64-2.6 creating build/temp.linux-x86_64-2.6/src creating build/temp.linux-x86_64-2.6/src/cpp creating build/temp.linux-x86_64-2.6/src/wrapper creating build/temp.linux-x86_64-2.6/bpl-subset creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/python creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/object creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/converter creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/smart_ptr creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/smart_ptr/src creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/thread creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/thread/src creating build/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/thread/src/pthread gcc -pthread -fno-strict-aliasing -fwrapv -Wall -O3 -DNDEBUG -fPIC -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/usr/local/cuda/include -I/usr/lib/python2.6/dist-packages/numpy/core/include -I/usr/include/python2.6 -c src/cpp/cuda.cpp -o build/temp.linux-x86_64-2.6/src/cpp/cuda.o In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50, from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13, from bpl-subset/bpl_subset/boost/python/args.hpp:8, from bpl-subset/bpl_subset/boost/python.hpp:11, from src/cpp/cuda.hpp:20, from src/cpp/cuda.cpp:1: /usr/include/python2.6/pyconfig.h:1031:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdlib.h:25, from /usr/local/cuda/include/cuda.h:39, from src/cpp/cuda.hpp:12, from src/cpp/cuda.cpp:1: /usr/include/features.h:158:1: warning: this is the location of the previous definition In file included from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:50, from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13, from bpl-subset/bpl_subset/boost/python/args.hpp:8, from bpl-subset/bpl_subset/boost/python.hpp:11, from src/cpp/cuda.hpp:20, from src/cpp/cuda.cpp:1: /usr/include/python2.6/pyconfig.h:1040:1: warning: "_XOPEN_SOURCE" redefined In file included from /usr/include/stdlib.h:25, from /usr/local/cuda/include/cuda.h:39, from src/cpp/cuda.hpp:12, from src/cpp/cuda.cpp:1: /usr/include/features.h:160:1: warning: this is the location of the previous definition In file included from src/cpp/cuda.cpp:1: src/cpp/cuda.hpp: In static member function ‘static const char* cuda::error::curesult_to_str(CUresult)’: src/cpp/cuda.hpp:228: error: ‘CUDA_ERROR_POINTER_IS_64BIT’ was not declared in this scope src/cpp/cuda.hpp:230: error: ‘CUDA_ERROR_SIZE_IS_64BIT’ was not declared in this scope src/cpp/cuda.hpp: In member function ‘unsigned int cuda::device::total_memory()’: src/cpp/cuda.hpp:305: error: cannot convert ‘unsigned int*’ to ‘size_t*’ for argument ‘1’ to ‘CUresult cuDeviceTotalMem_v2(size_t*, CUdevice)’ src/cpp/cuda.hpp: In member function ‘unsigned int cuda::texture_reference::set_address(CUdeviceptr, unsigned int, bool)’: src/cpp/cuda.hpp:873: error: cannot convert ‘unsigned int*’ to ‘size_t*’ for argument ‘1’ to ‘CUresult cuTexRefSetAddress_v2(size_t*, CUtexref_st*, CUdeviceptr, size_t)’ src/cpp/cuda.hpp: In member function ‘boost::python::tuple cuda::module::get_global(const char*)’: src/cpp/cuda.hpp:1020: error: cannot convert ‘unsigned int*’ to ‘size_t*’ for argument ‘2’ to ‘CUresult cuModuleGetGlobal_v2(CUdeviceptr*, size_t*, CUmod_st*, const char*)’ src/cpp/cuda.hpp: In function ‘boost::python::tuple cuda::mem_get_info()’: src/cpp/cuda.hpp:1161: error: cannot convert ‘unsigned int*’ to ‘size_t*’ for argument ‘1’ to ‘CUresult cuMemGetInfo_v2(size_t*, size_t*)’ src/cpp/cuda.hpp: In function ‘unsigned int cuda::mem_alloc_pitch(std::auto_ptr<cuda::device_allocation>&, unsigned int, unsigned int, unsigned int)’: src/cpp/cuda.hpp:1238: error: cannot convert ‘unsigned int*’ to ‘size_t*’ for argument ‘2’ to ‘CUresult cuMemAllocPitch_v2(CUdeviceptr*, size_t*, size_t, size_t, unsigned int)’ src/cpp/cuda.hpp: In function ‘boost::python::tuple cuda::mem_get_address_range(CUdeviceptr)’: src/cpp/cuda.hpp:1248: error: cannot convert ‘unsigned int*’ to ‘size_t*’ for argument ‘2’ to ‘CUresult cuMemGetAddressRange_v2(CUdeviceptr*, size_t*, CUdeviceptr)’ error: command 'gcc' failed with exit status 1 make: *** [all] Error 1 I see boost floating around in the errors, however, nothing has changed regarding my boost installation from the last time I built pycuda0.94. In fact, using the exact same siteconf.py as my previous successful builds yields the above errors also. I am using boost1.38, because in my past build attempts I could not get pycuda to work with current versions of boost. I would like to continue using the current release of CUDA3.2 since it has features I will need. Before I mess around with boost, perhaps you recognize the source of these errors? Thanks, garrett.wri...@temple.edu _______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda