At first, I thought that OpenBLAS only provided BLAS functionality, but to my surprise the libopenblas.a library also provide LAPACK functionality.
Can you shed some light on what exactly OpenBLAS provides? Does it contain fully-featured LAPACK functionality, or only bits and pieces that were optimized?
Do you still need to build LAPACK and link with it if you require full LAPACK? And if you still need -llapack, in what order should they be linked? lopenblas -llapack, to ensure that the optimized LAPACK functions in OpenBLAS are found first by the linker?
Is this documented somewhere? I only could find a small hint on the wiki w.r.t. OpenBLAS providing some (?) LAPACK functionality.
I've also noticed that the OpenBLAS Makefile automatically download LAPACK. Is there any option to provide it the desired LAPACK tarball somehow, e.g. because the system you're building on can't go online?
If not, I'd be interested in adding that feature in the Makefile, since I require it. ;)
At first, I thought that OpenBLAS only provided BLAS functionality, but to my surprise the
libopenblas.alibrary also provide LAPACK functionality.Can you shed some light on what exactly OpenBLAS provides? Does it contain fully-featured LAPACK functionality, or only bits and pieces that were optimized?
Do you still need to build LAPACK and link with it if you require full LAPACK? And if you still need
-llapack, in what order should they be linked?lopenblas -llapack, to ensure that the optimized LAPACK functions in OpenBLAS are found first by the linker?Is this documented somewhere? I only could find a small hint on the wiki w.r.t. OpenBLAS providing some (?) LAPACK functionality.
I've also noticed that the OpenBLAS
Makefileautomatically download LAPACK. Is there any option to provide it the desired LAPACK tarball somehow, e.g. because the system you're building on can't go online?If not, I'd be interested in adding that feature in the
Makefile, since I require it. ;)