NOTFOUND CUDA_cublas_device_LIBRARY,Ubuntu16.04安装torch7遇到的错误

为了配置李飞飞团队denseCap的代码环境,需要安装torch。

本机环境:Ubuntu16.04 + Nvidia TiTIAN xp + 驱动430 + cuda10.1(后改为cuda8.0)+ cudnn7.6.0(后改为cudnn5.0)

根据官网http://torch.ch/docs/getting-started.html#_给出的安装torch的步骤

git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh

在最后一步./install.sh时遇到错误:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)

发现很少有博客谈及这个错误,唯一可参考的https://blog.csdn.net/DumpDoctorWang/article/details/89644762

以及github上几个issue上都推荐升级Cmake版本

推荐升级到的版

  • 3
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值