From: kronbichler
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
--with-blas
. Rather, you set the variable
LDFLAGS
accordingly or make sure that the path is in
your LD_LIBRARY_PATH
or similar. For details, please
@@ -709,7 +709,23 @@
This example will search for a library
libmyblas.a
or libmyblas.so
in the
directory /my/lib
and elswhere in the system library
- paths.
Some versions of BLAS and LAPACK need additional libraries
+ to be linked with. Such an example is the
+ automatically tuned
+ linear algebra software (ATLAS). The BLAS version of this
+ package also needs declarations from libatlas.a
,
+ so it must be included. Using the standard library names of
+ atlas, the include for BLAS reads
+
+ ./configure --with-blas='f77blas -latlas' ++ assuming that
libf77blas.a
and libatlas.a
+ or the respective shared libraries *.so
are in your
+ LD_LIBRARY_PATH
. LAPACK generated by ATLAS is
+ included in a similar fashion.
+