LAPACK Archives

[Lapack] Compilation Issue with LAPACKE

I guess I is defined as SQRT(-1) in complex.h, and complex.h is used by
lapacke (for the complex number interfaces). Julien.

On 7/4/13 2:32 PM, "Benoit Chachuat" <b.chachuat@Domain.Removed> wrote:

Dear LAPACK Team,

I recently tried to use the LAPACKE interface, but ran into an issue
that I would like to have your opinion.

It appears my program fails to compile when I include "lapacke.h"
because of some interaction with variables or functions named as the
single letter "I". I could reproduce the problem in one of the LAPACKE
example file (file attached), by adding a dummy (global) function as:
void I(){ return; };

giving the compilation error:
example_DGESV_rowmajor.c:83:6: error: expected identifier or ?(? before

I tried to have a look at the header file lapacke.h, ... but could not
locate a potential source for this problem.

Many thanks for your help,

Benoit Chachuat - Senior Lecturer
Centre for Process Systems Engineering
Department of Chemical Engineering
Imperial College London

Roderic Hill Building - Room C501
Tel: +44 (0) 20 7594 5594

<Prev in Thread] Current Thread [Next in Thread>

For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or