[Gmsh] BLAS and LAPACK with gmsh

Hugues Delorme delorme.hugues at gmail.com
Wed Mar 25 18:17:00 CET 2009


Hello all,

    I have successfully compiled gmsh-2.3.1 on my desktop kubuntu8.04 
with gcc 4.2.4.
    However I don't know how to make gmsh cooperate with BLAS and LAPACK 
libraries which are required to perform mesh refinement.

    What are the ubuntu packages to install ? I have installed the 
lapack3 package (see 
http://packages.ubuntu.com/search?keywords=lapack3&searchon=names&suite=hardy&section=all).
    I have these files in /usr/lib :
        /usr/lib/liblapack.so.3
        /usr/lib/liblapack.so.3.0
        /usr/lib/libblas.so.3
        /usr/lib/libblas.so.3.0

    but gmsh still cannot find BLAS and LAPACK, I get this error : 
"Determinant computation requires LAPACK".
    I have already reconfigured gmsh with "./configure 
--with-blas-lapack-prefix=/usr/lib" and rebuilt but that didn't work either.

    Can someone help me out ?
    Kind regards,

Hugues Delorme