[Gmsh] (Solved) Cmake didn't find the blas library (too)!

Wellington wcjesus at gmail.com
Wed Nov 16 19:48:18 CET 2011


Hi !

I just get the lib "liblapack-dev" in ubuntu 10.10 and Cmake found blas an
lapack.

Problem solved.



On Mon, Nov 14, 2011 at 10:20 PM, Wellington <wcjesus at gmail.com> wrote:

> Dear gmsh users,
>
> I am trying to complile gmsh 2.5.0 at a 32 bit machine with Ubuntu 10.10.
>
> I have the files .../librefblas.a, .../liblapack.a and .../libtmglib.a at the dir /home/wellington/LAPACK/lapack-3.4.0
>
> I change the library path with ccmake by :
>
> cmake .. -DCMAKE_PREFIX_PATH:string="/home/wellington/LAPACK/lapack-3.4.0"
>
> Please, how can I make the cmake identify the blas and lapack of my system?
>
> Thanks a lot!
>
> On 01/03/10 22:36, Antonio Frasson wrote:
>
> >* A have spend three hours trying to compile de gmsh 2.4.2.*>* I modified the file CMakeLists.txt in many ways and I tried the command:*>* cmake DCMAKE_PREFIX_PATH="/usr/lib64" ../*
> Hi,
>
> can you try with
>
> cmake -DCMAKE_PREFIX_PATH:string="/usr/lib64"
>
> ?
>
> Regards,
>
> Dave
>
> --
> David Colignon, Ph.D.
> Collaborateur Logistique du F.R.S.-FNRS
> CÉCI - Consortium des Équipements de Calcul Intensif
> ACE - Applied & Computational Electromagnetics
> Institut Montefiore B28
> Université de Liège
> 4000 Liège - BELGIQUE
> Tél: +32 (0)4 366 37 32
> Fax: +32 (0)4 366 29 10
> WWW:    http://hpc.montefiore.ulg.ac.be/
> Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com
>
>
> >* and the message;*>* -- A library with BLAS API not found. Please specify library location.*>* appears.*>**>* /I have a atlas blas and a lapack libraries in /usr/local:*>**>* /usr/lib64/liblapack.a, /usr/lib64/libptcblas.a,*>* /usr/lib64/libptf77blas.a and /usr/lib64/libatlas.a.*>**>* C/ompilation gmsh occurs, but when I run I get the message:*>* Error: Singular value decomposition requires LAPACK*>**>* Please, how can I make the cmake identify the blas and lapack of my system?*>**>* Thanks a lot!*
>
> --
>
> ....  __o        __o         __o          __o
> ..   -\<,      _`\<,_      _`\<,_      _`\<,_
> ...(_)/(_)    (_)/ (_)    (_)/ (_)    (_)/ (_)
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20111116/dee46ab7/attachment.html>