[GRASS-dev] gmath BLAS/LAPACK wrapper

Brad Douglas rez at touchofmadness.com
Thu Aug 23 16:06:36 EDT 2007


On Wed, 2007-08-22 at 02:14 +0200, "Sören Gebbert" wrote:
> Hi folks,
> i have a simple question regarding the GRASS BLAS/LAPACK interface.
> Why aren't we using the ATLAS library?
> http://math-atlas.sourceforge.net/
> 
> It provides a full BLAS implementations and some
> LAPACK routines.
> It has a native C interface, is tuned for 
> many hardware platforms, is widely used
> and available for many operating systems.
> 
> No need for a fortran to c converter, which was
> IIRC the major issue with the current gmath interface.
> The handling is not that complex as the current 
> gmath wrapper, which handles the matrices in column order.
> 
> ATLAS implements column and row major BLAS and LAPACK routines.

Dunno.  I'll wait for Glynn to comment.  It doesn't support many LAPACK
routines and I'm unclear as to what it does support without looking at
the headers.

> Regarding the gmath library:
> The gmath code includes a G_matrix_free and a G_free_matrix routine, which is very confusing. 

Two separate things, really.  The API needs to be redefined/merged.


-- 
73, de Brad KB8UYR/6 <rez touchofmadness com>




More information about the grass-dev mailing list