Search found 918 matches

by mgates3
Tue May 12, 2020 1:27 pm
Forum: User discussion
Topic: Call magma from Fortran, problem of wrapper
Replies: 13
Views: 6501

Re: Call magma from Fortran, problem of wrapper

There are wrappers for MAGMA BLAS routines since 2.5.0 (Nov 2018). They are lacking documentation, though. See control/magmablas_zfortran.F90, and control/magma.F90 for queues, constants, etc.

Mark
by mgates3
Mon Apr 27, 2020 11:04 am
Forum: User discussion
Topic: GPU_TARGET selection affects performance?
Replies: 2
Views: 1084

Re: GPU_TARGET selection affects performance?

Do you mean AMD? ATI no longer exists.
Yes, there is a HIP version of MAGMA for AMD GPUs, available from MAGMA's website.

Mark
by mgates3
Fri Mar 20, 2020 1:16 pm
Forum: User discussion
Topic: MPI+MAGMA
Replies: 1
Views: 837

Re: MPI+MAGMA

Let me see if I understand you correctly. MAGMA doesn't have any MPI. So you are calling MAGMA for node-local computations on each node, and you are doing your own MPI communication. And in this context, MAGMA running in one MPI rank is giving the wrong result. Right? CUDA counts GPUs from 0. You ca...
by mgates3
Thu Mar 05, 2020 11:49 pm
Forum: User discussion
Topic: Building MAGMA on Windows
Replies: 8
Views: 1244

Re: Building MAGMA on Windows

This is a known issue with CMake on Windows (see issue below). We have not yet found a feasible work around.
https://gitlab.kitware.com/cmake/cmake/ ... ote_642545

Mark
by mgates3
Thu Mar 05, 2020 11:04 pm
Forum: User discussion
Topic: magma_dgels_gpu error when trying to compile
Replies: 1
Views: 743

Re: magma_dgels_gpu error when trying to compile

Can you give more specifics such as: version of MAGMA (e.g., MAGMA 2.5.2) C/C++ compiler & version (e.g., g++ 9.2.0) CUDA version (e.g., CUDA 10.0) Is this an error compiling MAGMA, or an error compiling your application using MAGMA? If it's your application, please include a minimum code example th...
by mgates3
Mon Mar 02, 2020 11:08 am
Forum: User discussion
Topic: Limitations on precision
Replies: 5
Views: 1071

Re: Limitations on precision

Are you using MAGMA's testers to test these, e.g., testing/testing_zheevd? Which specific routine are you using? If using MAGMA's tester, can you share the complete input & output that is concerning you? We generally check the relative backwards error, || A - U S U^H ||_1 / ( || A ||_1 N ) MAGMA's t...
by mgates3
Wed Jan 08, 2020 2:27 pm
Forum: User discussion
Topic: Request: dgges, dtrsyl
Replies: 1
Views: 845

Re: Request: dgges, dtrsyl

Thanks for your input. We'll keep it in mind for future developments.
-mark
by mgates3
Tue Jan 07, 2020 1:43 pm
Forum: User discussion
Topic: Best library for O(100k) linear system
Replies: 2
Views: 1169

Re: Best library for O(100k) linear system

SLATE is a good choice for a distributed solver with CPUs or CPUs + GPUs. For using CPUs + GPUs, it would require that the distributed matrix fits in the cumulative memory of all the GPUs. For a single node, MAGMA will also do out-of-GPU-memory algorithms for such large matrices. Just call magma_dge...
by mgates3
Tue Jan 07, 2020 1:37 pm
Forum: User discussion
Topic: ILP64 name-mangling
Replies: 8
Views: 2560

Re: ILP64 name-mangling

You can name mangle the functions in magma/testing/lin/
In magma/testing/Makefile.sr, see variable liblapacktest_src for the 36 or so files that are used. The other files in that directory were copied from LAPACK but aren't used.

-mark
by mgates3
Mon Jan 06, 2020 2:43 pm
Forum: User discussion
Topic: ILP64 name-mangling
Replies: 8
Views: 2560

Re: ILP64 name-mangling

[sdcz]qpt01 are LAPACK testing functions. They would not be in the LAPACK library, per se, but in LAPACK's testing. MAGMA has its own copy of them: >> pfind -i qpt01 lapack lapack/TESTING/LIN/cqpt01.f lapack/TESTING/LIN/dqpt01.f lapack/TESTING/LIN/sqpt01.f lapack/TESTING/LIN/zqpt01.f >> pfind -i qpt...