Can not find native library java.nativelibJCudaDriver-linux-x86_64.so

419 Views Asked by At

I am trying to implement JCUDA code on Hadoop. However while running the application, it gives unsatisfied link error:

can not load the native library "JCudaDriver-linux-x86_64" with base name "JCudaDriver"'

I have tried added the path to the library in LIBJARS, LD_LIBRARY_PATH, etc. I have tried setting the variable in the Java code using System.setProperty(). I have also tried the variable -Djava.library.path. However nothing seems to be working.

Operating System: Linux
Jcuda version: 0.7.0
CUDA version: 7.0
Hadoop version: 1.2.1

0

There are 0 best solutions below