Can't find installation instructions for MAGMA

52 views
Skip to first unread message

Anurag Nimonkar

unread,
Aug 1, 2024, 9:31:38 AMAug 1
to MAGMA User
My goals are
1. To set up SUNDIALS with MAGMA support so that it uses the GPU implementation for the linear solver MAGMA offers.
2. I only need the CUDA backend enabled in both modules. I have attached the current make.inc file I am using to build MAGMA.
3. Upon building SUNDIALS with magma support and compiling the example given with SUNDIALS using CVODE, I get this error: undefined reference to `SUNLinSol_MagmaDense'
4. The ./magmadense folder is also empty:
nimotoofly@AnuragNimonkar:/mnt/e/sundials/build/src/sunlinsol/magmadense$ ls
CMakeFiles  Makefile  cmake_install.cmake
5. Can I get a detailed installation guide? What am I doing wrong here? I donot plan to use FORTRAN or any other dependencies. Just need the CUDA backend so I can use the linear solver.
6. The "example" folder given with MAGMA contains a v1 and v2 example. Upon compiling either and running the executable, I get this message:
using MAGMA CPU interface
magma_zgesv failed with info=1
using MAGMA GPU interface
magma_zgesv_gpu failed with info=1

make.inc

Ahmad Abdelfattah

unread,
Aug 1, 2024, 10:10:42 AMAug 1
to Anurag Nimonkar, MAGMA User
Hi, 

We can help only with the MAGMA installation. 

Was the MAGMA build complete? If yes, can you please share the output you get when running any executable under the “testing” directory (e.g. ./testing_dgemm)? 

FYI, MAGMA requires a standard CPU implementation of BLAS & LAPACK. Your make.inc file indicates that you intend to use ATLAS. 

Ahmad

--
You received this message because you are subscribed to the Google Groups "MAGMA User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to magma-user+...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/magma-user/570d19aa-57e5-4722-b5f7-24faddee8b0bn%40icl.utk.edu.
<make.inc>

Reply all
Reply to author
Forward
0 new messages