Skip to content
New issue

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

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

Already on GitHub? # to your account

Windows: java.lang.UnsatisfiedLinkError: edu.berkeley.bid.CBLAS.dgemm #81

Open
wiwa opened this issue Jun 26, 2019 · 0 comments
Open

Windows: java.lang.UnsatisfiedLinkError: edu.berkeley.bid.CBLAS.dgemm #81

wiwa opened this issue Jun 26, 2019 · 0 comments

Comments

@wiwa
Copy link

wiwa commented Jun 26, 2019

OS is Windows 10.
Installed CUDA 9.2 and following the instructions with mvn clean install and sbt package.

Trying to run this:

import BIDMat._

object Main {

    def main(args: Array[String]): Unit = {
  
      val a = DMat(Array(2, 2), Seq.fill(4*4)(1.0).toArray)
  
      val b = a.copy
  
      println(a * b)
    }
}

Full error:

[error] (run-main-1) java.lang.UnsatisfiedLinkError: edu.berkeley.bid.CBLAS.dgemm(IIIIIID[DI[DID[DI)V
[error] java.lang.UnsatisfiedLinkError: edu.berkeley.bid.CBLAS.dgemm(IIIIIID[DI[DID[DI)V
[error]         at edu.berkeley.bid.CBLAS.dgemm(Native Method)
[error]         at BIDMat.DMat.fDMultDD(DMat.scala:708)
[error]         at BIDMat.DMat.fDMult(DMat.scala:658)
[error]         at BIDMat.DMat.$times(DMat.scala:1310)
[error]         at Main$.main(Main.scala:11)
[error]         at Main.main(Main.scala)
[error]         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error]         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[error]         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[error]         at java.lang.reflect.Method.invoke(Unknown Source)
[error]         at sbt.Run.invokeMain(Run.scala:93)
[error]         at sbt.Run.run0(Run.scala:87)
[error]         at sbt.Run.execute$1(Run.scala:65)
[error]         at sbt.Run.$anonfun$run$4(Run.scala:77)
[error]         at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error]         at sbt.util.InterfaceUtil$$anon$1.get(InterfaceUtil.scala:10)
[error]         at sbt.TrapExit$App.run(TrapExit.scala:252)
[error]         at java.lang.Thread.run(Unknown Source)
[error] java.lang.RuntimeException: Nonzero exit code: 1
[error]         at sbt.Run$.executeTrapExit(Run.scala:124)
[error]         at sbt.Run.run(Run.scala:77)
[error]         at sbt.Defaults$.$anonfun$bgRunMainTask$6(Defaults.scala:1150)
[error]         at sbt.Defaults$.$anonfun$bgRunMainTask$6$adapted(Defaults.scala:1145)
[error]         at sbt.internal.BackgroundThreadPool.$anonfun$run$1(DefaultBackgroundJobService.scala:366)
[error]         at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error]         at scala.util.Try$.apply(Try.scala:209)
[error]         at sbt.internal.BackgroundThreadPool$BackgroundRunnable.run(DefaultBackgroundJobService.scala:289)
[error]         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[error]         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[error]         at java.lang.Thread.run(Unknown Source)

Less revelant(?) but:
bidmat actually doesn't work, and even if I get it to run scala via various workarounds, I hit

BIDMat\lib\bidmat_init.scala:9: error: Symbol 'term <root>.jupyter' is missing from the classpath.
This symbol is required by 'class BIDMat.Mat.NonNotebook'.
Make sure that term jupyter is in your classpath and check for conflicting dependencies with `-Ylog-classpath`.
A full rebuild may help if 'Mat.class' was compiled against an incompatible version of <root>.
object $iw {
       ^
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant