I am installing pycuda2011.2.2 on ubuntu 11.10, but can't complete it. Cuda is 4.0. When I do:
$ make -j 4
I get this error:
/usr/bin/ld: cannot find -lcuda /usr/bin/ld: skipping incompatible /usr/local/cuda/lib/libcurand.so when searching for -lcurand
Why this error? I think that cuda is 32 bit on 64 bit machine. But I can't see whether it's 32 bit or 64 bit.
Also, can anyone share code to make "gcc 4.4" as priority, just for my account and not all account?