Error: magma_init() error -116: unknown error

3 views
Skip to first unread message

Aaron Dickey

unread,
Aug 8, 2025, 3:54:06 PMAug 8
to MAGMA User
I installed magma locally on redhat linux using the make.inc.openblas template, make; make install. make seemed to have run without error but all 15 run_tests.py tests fail. Is this maybe a linkage problem? The last error is: 
`Error: magma_init()
failed at testing/testing_sgetrf.cpp:167: error -116: unknown error
  ** 1 tests failed`

Mark Gates

unread,
Aug 8, 2025, 4:10:42 PMAug 8
to Aaron Dickey, MAGMA User
Is your GPU visible to the MAGMA tester? Can you run `nvidia-smi` to see the GPUs?

You can also try to compile and run the attached simple testers, which rely only on CUDA and are independent of MAGMA. Your user may not have permission to the GPU device.

Mark

num_devices.cc
properties.cc

Aaron Dickey

unread,
Aug 12, 2025, 1:24:21 PMAug 12
to MAGMA User, mga...@icl.utk.edu, MAGMA User, Aaron Dickey
1. No. `nvidia-smi: command not found`
2. 
```
Error: CUDA driver version is insufficient for CUDA runtime version (35) at num_devices.cc:28
Num devices = 0
```
3. `Error: CUDA error at properties.cc:100: CUDA driver version is insufficient for CUDA runtime version`

I know there was a recent update, so I'm guessing this has not been caught yet by sys admin. These should be useful to pass along; Thanks!

Reply all
Reply to author
Forward
0 new messages