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

Linking to openblas #792

Closed
akopich opened this issue Sep 5, 2020 · 3 comments
Closed

Linking to openblas #792

akopich opened this issue Sep 5, 2020 · 3 comments

Comments

@akopich
Copy link

akopich commented Sep 5, 2020

Hi all.

I'm struggling to make breeze link to openblas. I have breeze-natives dependency included (replacing it with an explicit dependence on netlib-java doesn't help). Apparently, the linker sees blas

# ldconfig -p  | grep blas 
        libopenblas.so.3 (libc6,x86-64) => /usr/lib/libopenblas.so.3
        libopenblas.so (libc6,x86-64) => /usr/lib/libopenblas.so
        liblasem-0.4.so.4 (libc6,x86-64) => /usr/lib/liblasem-0.4.so.4
        liblasem-0.4.so (libc6,x86-64) => /usr/lib/liblasem-0.4.so
        libcblas.so.3 (libc6,x86-64) => /usr/lib/libcblas.so.3
        libcblas.so (libc6,x86-64) => /usr/lib/libcblas.so

yet

Sep 05, 2020 9:51:29 AM com.github.fommil.netlib.BLAS <clinit>
WARNING: Failed to load implementation from: com.github.fommil.netlib.NativeSystemBLAS
Sep 05, 2020 9:51:29 AM com.github.fommil.netlib.BLAS <clinit>
WARNING: Failed to load implementation from: com.github.fommil.netlib.NativeRefBLAS
Sep 05, 2020 9:51:31 AM com.github.fommil.netlib.LAPACK <clinit>
WARNING: Failed to load implementation from: com.github.fommil.netlib.NativeSystemLAPACK
Sep 05, 2020 9:51:31 AM com.github.fommil.netlib.LAPACK <clinit>
WARNING: Failed to load implementation from: com.github.fommil.netlib.NativeRefLAPACK

I'm running the app with sbt run under Linux.

@akopich
Copy link
Author

akopich commented Sep 6, 2020

NVM, I needed to install libgfortran3 (and the "3" part is important).

@akopich akopich closed this as completed Sep 6, 2020
@dlwh
Copy link
Member

dlwh commented Sep 6, 2020 via email

@fdietze
Copy link

fdietze commented Jul 27, 2021

libgfortran3 is not available in newer ubuntu distributions anymore...

https://packages.ubuntu.com/search?keywords=libgfortran3

What should I do in this case?

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

3 participants