Page 1 of 1

BLAS and LAPACK needed for install

PostPosted: Wed Dec 21, 2011 1:41 pm
by alayanoleh
Hi all,

I'm trying to install MAGMA in Ubuntu 10.04.

Though I don't know which versions of LAPACK and CPU Blas to install in order to be able to access Magma functions, as mentioned in the README file

Should it be the BLAS or CBLAS? LAPACK or CLAPACK?

Can I use PLASMA for installing both packages? Is this the easiest way?

Thank you in advance!

Re: BLAS and LAPACK needed for install

PostPosted: Fri Jan 06, 2012 3:14 pm
by mgates3
MAGMA needs regular BLAS (the Fortran interface); it does not use CBLAS (the C interface). To get good performance you must install an optimized version of BLAS, such as ATLAS, which is available in Ubuntu, or Intel's MKL.

As for LAPACK, both LAPACK and CLAPACK provide the same (Fortran) interface, the only difference is one is compiled using Fortran and the other with C. The regular Fortran LAPACK is preferred.

MAGMA does not need PLASMA installed.

For Ubuntu, probably the easiest thing is to install the ATLAS and LAPACK Ubuntu packages.

-mark

Re: BLAS and LAPACK needed for install

PostPosted: Fri Jan 20, 2012 7:48 am
by alayanoleh
Thank you Mark, I had also to change the paths for building it but now it is building.