diff options
author | Pjotr Prins | 2018-01-26 10:57:14 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-01-26 10:57:14 +0000 |
commit | b0d31fa2631622d09730c85b5ce3e82b4886dd45 (patch) | |
tree | c35879b1e77dfb546ae8c2abe7bc8ea8a058ef53 /INSTALL.md | |
parent | 3293f7e6456574272418b16f4a5ba22f60f8d67a (diff) | |
download | pangemma-b0d31fa2631622d09730c85b5ce3e82b4886dd45.tar.gz |
Always check input data for strtok - unless -no-check is used
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -172,3 +172,17 @@ Note, for performance we want a 64-bit binary with threading. make EIGEN_INCLUDE_PATH=~/.guix-profile/include/eigen3 LIBS="~/opt/gsl2/lib/libgsl.a ~/tmp/OpenBLAS/libopenblas_haswell-r0.3.0.dev.a ~/.guix-profile/lib/libgfortran.a ~/.guix-profile/lib/libquadmath.a -pthread -lz" OPENBLAS_INCLUDE_PATH=~/tmp/OpenBLAS/ -j 4 fast-check Note we don't include standard lapack, because it is 32-bits. + +## Trouble shooting + +### undefined reference to `dpotrf_' + +If you get errors like + + gemma/src/lapack.cpp:58: undefined reference to `dpotrf_' + gemma/src/lapack.cpp:80: undefined reference to `dpotrs_' + gemma/src/lapack.cpp:162: undefined reference to `dsyev_' + +it means you need to link against LAPACK. E.g. + + make WITH_LAPACK=1 |