Next try to recompile the following libraries from source,
1. BLAS
2. LAPACK
3. SuiteSparse
BLAS, and LAPACK can be downloaded from netlib.org, which need to be recompiled from
scratch using gfortran. Do the compilation in this order, as LAPACK depends on BLAS. Specific instructions include,
tar zxf blas.tgz
tar zxf lapack-3.1.1.tgz
cd BLAS
gfortran -c -O2 *.f
ar rcv ../lapack-3.1.1/blas_LINUX.a *.o
cd ../lapack-3.1.1
cp INSTALL/make.inc.gfortran make.inc
due to John Eaton, from the help-octave mailing lists.
Next install SuiteSparse, this is a little involved like the previous installation
is not automated with GNU tools. I havent succeded in getting the whole thing from SuiteSparse picked up by the Octave configure script.
I had compiled BLAS, LAPACK and everything else falls into place like a
dovetail. No massaging scripts, no editing.
The exact configure lines I used (note, I installed to a local directory) are,
./configure --prefix=$HOME/GCC42/ --with-f77=gfortran --enable-shared
--disable-static --with-blas=$HOME/GCC42/lib/libblas.a
--with-lapack=$HOME/GCC42/lib/liblapack.a
Finally
$ make && make install
should wrap it up after a few hours ofcourse!
Cheers,
-Muthu
No comments:
Post a Comment