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