From 277d0f7e87646065fc54bcb5da3edb1e4f5acbf9 Mon Sep 17 00:00:00 2001 From: Carlo Camilloni <carlo.camilloni@gmail.com> Date: Tue, 11 Mar 2014 10:09:36 +0100 Subject: [PATCH] Installation: Blas and Lapack I have noticed that on some machines one needs to add -lgfortran to link blas and lapack correctly (manual updated). --- user-doc/Installation.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user-doc/Installation.txt b/user-doc/Installation.txt index 9432774e0..f846d5e37 100644 --- a/user-doc/Installation.txt +++ b/user-doc/Installation.txt @@ -93,8 +93,8 @@ you need to link BLAS and LAPACK libraries. Here you find some note. First of all, the DYNAMIC_LIB variable in the configuration file should contain the flag necessary to load these libraries -(typically -llapack -lblas, but full path specification with -L -should be necessary depending on your system configuration). +(typically -llapack -lblas, in some case followed by -lgfortran +but full path specification with -L should be necessary depending on your system configuration). Even though you can incur in some problem. - If the linker complains and suggest to recompiled lapack with -fPIC, it means that you have static lapack libraries. Either install dynamic lapack libraries -- GitLab