Cannot link MAGMA backend of SUNDIALS externally

21 views
Skip to first unread message

Anurag Nimonkar

unread,
Aug 23, 2024, 9:37:30 AM8/23/24
to MAGMA User
Hi,

A detailed description of my problem is posted here: ERROR

SUMMARY : Building PION with SUNDIALS executes successfully and compiles if the MAGMA dense matrix and linear solver are not used. I suspect the error is because of some inaccuracies in my FindMAGMA.cmake located at /pion/cmake/ , the find_package(MAGMA REQUIRED) line is in the CMakeLists.txt file at /pion/ (root directory).
Also, I can compile the script located at /sundials/examples/cvode/magma/ by changing its name to a .cu extension and compiling with the nvcc compiler. So SUNDIALS has successfully been built with ENABLE_MAGMA and ENABLE_CUDA both set to ON.


I have attached both files for reference.  
CMakeLists.txt
FindMAGMA.cmake
Reply all
Reply to author
Forward
0 new messages