Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[sundials-users] MAGMA linear solver not built

18 views
Skip to first unread message

Anurag Nimonkar

unread,
Aug 1, 2024, 1:32:20 PM8/1/24
to SUNDIAL...@listserv.llnl.gov
Hi,
I am currently trying to use the dense linear solver package MAGMA offers, I have built SUNDIALS with -DENABLE_MAGMA=ON and I get this error when trying to compile the example script at sundials/examples/cvode/magma
undefined reference to `SUNLinSol_MagmaDense'
The build successfully includes the dense matrix here:
/mnt/e/sundials/build/src/sunmatrix/magmadense$ ls
CMakeFiles  Makefile  cmake_install.cmake  libsundials_sunmatrixmagmadense.a
but fails to build the linear solver itself as the src folder is empty:
/mnt/e/sundials/build/src/sunlinsol/magmadense$ ls
CMakeFiles  Makefile  cmake_install.cmake
So is the error with my MAGMA installation or SUNDIALS set up?

This is the build statement I use:
cmake .. -DENABLE_CUDA=ON -DENABLE_MAGMA=ON -DMAGMA_DIR="/mnt/e/magma-2.8.0"

I have built MAGMA from the ATLAS template with all FORTRAN dependencies removed.

Sincerely,
Anurag Ravi Nimonkar




To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV

Reply all
Reply to author
Forward
0 new messages