[GRASSLIST:988] Re:

Glynn Clements glynn.clements at virgin.net
Thu Aug 21 07:24:04 EDT 2003


Massimiliano Cannata wrote:

> I've read somewhere that there are some problem in interfacing
> fortran with C...
> but if you all can run this library....
> there should be a solution...

Does your gcc installation include FORTRAN support?

You need the file g2c.h in order to use FORTRAN libraries such as BLAS
and LAPACK. The body of the file src/libes/gmath/la.c (which defines
the various G_matrix_* functions) is conditionalised with:

#if defined(HAVE_LIBLAPACK) && defined(HAVE_LIBBLAS) && defined(HAVE_G2C_H)

so those functions won't be defined if you don't have g2c.h.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list