Michael,

> I am trying to compile deal.II on a cluster (Scientific Linux SL release
> 4.4, on the 2.6.9-42 kernel, with GCC 3.4.6) with the following configure
> command:
>
> ./configure --enable-threads --with-umfpack --with-blas=blas_LINUX
> --with-lapack=lapack_LINUX LDFLAGS=-L/NANO/tools/LAPACK/3.3.0-gcc/
>
> where the libraries are called libblas_LINUX.a and liblapack_LINUX.a and
> both are located in /NANO/tools/LAPACK/3.3.0-gcc/. The BLAS library is found
> however when it tries to find LAPACK I get the following message:
>
> checking for dgbsv_ in -llapack_LINUX... no
> configure: error: LAPACK library lapack_LINUX not found
>
> Any reason why it would have problems with LAPACK and not BLAS? The output
> from the configure command is below and the config.log is attached.

If you look at the output in config.log, you'll notice that when linking with 
your LAPACK library, it is missing symbols like _gfortran_copy_string etc. 
These are functions that are provided by the gfortran compiler (GCC's fortran 
compiler from release 4.0 and later) in a library that you link with -
lgfortran. ./configure tried to find this library before but failed. In other 
words, your lapack package needs the gfortran library, but it's not there. The 
error that it can't find LAPACK_LINUX is therefore only half correct: it can 
find the library, but it can't link with it. Does that make sense?

Best
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [email protected]
                                 www: http://www.math.tamu.edu/~bangerth/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to