Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polyhedron demo problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polyhedron demo problem


Chronological Thread 
  • From: "Martial TOLA (CNRS-Liris)" <>
  • To:
  • Subject: Re: [cgal-discuss] Polyhedron demo problem
  • Date: Tue, 19 May 2009 12:13:05 +0200

It works now !
So _use_f2c isn't detected under Linux by cmake whereas it is detected under MacOSX.

Thank you for your help

Laurent Saboret a écrit :


Laurent Rineau (GeometryFactory) wrote:
On Monday 18 May 2009 14:30:43 Laurent Saboret wrote:
Sorry, I have no other idea. The same configuration works fine on my Linux
box (Fedora 7).

Laurent, it seems there should be LAPACK_USE_F2C is the definitions, but it is not. That is the reason why the symbol dgelss is not found: dgelss_ should be searched instead, unless I am wrong somehow.


Laurent R.: You are right, this may be related to f2c.

On my Linux box, cmake prints
...
-- LAPACK include:
-- LAPACK definitions: -DLAPACK_USE_F2C
-- LAPACK libraries: /proj/geometrica/home/TAUCS/external/lib/linux/liblapack.a;/proj/geometrica/home/TAUCS/external/lib/linux/libg2c.so
-- LAPACK link flags:
-- BLAS include:
-- BLAS definitions: -DBLAS_USE_F2C
-- BLAS libraries: /proj/geometrica/home/TAUCS/external/lib/linux/libcblas.a;/proj/geometrica/home/TAUCS/external/lib/linux/libf77blas.a;/proj/geometrica/home/TAUCS/external/lib/linux/libatlas.a;/proj/geometrica/home/TAUCS/external/lib/linux/libg2c.so
-- BLAS link flags:
...

Martial:
Please run cmake-gui in Polyhedron/demo/Polyhedron/ folder and set the next variables:
BLAS_DEFINITIONS=-DBLAS_USE_F2C
BLAS_LIBRARIES=/usr/local/lib/libcblas.a;/usr/local/lib/libf77blas.a;/usr/local/lib/libatlas.a;/usr/local/lib/libg2c.so
LAPACK_DEFINITIONS=-DLAPACK_USE_F2C
LAPACK_LIBRARIES=/usr/local/lib/liblapack.a;/usr/local/lib/libg2c.so

Regards,
Laurent Saboret

begin:vcard
fn:Martial TOLA
n:TOLA;Martial
org;quoted-printable:CNRS/INSA de Lyon/Universit=C3=A9 Claude Bernard Lyon 1/Universit=C3=A9Lu=
	mi=C3=A8re Lyon 2/Ecole Centrale de Lyon;Laboratoire LIRIS - UMR 5205
email;internet:
title;quoted-printable:Ing=C3=A9nieur d'=C3=A9tudes CNRS
url:http://liris.cnrs.fr/martial.tola
version:2.1
end:vcard




Archive powered by MHonArc 2.6.16.

Top of Page