From b0d31fa2631622d09730c85b5ce3e82b4886dd45 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 26 Jan 2018 10:57:14 +0000 Subject: Always check input data for strtok - unless -no-check is used --- INSTALL.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'INSTALL.md') diff --git a/INSTALL.md b/INSTALL.md index 7778ca8..f42d7a9 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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 -- cgit v1.2.3