Q.- How to install rCUDA?
Q.- While trying to compile a source code, I'm getting errors such as “undefined reference to cuXxxxxxXxxxxx”, for instance.
A.- Please notice that, in order to use rCUDA, you should compile your code using the CUDA environment. That is, while compiling your application, rCUDA should not be used. You should compile your application as if it were going to be used with CUDA. Actually, it is good practice to check that your application works with CUDA (with a local GPU) before executing it with rCUDA.
Q.- I'm not able to run applications in rCUDA. I'm getting initialization errors.
Q.- I'm getting the error “Error while loading shared libraries: libcudart.so.x.y: cannot open shared object file: No such file or directory.”
A.- This is a run-time error, stating that your LD_LIBRARY_PATH is not pointing where the rCUDA library is.