AAAUUUUUAAAAA 
this really hurts:-\\\\\\\\\
shold I do a c tutorial first (the last one was 25+ years back...)?
so:

:~> vi siteconf.py
BOOST_INC_DIR = ['/usr/include']
BOOST_LIB_DIR = ['/usr/lib64']
BOOST_COMPILER = 'gcc43'
BOOST_PYTHON_LIBNAME = ['boost_python-mt']
BOOST_THREAD_LIBNAME = ['boost_thread-mt']
CUDA_TRACE = False
CUDA_ENABLE_GL = True
CUDADRV_LIB_DIR = ['/usr/lib64']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = []
LDFLAGS = []

python setup.py build
... works fine, we have a
build/lib.linux-x86_64-2.5/pycuda/_driver.so

Much thanks!

===============================
next problem:

cd examples/
python hello_gpu.py
.... pytools not found
check http://wiki.tiker.net/PyCuda/Installation/Linux
check numpy - is installed
..
su -c "make install"
.... still pytools not found
logoff / logon (some envrionment stuff?)
.... still pytools not found
gooooogle,
Ah, you always expect pytools to be installed on your machines ;-)
fiddle around how to do undocumented setup
su
python setup.py install
exit
cd test/
python test.py 
... throws some errors
python test-prefork.py
.... just let's you wait some minutes and then prints some cuda version - 
weared, but don't care

cd pycuda/test/
python hello_gpu.py
get a bunch of zeros ans feel happy :-)))

OK, for me it works now, but peomple might be even more (and earlier) happy if 
the pytools issue had been mentioned in the setup wiki.

If you like and give me an wiki account, I'd go to share my experience.

Yours
Wolfgang Rosner

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

Reply via email to