Hi Everyone,

I'm trying to install PyCuda 0.9.2 on OS X 10.5.7. Currently, I have
CUDA 2.2 and Boost 1.37 (self-installed using gcc 4.0). Following a
similar scheme to the PyCuda installation I had the Boost files placed
in $HOME/pool/. To configure the pycuda install I did

python configure.py \
--boost-inc-dir=$HOME/pool/include/boost-1_37 \
--boost-lib-dir=$HOME/pool/lib \
--boost-python-libname=boost_python-xgcc40-mt  \
--cuda-root=/user/local/cuda

Then when I type in "make", I get the output from below. The first
error claims that there is no cuda.h. To make sure, I did "locate
cuda.h" and it was in /usr/local/cuda/include/cuda.h. Would this be
the cause cause the problem?

Note, I noticed that the lib files for Boost all began with libboost*.
I tried changing boost_python-xgcc40-mt to libboost_python-xgcc40-mt
and did not change the output.

Any ideas why I'm getting the error? Thank you for your help in advanced.

Cheers,

Eli Bressert




ctags -R src || true
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
/Library/Frameworks/Python.framework/Versions/4.2.30201/Resources/Python.app/Contents/MacOS/Python
setup.py build
running build
running build_py
creating build
creating build/lib.macosx-10.3-fat-2.5
creating build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/__init__.py -> build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/autoinit.py -> build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/cumath.py -> build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/curandom.py -> build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/driver.py -> build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/elementwise.py -> build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/gpuarray.py -> build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/rt.py -> build/lib.macosx-10.3-fat-2.5/pycuda
copying src/python/tools.py -> build/lib.macosx-10.3-fat-2.5/pycuda
running build_ext
building '_driver' extension
creating build/temp.macosx-10.3-fat-2.5
creating build/temp.macosx-10.3-fat-2.5/src
creating build/temp.macosx-10.3-fat-2.5/src/cpp
creating build/temp.macosx-10.3-fat-2.5/src/wrapper
gcc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing
-Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic
-I/tmp/_py/libraries/usr/local/include -O3 -DNDEBUG -Isrc/cpp
-I/Users/ebressert/pool/include/boost-1_37 -I/user/local/cuda/include
-I/Library/Frameworks/Python.framework/Versions/4.2.30201/lib/python2.5/site-packages/numpy-1.3.0-py2.5-macosx-10.3-fat.egg/numpy/core/include
-I/Library/Frameworks/Python.framework/Versions/4.2.30201/include/python2.5
-c src/cpp/cuda.cpp -o build/temp.macosx-10.3-fat-2.5/src/cpp/cuda.o
-arch i386
In file included from src/cpp/cuda.cpp:1:
src/cpp/cuda.hpp:12:18: error: cuda.h: No such file or directory
src/cpp/cuda.hpp:70: error: 'CUresult' does not name a type
....
....
....
src/cpp/cuda.hpp:1093: error: 'cuEventElapsedTime' was not declared in
this scope
src/cpp/cuda.hpp:1093: error: 'CUDA_SUCCESS' was not declared in this scope
src/cpp/cuda.hpp:1093: error: no matching function for call to
'cuda::error::error(const char [19], <type error>)'
src/cpp/cuda.hpp:87: note: candidates are: cuda::error::error(const
char*, int, const char*)
src/cpp/cuda.hpp:67: note:                 cuda::error::error(const
cuda::error&)
error: command 'gcc' failed with exit status 1
make: *** [all] Error 1

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to