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

JavaALSSuite in error due to UnsatisfiedLinkError #1

Open
sonia-garudi opened this issue Jul 18, 2016 · 1 comment
Open

JavaALSSuite in error due to UnsatisfiedLinkError #1

sonia-garudi opened this issue Jul 18, 2016 · 1 comment

Comments

@sonia-garudi
Copy link

Failed Project: Spark Project ML Library

Tests in error:
JavaALSSuite.runALSUsingConstructor:115 ? UnsatisfiedLink org.jblas.NativeBlas...
JavaALSSuite.runALSUsingStaticMethods:101 ? UnsatisfiedLink org.jblas.NativeBl...

Stacktrace:

-- org.jblas ERROR Couldn't load copied link file: java.lang.UnsatisfiedLinkError: /ws/spark-release/mllib/target/tmp/jblas6615862881587420348/libjblas.so: libgfortran.so.3: cannot open shared object file: No such file or directory.

runALSUsingStaticMethods(org.apache.spark.mllib.recommendation.JavaALSSuite) Time elapsed: 0.303 sec <<< ERROR!
java.lang.UnsatisfiedLinkError: org.jblas.NativeBlas.dgemm(CCIIID[DII[DIID[DII)V
at org.jblas.NativeBlas.dgemm(Native Method)
at org.jblas.SimpleBlas.gemm(SimpleBlas.java:247)
at org.jblas.DoubleMatrix.mmuli(DoubleMatrix.java:1781)
at org.jblas.DoubleMatrix.mmul(DoubleMatrix.java:3138)
at org.apache.spark.mllib.recommendation.ALSSuite$.generateRatings(ALSSuite.scala:74)
at org.apache.spark.mllib.recommendation.ALSSuite$.generateRatingsAsJavaList(ALSSuite.scala:40)
at org.apache.spark.mllib.recommendation.ALSSuite.generateRatingsAsJavaList(ALSSuite.scala)
at org.apache.spark.mllib.recommendation.JavaALSSuite.runALSUsingStaticMethods(JavaALSSuite.java:101)

runALSUsingConstructor(org.apache.spark.mllib.recommendation.JavaALSSuite) Time elapsed: 0.199 sec <<< ERROR!
java.lang.UnsatisfiedLinkError: org.jblas.NativeBlas.dgemm(CCIIID[DII[DIID[DII)V
at org.jblas.NativeBlas.dgemm(Native Method)
at org.jblas.SimpleBlas.gemm(SimpleBlas.java:247)
at org.jblas.DoubleMatrix.mmuli(DoubleMatrix.java:1781)
at org.jblas.DoubleMatrix.mmul(DoubleMatrix.java:3138)
at org.apache.spark.mllib.recommendation.ALSSuite$.generateRatings(ALSSuite.scala:74)
at org.apache.spark.mllib.recommendation.ALSSuite$.generateRatingsAsJavaList(ALSSuite.scala:40)
at org.apache.spark.mllib.recommendation.ALSSuite.generateRatingsAsJavaList(ALSSuite.scala)
at org.apache.spark.mllib.recommendation.JavaALSSuite.runALSUsingConstructor(JavaALSSuite.java:115)

@sonia-garudi
Copy link
Author

This issue is reproducible on x86 as well.

The error is occuring because libgfortran3 is not installed.
Found an issue logged for this error at https://spark-project.atlassian.net/browse/SPARK-797

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

No branches or pull requests

1 participant