From 4f6b1e72130bcab85e378f0d3c9094a8e6f099ca Mon Sep 17 00:00:00 2001 From: kronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d> Date: Mon, 14 Apr 2008 15:20:37 +0000 Subject: [PATCH] Describe how to include the ATLAS version of BLAS. git-svn-id: https://svn.dealii.org/trunk@15993 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/doc/readme.html | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/deal.II/doc/readme.html b/deal.II/doc/readme.html index 6908528214..0b8400480b 100644 --- a/deal.II/doc/readme.html +++ b/deal.II/doc/readme.html @@ -696,8 +696,8 @@ in the default locations of your system, and similarly for LAPACK.</p> <p>If your BLAS or LAPACK libraries are not in the standard search - path of your linker, you heve to linker where to find them. The - path is not given as an argument to + path of your linker, you have to tell the linker where to find them. + The path is not given as an argument to <code>--with-blas</code>. Rather, you set the variable <code>LDFLAGS</code> accordingly or make sure that the path is in your <code>LD_LIBRARY_PATH</code> or similar. For details, please @@ -709,7 +709,23 @@ <p> This example will search for a library <code>libmyblas.a</code> or <code>libmyblas.so</code> in the directory <code>/my/lib</code> and elswhere in the system library - paths.</p> </dd> + paths.</p> + + <p>Some versions of BLAS and LAPACK need additional libraries + to be linked with. Such an example is the + <a href="http://math-atlas.sourceforge.net/">automatically tuned + linear algebra software (ATLAS)</a>. The BLAS version of this + package also needs declarations from <code>libatlas.a</code>, + so it must be included. Using the standard library names of + atlas, the include for BLAS reads + <pre> + ./configure --with-blas='f77blas -latlas' + </pre> + assuming that <code>libf77blas.a</code> and <code>libatlas.a</code> + or the respective shared libraries <code>*.so</code> are in your + <code>LD_LIBRARY_PATH</code>. LAPACK generated by ATLAS is + included in a similar fashion.</p> + </dd> <a name="netcdf"></a> <dt>NetCDF</dt> -- 2.39.5