I set up the server and cmake toolkits etc. but the Debugger which automatically runs, throws an error saying
CMake Error at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.21/Modules/CMakeDetermineCUDACompiler.cmake:113 (message):
Could not find nvcc executable in path specified by
CUDAToolkit_ROOT=/<PATH TO MY HOME DIR>/cuda/bin/
I checked some previous posts but I can't set the /etc/environment file as I do not have sudo permission.
I've tried setting these 2 variables with many different values
set(CMAKE_CUDA_COMPILER /<HOME DIR PATH>/cuda/bin/nvcc)
set(CUDAToolkit_ROOT /<HOME DIR PATH>/cuda/bin/)
I'm able to build and run the project without any errors though.
I'm using Mac OS and running CUDA remotely on a server. Almost everything works except the debugger.