aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorPjotr Prins2017-12-19 08:56:17 +0000
committerPjotr Prins2017-12-19 08:56:17 +0000
commitc760aa09c2aa91ca6270b5f898c27e9aed376a73 (patch)
tree8b792cbb40abe9ee1656ec7332f69d432a86399a /INSTALL.md
parentfe883b9730925c75ac2bd09e7060c042929a942e (diff)
downloadpangemma-c760aa09c2aa91ca6270b5f898c27e9aed376a73.tar.gz
Optimizing OpenBlas
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 6b51edb..7778ca8 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -130,14 +130,14 @@ and/or play with the switches (listed in OpenBlas Makefile.rule)
and you should see something like
- OpenBLAS build complete. (BLAS CBLAS)
+ OpenBLAS build complete. (BLAS CBLAS LAPACK LAPACKE)
- OS ... Linux
- Architecture ... x86_64
- BINARY ... 64bit
- C compiler ... GCC (command line : gcc)
- Fortran compiler ... GFORTRAN (command line : gfortran)
- Library Name ... libopenblas_haswellp-r0.3.0.dev.a (Multi threaded; Max num-threads is 64)
+ OS ... Linux
+ Architecture ... x86_64
+ BINARY ... 64bit
+ C compiler ... GCC (command line : gcc)
+ Fortran compiler ... GFORTRAN (command line : gfortran)
+ Library Name ... libopenblas_haswellp-r0.3.0.dev.a (Multi threaded; Max num-threads is 64)
Note that OpenBlas by default uses a 32-bit integer API which can
overflow with large matrix sizes. We don't include LAPACK - the
@@ -146,7 +146,7 @@ OpenBlas version gives problems around eigenvalues for some reason.
We now have a static library which you can link using the full path
with using the GEMMA Makefile:
- time env OPENBLAS_NUM_THREADS=4 make EIGEN_INCLUDE_PATH=~/.guix-profile/include/eigen3 LIBS="~/tmp/OpenBLAS/libopenblas_haswellp-r0.3.0.dev.a -lgsl -lgslcblas -pthread -lz -llapack" -j 4 unittests
+ time env OPENBLAS_NUM_THREADS=4 make EIGEN_INCLUDE_PATH=~/.guix-profile/include/eigen3 LIBS="~/tmp/OpenBLAS/libopenblas_haswellp-r0.3.0.dev.a -lgsl -pthread -lz" -j 4 unittests
Latest (INT64, no gslcblas):