Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.ExceptionInInitializerError: unable to load from #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

databig
Copy link

@databig databig commented Apr 10, 2015

Welcome to Scala version 2.11.1 (IBM J9 VM, Java 1.7.0).
Type in expressions to have them evaluated.
Type :help for more information.

scala> import jcuda.jcublas.{cublasHandle, JCublas2}
import jcuda.jcublas.{cublasHandle, JCublas2}

scala>

scala> implicit val handle = new cublasHandle
handle: jcuda.jcublas.cublasHandle = cublasHandle[nativePointer=0x0]

scala> JCublas2.cublasCreate(handle)
java.lang.ExceptionInInitializerError: unable to load from [jcublas2-linux-x86_64.so]
at com.github.fommil.jni.JniLoader.load(JniLoader.java:81)
at jcuda.jcublas.JCublas2.initialize(JCublas2.java:79)
at jcuda.jcublas.JCublas2.(JCublas2.java:65)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
... 45 elided

@dlwh Could you please take a look?

@dlwh
Copy link
Owner

dlwh commented Apr 14, 2015

Pretty sure you're using an incompatible version of CUDA. What version are
you using?

On Fri, Apr 10, 2015 at 2:17 PM, databig notifications@github.com wrote:

Welcome to Scala version 2.11.1 (IBM J9 VM, Java 1.7.0).
Type in expressions to have them evaluated.
Type :help for more information.

scala> import jcuda.jcublas.{cublasHandle, JCublas2}
import jcuda.jcublas.{cublasHandle, JCublas2}

scala>

scala> implicit val handle = new cublasHandle
handle: jcuda.jcublas.cublasHandle = cublasHandle[nativePointer=0x0]

scala> JCublas2.cublasCreate(handle)
java.lang.ExceptionInInitializerError: unable to load from
[jcublas2-linux-x86_64.so]
at com.github.fommil.jni.JniLoader.load(JniLoader.java:81)
at jcuda.jcublas.JCublas2.initialize(JCublas2.java:79)
at jcuda.jcublas.JCublas2.(JCublas2.java:65)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
... 45 elided

@dlwh https://github.com/dlwh Could you please take a look?

You can view, comment on, or merge this pull request online at:

#4
Commit Summary

  • Fixed pivoting problems with LU

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#4.

@andreaferretti
Copy link

I have the same issue. In fact, I am using CUDA 7.0. Any chance the project will be ported to more recent versions of CUDA? I tried doing this myself, but there are a lot of dependencies that need poring as well, and I am no CUDA expert

@dlwh
Copy link
Owner

dlwh commented Jul 15, 2015

Sorry, I'll get to it eventually, but i'm a bit swamped right now.

On Tue, Jul 14, 2015 at 1:44 AM, Andrea Ferretti notifications@github.com
wrote:

I have the same issue. In fact, I am using CUDA 7.0. Any chance the
project will be ported to more recent versions of CUDA? I tried doing this
myself, but there are a lot of dependencies that need poring as well, and I
am no CUDA expert


Reply to this email directly or view it on GitHub
#4 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants