For the records: It worked for me after I added LDFLAGS = ['-L/usr/local/cuda/lib64'] in pycuda-2011.1.2/siteconf.py.
My reply to Алексей's mail went to him and not pycuda list :-| my mistake. On Saturday, July 23, 2011 10:34:19 AM Алексей Гурин wrote: > Linker can't find libcurand.so library. > Try to start configure.py with --ldflags=-L/usr/local/cuda/lib > > Change path if needed. > > 22 июля 2011, 22:17 от Rekhesh Mohan <r...@iiap.res.in>: > > > > > > > > > > Hi people.. Greetings! :) > > Anyone got pycuda installed on centos 5.6? All my attempts with > various combinations of default gcc, gcc44, default python, and > python 2.6 ends up with the following error during make: > > g++ -pthread -shared build/temp.linux-x86_64-2.6/src/cpp/cuda.o > build/temp.linux > -x86_64-2.6/src/cpp/bitlog.o build/temp.linux- > x86_64-2.6/src/wrapper/wrap_cudadr > v.o build/temp.linux-x86_64-2.6/src/wrapper/mempool.o > build/temp.linux- x86_64-2. > 6/bpl-subset/bpl_subset/libs/python/src/object/enum.o > build/temp.linux- x86_64-2. > 6/bpl-subset/bpl_subset/libs/python/src/object/stl_iterator.o > build/temp.linux-x > 86_64-2.6/bpl-subset/bpl_subset/libs/python/src/object/life_support.o > build/temp > .linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/python/src/object/function.o build/ > temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/python/src/object/iterator.o bu > ild/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/python/src/object/function_ > doc_signature.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/python/sr > c/object/inheritance.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/py > thon/src/object/class.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/p > ython/src/object/pickle_support.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_sub > set/libs/python/src/converter/arg_to_python_base.o build/temp.linux- > x86_64-2.6/b > pl-subset/bpl_subset/libs/python/src/converter/from_python.o > build/temp.linux-x8 > 6_64-2.6/bpl- > subset/bpl_subset/libs/python/src/converter/builtin_converters.o bu > ild/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/python/src/converter/type_i > d.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/python/src/converter/ > registry.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/python/src/lon > g.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/libs/python/src/import.o b > uild/temp.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/str. > o build/tem > p.linux-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/exec.o > build/temp.linux > -x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/object_operators.o > build/temp. > linux-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/wrapper.o > build/temp.linu > x-x86_64-2.6/bpl-subset/bpl_subset/libs/python/src/tuple.o > build/temp.linux-x86_ > 64-2.6/bpl-subset/bpl_subset/libs/python/src/slice.o > build/temp.linux- x86_64-2.6 > /bpl-subset/bpl_subset/libs/python/src/errors.o build/temp.linux- > x86_64-2.6/bpl- > subset/bpl_subset/libs/python/src/module.o build/temp.linux- > x86_64-2.6/bpl-subse > t/bpl_subset/libs/python/src/numeric.o > build/temp.linux-x86_64-2.6/bpl- subset/bp > l_subset/libs/python/src/list.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subse > t/libs/python/src/object_protocol.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_s > ubset/libs/python/src/dict.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subset/l > ibs/smart_ptr/src/sp_collector.o build/temp.linux-x86_64-2.6/bpl- > subset/bpl_subs > et/libs/smart_ptr/src/sp_debug_hooks.o > build/temp.linux-x86_64-2.6/bpl- subset/bp > l_subset/libs/thread/src/pthread/once.o > build/temp.linux-x86_64-2.6/bpl- subset/b > pl_subset/libs/thread/src/pthread/thread.o build/temp.linux- > x86_64-2.6/src/wrapp > er/wrap_curand.o -L/usr/lib64 -L/usr/lib64 -lcuda -lcurand > -lpython2.6 - o build/ > lib.linux-x86_64-2.6/pycuda/_driver.so > /usr/bin/ld: cannot find -lcurand > collect2: ld returned 1 exit status > > By the way, I have set CXXFLAGS = ['-DBOOST_PYTHON_NO_PY_SIGNATURES'] > in siteconf.py, and I have tried with pycuda-2011.1.2 (latest > download available on website) as well as a clone from git. > > Any suggestions? Thanks in anticipation.. > > --R > > _______________________________________________ > PyCUDA mailing list > > PyCUDA@tiker.net > > http://lists.tiker.net/listinfo/pycuda > > document.write(' _______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda