BLAS and LAPACK needed for install

Open discussion for MAGMA library (Matrix Algebra on GPU and Multicore Architectures)
Post Reply
alayanoleh
Posts: 4
Joined: Wed Dec 21, 2011 1:35 pm

BLAS and LAPACK needed for install

Post by alayanoleh » Wed Dec 21, 2011 1:41 pm

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!

mgates3
Posts: 842
Joined: Fri Jan 06, 2012 2:13 pm

Re: BLAS and LAPACK needed for install

Post by mgates3 » Fri Jan 06, 2012 3:14 pm

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

alayanoleh
Posts: 4
Joined: Wed Dec 21, 2011 1:35 pm

Re: BLAS and LAPACK needed for install

Post by alayanoleh » Fri Jan 20, 2012 7:48 am

Thank you Mark, I had also to change the paths for building it but now it is building.

Post Reply