Nvprof error

Hi,

While profiling application with nvprof with below command getting below error.
Command :
nvprof ./vec_add

Error:
==18229== NVPROF is profiling process 18229, command: ./vec_add
/usr/bin/nvidia-modprobe: unrecognized option: “-f”

ERROR: Invalid commandline, please run /usr/bin/nvidia-modprobe --help for usage information.

/usr/bin/nvidia-modprobe: unrecognized option: “-f”

ERROR: Invalid commandline, please run /usr/bin/nvidia-modprobe --help for usage information.

I have tried the instructions given in herehttps://developer.nvidia.com/ERR_NVGPUCTRPERM. Did not resolve my issue.

Please can anyone help me to resolve the issue.