CUDA Samples not working

Hello, I have installed CachyOS with its AI SDK / rEFInd option. I can run deviceQuery but not the other samples such as nbody. Below are some outputs.

lshw
lshw.txt (39.3 KB)

nvidia-smi

deviceQuery

nvidia-bug-report.sh
nvidia-bug-report.log.gz (459.9 KB)

nbody output
error.txt (67.3 KB)