==ERROR== Unable to write to file matmul.ncu-rep. Please verify this file is not locked, and writable

Nsight Compute version: 2025.1
remote OS version:Ubuntu 20.04.6 LTS
I encountered this issue by the command “sudo /usr/local/cuda-12.6/bin/ncu -f -o matmul ./matmul”. I wonder how to solve this issue.

Can you please copy matmul binary to other folder under $HOME to have a try ?