Is there more documentation on what is needed to setup BLAS/LAPACK native
suport with Spark.

I’ve built spark with the -Pnetlib-lgpl flag and see that the netlib
classes are in the assembly jar.

jar tvf spark-assembly-1.5.0-SNAPSHOT-hadoop2.6.0.jar  | grep netlib |
grep Native
  6625 Tue Jul 07 15:22:08 EDT 2015
com/github/fommil/netlib/NativeRefARPACK.class
 21123 Tue Jul 07 15:22:08 EDT 2015
com/github/fommil/netlib/NativeRefBLAS.class178334 Tue Jul 07 15:22:08
EDT 2015 com/github/fommil/netlib/NativeRefLAPACK.class
  6640 Tue Jul 07 15:22:10 EDT 2015
com/github/fommil/netlib/NativeSystemARPACK.class
 21138 Tue Jul 07 15:22:10 EDT 2015
com/github/fommil/netlib/NativeSystemBLAS.class178349 Tue Jul 07
15:22:10 EDT 2015 com/github/fommil/netlib/NativeSystemLAPACK.class

Also I see the following in /usr/lib64

> ls /usr/lib64/libblas.
libblas.a         libblas.so        libblas.so.3      libblas.so.3.2
 libblas.so.3.2.1

> ls /usr/lib64/liblapack
liblapack.a         liblapack_pic.a     liblapack.so
liblapack.so.3      liblapack.so.3.2    liblapack.so.3.2.1

But I stil see the following in the Spark logs:

15/07/07 15:36:25 WARN BLAS: Failed to load implementation from:
com.github.fommil.netlib.NativeSystemBLAS
15/07/07 15:36:25 WARN BLAS: Failed to load implementation from:
com.github.fommil.netlib.NativeRefBLAS
15/07/07 15:36:26 WARN LAPACK: Failed to load implementation from:
com.github.fommil.netlib.NativeSystemLAPACK
15/07/07 15:36:26 WARN LAPACK: Failed to load implementation from:
com.github.fommil.netlib.NativeRefLAPACK

​
Anything in this process I missed?

Thanks,
Arun

Reply via email to