Can MAGMA, PLASMA, ELPA be used together?  [SOLVED]

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
kinsang
Posts: 13
Joined: Wed Mar 23, 2016 2:24 pm

Can MAGMA, PLASMA, ELPA be used together?

Post by kinsang » Thu Apr 07, 2016 12:22 pm

Hi, everyone. When I build abinit-7-10-5, I notice some configure message as follows.
I wonder whether it would improve the speed if I use PLASMA and ELPA as well as MAGMA?
I find little message about ELPA and PLASMA in the documents. Thanks!

conf.log
checking for ELPA support in specified libraries... no
checking for PLASMA support in specified libraries... no

checking for MAGMA (version>=1.1.0) support in specified libraries... yes
checking whether we have a serial linear algebra support... yes
checking whether we have a MPI linear algebra support... yes
checking whether we have a GPU linear algebra support... yes
checking for the actual linear algebra support... mkl+magma
checking for the requested FFT support... dfti
checking for the actual FFT support... dfti

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Can MAGMA, PLASMA, ELPA be used together?  [SOLVED]

Post by pouillon » Wed Apr 13, 2016 1:48 pm

If you don't use ScaLAPACK, there should be no major issue in using the 3 of them at the same time, since they do not overlap:
* PLASMA works with OpenMP;
* MAGMA works with GPU;
* ELPA is usually a good enhancement over the basic libraries when you have MPI enabled.
With ScaLAPACK, some operations that would be performed by one of these libraries will be ignored.

Obtaining better performance by mixing them all is however a different story. You'll have to see for yourself.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked