hile I updated my system from CUDA 10.1/cuDNN 7.3.1 to CUDA11.0/cuDNN 8.0.1, the CUPTI had a problem.
I followed the guideline of Nvidia CUPTI to add CAP_SYS_ADMIN. For instance, I gave the following command with the test application.
$ python alexnet_classifying.py --cap-add=CAP_SYS_ADMIN
My application can show the Alexnet model and iterations correctly. However, it still includes the reminding messages as follows.
CUPTI_ERROR_INSUFFICIENT_PRIVILEGES
CUPTI_ERROR_INVALID_PARAMETER
CUPTI_ERROR_NOT_INITIALIZED
tried the following methods but could not solve the reminding error messages.
1. Add the following lines in to the bashrc
LD_LIBRARY_PATH=:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64
LD_INCLUDE_PATH=:/usr/local/cuda/include:/usr/local/cuda/extras/CUPTI/include
2. Add the parameter.
I want to add the parameter to the designated directory.
“NVreg_RestrictProfilingToAdminUsers=0”
/etc/modprobe.d/nvidia-kernel-common.conf
However, there is no file of nvidia-kernel-common.conf in the modprobe.d file .
How can I avoid the CUPTI error-reminding messages?
Appreciate for your early answer.