Hello,
I’m new to CUDA and jCuda, and am having problems with JCudaDriver loading in running samples. Using the emulation mode, I’ve gotten the JCudaRuntimeSample.java to run fine, but when I run both the KernelLauncherSample.java and the JCudaDriverCubinSample.java, I get the following error:
[SIZE=2][LEFT]Error while loading native library with base name “JCudaDriver”
Operating system name: Windows XP
Architecture : x86
Architecture bit size: 32
Stack trace:
java.lang.UnsatisfiedLinkError: C:\Java\workspace\jCuda\JCudaDriver-windows-x86.dll: Can’t find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load([/SIZE][SIZE=2]Native Method[/SIZE][SIZE=2])
at java.lang.ClassLoader.loadLibrary0([/SIZE][SIZE=2]ClassLoader.java:1758[/SIZE][SIZE=2])
at java.lang.ClassLoader.loadLibrary([/SIZE][SIZE=2]ClassLoader.java:1683[/SIZE][SIZE=2])
at java.lang.Runtime.loadLibrary0([/SIZE][SIZE=2]Runtime.java:823[/SIZE][SIZE=2])
at java.lang.System.loadLibrary([/SIZE][SIZE=2]System.java:1028[/SIZE][SIZE=2])
at jcuda.LibUtils.loadLibrary([/SIZE][SIZE=2]LibUtils.java:53[/SIZE][SIZE=2])
at jcuda.driver.JCudaDriver.([/SIZE][SIZE=2]JCudaDriver.java:82[/SIZE][SIZE=2])
at samples.KernelLauncherSample.main([/SIZE][SIZE=2]KernelLauncherSample.java:28[/SIZE][SIZE=2])[/SIZE]
[SIZE=2][/SIZE]
[SIZE=2][COLOR=#000000]I’m guessing i’m missing something simple, but not sure where to start. Any help in figuring this out would be much appreciated! [/COLOR][/SIZE]
[SIZE=2][COLOR=#000000] [/LEFT]
[/COLOR][/SIZE]