From fb4be4c1c137cd483dc09e83e9edc8ed553e3fc2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 22 Mar 2013 19:41:17 +0000 Subject: [PATCH] Document the use configuration of BLAS and LAPACK better. git-svn-id: https://svn.dealii.org/trunk@28994 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/development/cmake.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deal.II/doc/development/cmake.html b/deal.II/doc/development/cmake.html index 27ba5a0175..538a7c46fd 100644 --- a/deal.II/doc/development/cmake.html +++ b/deal.II/doc/development/cmake.html @@ -402,13 +402,14 @@ just take the second as hints but errors out if LAPACK can't be used with the given library (if you are sure that the path works, you can then omit the first command). An example of use is to select BLAS - and LAPACK as follows: + and LAPACK as follows (here, these libraries have been compiled with the + gfortran compiler and need its support library):
 
     cmake -DBLAS_FOUND=true \
-          -DBLAS_LIBRARIES=/apps/GotoBLAS/lib64/libgoto.so \
+          -DBLAS_LIBRARIES="-L/apps/GotoBLAS/lib64 -lgoto -lgfortran" \
           -DLAPACK_FOUND=true \
-          -DLAPACK_LIBRARIES=/apps/lapack-3.2.1/lib64/liblapack.so
+          -DLAPACK_LIBRARIES="-L/apps/lapack-3.2.1/lib64 -llapack -L/apps/GotoBLAS/lib64 -lgoto -lgfortran"
       
You can set these values on the command line, with ccmake -- 2.39.5