[GRASSLIST:4748] how can I compile grass-5.7.0 with blas(atlas)/lapack support?

hi all,

I'm tring to compile grass-5.7.0 with blas (atlas-3.7.8) and lapack
(lapack-3.0) support.

from atlas-3.7.8 compilation I have:
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/cblas.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libatlas.a
-rw-r--r-- root/root usr/lib/libcblas.a
-rw-r--r-- root/root usr/lib/libf77blas.a
-rw-r--r-- root/root usr/lib/libtstatlas.a

and from lapack-3.0 compilation:
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/lapack_linux.a
lrwxrwxrwx root/root usr/lib/liblapack.a -> lapack_linux.a

those libraries are obviously perfect and they are succesfully utilized
from programs like octave-2.1.59 and R-2.0.0 .

This is my grass-5.7.0 configure :
./configure --prefix=$PKG/opt --exec-prefix=$PKG/opt \
    --enable-64bit-vis=no --with-cxx --with-fftw --with-proj \
    --with-motif --with-blas --with-lapack \
    --with-mysql=no --with-odbc=no --disable-nls \
    --with-opendwg --with-opendwg-includes=$ODA --with-opendwg-libs=$ODA

I succesfully compile grass but there is no support for blas/lapack.

greetz,
Acrux

acrux wrote:

I'm tring to compile grass-5.7.0 with blas (atlas-3.7.8) and lapack
(lapack-3.0) support.

from atlas-3.7.8 compilation I have:
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/cblas.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libatlas.a
-rw-r--r-- root/root usr/lib/libcblas.a
-rw-r--r-- root/root usr/lib/libf77blas.a
-rw-r--r-- root/root usr/lib/libtstatlas.a

and from lapack-3.0 compilation:
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/lapack_linux.a
lrwxrwxrwx root/root usr/lib/liblapack.a -> lapack_linux.a

those libraries are obviously perfect and they are succesfully utilized
from programs like octave-2.1.59 and R-2.0.0 .

This is my grass-5.7.0 configure :
./configure --prefix=$PKG/opt --exec-prefix=$PKG/opt \
    --enable-64bit-vis=no --with-cxx --with-fftw --with-proj \
    --with-motif --with-blas --with-lapack \
    --with-mysql=no --with-odbc=no --disable-nls \
    --with-opendwg --with-opendwg-includes=$ODA --with-opendwg-libs=$ODA

I succesfully compile grass but there is no support for blas/lapack.

First, the BLAS library has to be called libblas.* (i.e. it can be
linked using -lblas).

Second, I'm not sure whether anything can actually use BLAS/LAPACK at
present. If those libraries are enabled, some additional functions are
available in the gmath library. However, I'm not sure whether anything
actually uses those functions.

--
Glynn Clements <glynn@gclements.plus.com>

On Tue, 9 Nov 2004 15:59:17 +0000
glynn@gclements.plus.com wrote:

_omissis__

First, the BLAS library has to be called libblas.* (i.e. it can be
linked using -lblas).

Second, I'm not sure whether anything can actually use BLAS/LAPACK at
present. If those libraries are enabled, some additional functions are
available in the gmath library. However, I'm not sure whether anything
actually uses those functions.

ok, thanks for your help.

greetz,
--
vesuvio | LinuxMachine 156116
powered by GNU/Linux Crux
# GnuPG/PGP Key_ID: 0x378EECB8