Hello,
When I attempted to run the GEMGPU program in Ubuntu 24.04 using WSL2, and used the parameter “–gpu”, it displayed the error message “ERROR: Requested GPU usage but Garfield has not been built with GPU support” Avalanche size = 0, 0
Endpoints = 0”
When I was compiling and installing Garfield++, I had set GARFIELD_WITH_CUDA to ON, and successfully completed the compilation and installation. What should I do to make the GPU work?
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2026 NVIDIA Corporation
Built on Mon_Mar_02_09:52:23_PM_PST_2026
Cuda compilation tools, release 13.2, V13.2.51
root --version
ROOT Version: 6.36.08
Built for linuxx8664gcc on Mar 10 2026, 09:46:52
From tags/6-36-08@6-36-08
System version: wsl-Ubuntu 24.04
