You are not logged in.
I have the following software installed
$ pacman -Q|grep -E 'nvidia|cuda|mathematica'
cuda 11.2.2-2
cuda-tools 11.2.2-2
mathematica 12.2.0-1
nvidia 460.67-4
nvidia-settings 460.67-1
nvidia-utils 460.67-1
opencl-nvidia 460.67-1But I cannot get CUDA to work with Mathematica.
When I try:
Needs["CUDALink`"]I get an error message:
GetCUDAToolkitRoot::nocuda: Could not find NVIDIA CUDA Toolkit.I have tried to add the following environment variables (fish shell) before running Mathematica:
set -x NVIDIA_DRIVER_LIBRARY_PATH /usr/lib/libnvidia-tls.so
set -x CUDA_LIBRARY_PATH /usr/lib/libcuda.so
set -x PATH $PATH /opt/cuda/bin/but that did not help. My graphics card is:
$ lspci |grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)Note: CUDA seems to work on my system with other programs. It is apparently a Mathematica-specific problem. Anyone got this working?
Offline