NvvmSupportError: libNVVM cannot be found. Do conda install cudatoolkit: library nvvm not found

linux 运行时出现“NvvmSupportError: libNVVM cannot be found. Do conda install cudatoolkit: library nvvm not found”有关的环境变量配置的问题linux

解决方法:添加环境变量(本人可行)bash

    一、进入.bashrcspa

     命令:$ vi .bashrc3d

                     

    二、进入.bashrc界面后显示以下,键盘按下‘Insert’按钮在最后一行输入 (个人CUDA 版本为8.0)   code

      export NUMBAPRO_NVVM=/usr/local/cuda-8.0/nvvm/lib64/libnvvm.so       export NUMBAPRO_LIBDEVICE=/usr/local/cuda-8.0/nvvm/libdevice/

 

    三、按‘Esc’,而后输入‘:wq’ 退出.bashrc界面blog

 

    四、最后输入$source ~/.bashrcit

                       

     

      五、完成!io

相关文章
相关标签/搜索