Just for future reference: To get it working on Ubuntu Jaunty 64 use the following: BOOST_INC_DIR = [] BOOST_LIB_DIR = [] BOOST_COMPILER = 'gcc43' BOOST_PYTHON_LIBNAME = ['boost_python-gcc43-mt-1_35-py26'] BOOST_THREAD_LIBNAME = ['boost_thread-gcc43-mt-1_35'] CUDA_TRACE = False CUDA_ROOT = '/usr/local/cuda' CUDA_ENABLE_GL = False CUDADRV_LIB_DIR = ['/usr/lib'] CUDADRV_LIBNAME = ['cuda'] CXXFLAGS = [] LDFLAGS = [
Cheers, Willem Ligtenberg On Sat, Apr 11, 2009 at 12:14, Willem Ligtenberg <[email protected]> wrote: > Still no luck. > I have put the path /usr/local/cuda/bin > Which is the default in both my PATH and PYTHONPATH env variable. > And still no luck. > Could someone post a siteconfig.py? > > This is mine: > BOOST_INC_DIR = [] > BOOST_LIB_DIR = [] > BOOST_COMPILER = 'gcc43' > BOOST_PYTHON_LIBNAME = ['boost_python-gcc43-mt'] > BOOST_THREAD_LIBNAME = ['boost_thread-gcc43-mt'] > CUDA_TRACE = False > CUDA_ENABLE_GL = False > CUDADRV_LIB_DIR = [] > CUDADRV_LIBNAME = ['cuda'] > CXXFLAGS = [] > LDFLAGS = [] > > This is straight after running configure. > And I get the following error: > /usr/bin/python setup.py build > * /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games > /usr/local/sbin > /usr/local/bin > /usr/sbin > /usr/bin > /sbin > /bin > /usr/games > *** CUDA_ROOT not set, and nvcc not in path. Giving up. > make: *** [all] Error 1 > > > Thanks in advance, > > Willem Ligtenberg > > > PS: Andreas sorry for the direct mail, wrong reply button... > > On Fri, Apr 10, 2009 at 20:44, Andreas Klöckner <[email protected]> > wrote: >> On Freitag 10 April 2009, Willem Ligtenberg wrote: >>> (I hope this gets in the right thread. (I had a digest subscription.)) >>> In response to Andreas >>> >>> I have nvcc in the $PATH. >>> I can call it from the command line anywhere. >>> So should I try to compile with less options? >> >> Yes--actually, running configure amounts to editing siteconf.py--so do that >> instead to see your entire configured state. Just remove the CUDA_ROOT >> setting >> from that file, and try if autodetection works for you. >> >> If it doesn't, post the whole error message, the path to your CUDA and your >> siteconf.py. >> >> HTH, >> Andreas >> >> _______________________________________________ >> PyCuda mailing list >> [email protected] >> http://tiker.net/mailman/listinfo/pycuda_tiker.net >> >> > _______________________________________________ PyCuda mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
