是否可以在BLAS库之间切换而无需重新编译程序? [英] Is it possible to switch between BLAS libraries without recompiling program?

查看:84
本文介绍了是否可以在BLAS库之间切换而无需重新编译程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如我可以拥有地图集 OpenBlas MKL 同时安装在我的Ubuntu 14.04上,并且无需重新编译即可在它们之间进行切换 Caffe ?

For example can I have Atlas, OpenBlas, MKL installed on my Ubuntu 14.04 at the same time and switch between them without recompiling Caffe?

推荐答案

当然,您必须安装它们,并在Ubuntu/Debian上发出命令

Sure, you have to have them installed, and on Ubuntu/Debian issue command

update-alternatives --config libblas.so.3

您将获得编号列表的替代方案,并可以在它们之间轻松切换

You'll get numbered list of alternatives and could switch between them easily

链接: https://wiki.debian.org/DebianScience/LinearAlgebraLibraries

这篇关于是否可以在BLAS库之间切换而无需重新编译程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆