On Thu, Jun 20, 2013 at 10:24 PM, Harshad Sahasrabudhe
<hsaha...@purdue.edu>wrote:

> Hi,
>
> I'm trying to run the SLEPc Eigensolver on a machine with CPUs & GPUs. I
> found that a package called MAGMA implements LAPACK functions on
> heterogeneous systems (CPU + GPU). MAGMA has functions very similar to
> LAPACK so that we can go and replace a call to a LAPACK function with a
> call to a MAGMA function.
>
> Now my question is, where can I apply such a hack inside SLEPc/PETSc so
> that the Eigensolver in SLEPc actually uses MAGMA functions instead of
> LAPACK functions? I'm using the PETSc 3.3-p6 and SLEPc 3.3-p3 versions.
>
> Any help would be greatly appreciated!
>

You need to do this in PETSc configure. Use
--with-f-blas-lapack-lib=[<MAGMA libs>]. We have never tried this, so I
don't
know if they obey the entire interface.

  Thanks


> Thanks and Regards,
> Harshad
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

Reply via email to