Replaced .dylib with .jnilib

35 views
Skip to first unread message

Melyu

unread,
Aug 11, 2016, 4:10:42 PM8/11/16
to jblas-users
Hi,

I've been using Jblas to solve a generalized eigenvalue problem with no problem, but suddenly ran into this error today--not sure why, since I haven't modified anything.


Exception in thread "main" java.lang.IllegalArgumentException: XERBLA: Error on argument 6 for *unknown function* DSTEIN (how odd!)


at org.jblas.NativeBlas.dsygvx(Native Method)

at org.jblas.NativeBlas.dsygvx(NativeBlas.java:534)

at org.jblas.SimpleBlas.sygvx(SimpleBlas.java:403)

at org.jblas.Eigen.symmetricGeneralizedEigenvectors(Eigen.java:256)

at gemclassify.GenEigVecFeatures.trainGEM(GenEigVecFeatures.java:219)

at gemclassify.GenEigVecFeatures.main(GenEigVecFeatures.java:46)

-- org.jblas INFO Deleting /var/folders/36/lnzd7jy17d10d_90d1w_jh900000gn/T/jblas1121853583359263698/libjblas.dylib

-- org.jblas INFO Deleting /var/folders/36/lnzd7jy17d10d_90d1w_jh900000gn/T/jblas1121853583359263698/libjblas_arch_flavor.dylib

-- org.jblas INFO Deleting /var/folders/36/lnzd7jy17d10d_90d1w_jh900000gn/T/jblas1121853583359263698


When I run the benchmark test, everything seems to work, but a few things look strange (highlighted in bold):

-- org.jblas INFO jblas version is 1.2.4

Simple benchmark for jblas


Running sanity benchmarks.


checking vector addition... ok

-- org.jblas CONFIG BLAS native library not found in path. Copying native library from the archive. Consider installing the library somewhere in the path (for Windows: PATH, for Linux: LD_LIBRARY_PATH).

-- org.jblas CONFIG ArchFlavor native library not found in path. Copying native library libjblas_arch_flavor from the archive. Consider installing the library somewhere in the path (for Windows: PATH, for Linux: LD_LIBRARY_PATH).

-- org.jblas CONFIG Replaced .dylib with .jnilib

-- org.jblas CONFIG Loading libjblas_arch_flavor.jnilib from /lib/static/Mac OS X/x86_64/, copying to libjblas_arch_flavor.dylib.

-- org.jblas CONFIG Replaced .dylib with .jnilib

-- org.jblas CONFIG Loading libjblas.jnilib from /lib/static/Mac OS X/x86_64/sse3/, copying to libjblas.dylib.

checking matrix multiplication... ok

checking existence of dsyev...... ok

[-0.210656, -0.640445, -0.444736; -0.509085, -0.116445, 0.800107; -0.807515, 0.407556, -0.400053; 0.210656, 0.640445, -0.044682]

[17.233688; 1.414214; 0.000000]

[-0.470605, 0.782218, 0.408248; -0.571449, 0.082339, -0.816497; -0.672293, -0.617540, 0.408248]

[17.233688; 1.414214; 0.000000]

checking existence of dgesvd...... ok

Checking complex return values... (z = -21.0 + 88.0i)

Check whether we're catching XERBLA errors. If you see something like "** On entry to DGEMM  parameter number  4 had an illegal value", it didn't work!

checking XERBLA... ok

Sanity checks passed.


Each benchmark will take about 5 seconds...


Running benchmark "Java matrix multiplication, double precision".

n = 10   :  2.234 GFLOPS (5584623 iterations in 5.0 seconds)

n = 100  :  2.594 GFLOPS (6485 iterations in 5.0 seconds)

n = 1000 :  2.155 GFLOPS (6 iterations in 5.6 seconds)


Running benchmark "Java matrix multiplication, single precision".

n = 10   :  2.149 GFLOPS (5373587 iterations in 5.0 seconds)

n = 100  :  2.238 GFLOPS (5597 iterations in 5.0 seconds)

n = 1000 :  2.099 GFLOPS (6 iterations in 5.7 seconds)


Running benchmark "native matrix multiplication, double precision".

n = 10   :  1.221 GFLOPS (3052268 iterations in 5.0 seconds)

n = 100  :  7.023 GFLOPS (17557 iterations in 5.0 seconds)

n = 1000 : 10.761 GFLOPS (27 iterations in 5.0 seconds)


Running benchmark "native matrix multiplication, single precision".

n = 10   :  1.501 GFLOPS (3752920 iterations in 5.0 seconds)

n = 100  : 14.998 GFLOPS (37494 iterations in 5.0 seconds)

n = 1000 : 19.320 GFLOPS (49 iterations in 5.1 seconds)

-- org.jblas INFO Deleting /var/folders/36/lnzd7jy17d10d_90d1w_jh900000gn/T/jblas8186662217034948075/libjblas.dylib

-- org.jblas INFO Deleting /var/folders/36/lnzd7jy17d10d_90d1w_jh900000gn/T/jblas8186662217034948075/libjblas_arch_flavor.dylib

-- org.jblas INFO Deleting /var/folders/36/lnzd7jy17d10d_90d1w_jh900000gn/T/jblas8186662217034948075 

Would appreciate any help at all on this! Thanks a ton. 

Reply all
Reply to author
Forward
0 new messages