[Scilab-Dev] Switching linear algebra library on Scilab 5.2.2 binaries

Allan CORNET allan.cornet at scilab.org
Fri Jun 11 08:13:52 CEST 2010


Hi,

Please notice that it is already like this, for Windows version of Scilab

On Windows, during setup, you can choose between

Blas, lapack reference implementation
Atlas implementation
Or Intel Math Kernel implementation

these libraries have same symbols

You can also build Scilab and uses configure options to use:

--with-blas-library=DIR set the path to the BLAS (refblas, Atlas, MKL...)
library 
--with-lapack-library=DIR set the path to the LAPACK library

http://wiki.scilab.org/Compiling_Scilab_5.x_under_GNU-Linux_Unix

http://wiki.scilab.org/Dependencies_of_Scilab_5.X


To test Scilab:

http://wiki.scilab.org/Unitary_and_non_regression_testing_of_Scilab
test_run('linear_algebra')

Best Regards

Allan CORNET


-----Message d'origine-----
De : Vergnes Nicolas (STERIA) [mailto:nicolas.vergnes at cnes.fr] 
Envoyé : jeudi 10 juin 2010 17:26
À : dev at lists.scilab.org
Objet : [Scilab-Dev] Switching linear algebra library on Scilab 5.2.2
binaries

Hi,

actually I still can't use scilab 5.x on our linux 64b cluster (I think
because of graphic problem) and the scilab binaries dont offer good
performances with libatlas.so supplied with scilab 5.x binaries.

I have replaced libatlas.so.3gf.0, libblas.so.3gf.0, libf77blas.so.3gf.0
and liblapack.so.3gf.0 files by an sym-link of the libacml_mp.so .
Multithreading is used and we have quasi same performances than Matlab
in matrix computation.

Say me if i'm wrong, but it is correct to say that atlas, gotoblas,
acml, and mkl have the same routines names or so for the main routines ?

With acml remplacing atlas, matrix multiplications are ok. Do you have
any advice or examples files for testing it and see if all routines used
by scilab are ok ?

Do you think it's really safe to use scilab configured like that ?

Thanks,

Nicolas Vergnes Produits & Logiciels Cnes
3IRT/AP /POL




More information about the dev mailing list