BLAS and LAPACK needed for install

Open discussion for MAGMA

BLAS and LAPACK needed for install

Postby 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!
alayanoleh
 
Posts: 4
Joined: Wed Dec 21, 2011 1:35 pm

Re: BLAS and LAPACK needed for install

Postby 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
mgates3
 
Posts: 442
Joined: Fri Jan 06, 2012 2:13 pm

Re: BLAS and LAPACK needed for install

Postby 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.
alayanoleh
 
Posts: 4
Joined: Wed Dec 21, 2011 1:35 pm


Return to User discussion

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests

cron