hey all,

i've compiled and installed pycuda just fine w/:
$ cat siteconf.py
BOOST_INC_DIR = ['/usr/include/boost/']
BOOST_LIB_DIR = ['/usr/lib']
BOOST_PYTHON_LIBNAME = ['boost_python-mt-py25']
CUDA_ROOT = '/usr/local/cuda/'
CUDA_INC_DIR = ['/usr/local/cuda/include']
CUDADRV_LIB_DIR = ['/usr/local/cuda/lib']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = []
LDFLAGS = []

but when i tried to run test_driver.py i got this:
$ python test/test_driver.py
cc1plus: error: cuda_runtime.h: No such file or directory
E.cc1plus: error: cuda_runtime.h: No such file or directory
Ecc1plus: error: cuda_runtime.h: No such file or directory
E.Ecc1plus: error: cuda_runtime.h: No such file or directory
Ecc1plus: error: cuda_runtime.h: No such file or directory
Ecc1plus: error: cuda_runtime.h: No such file or directory
Ecc1plus: error: cuda_runtime.h: No such file or directory
E
[...] # every test fails

to fix it i exported "CPLUS_INCLUDE_PATH=/usr/local/cuda/include/" and "C_INCLUDE_PATH=/usr/local/cuda/include/", and it worked.

so, my question is, is this something that i missed in the docs somewhere? or, why did the "CUDA_INC_DIR" setting not get picked up?

thanks,
derek


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

Reply via email to