]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Document the use configuration of BLAS and LAPACK better.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 22 Mar 2013 19:41:17 +0000 (19:41 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 22 Mar 2013 19:41:17 +0000 (19:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@28994 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/development/cmake.html

index 27ba5a0175607d60f9259f2ef51e16867f7ce1f7..538a7c46fd44f5affc8c155dcec171ea4eb491e2 100644 (file)
       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):
       <pre>
 
     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"
       </pre>
 
       You can set these values on the command line, with <code>ccmake</code>

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.