如何检查我的Ubuntu系统中的哪个BLAS? [英] How to check which BLAS is in my Ubuntu system?

查看:780
本文介绍了如何检查我的Ubuntu系统中的哪个BLAS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

特别是,我想知道先贤的OpenBLAS是否已安装. 我在数台PC上工作,并在过去几年中将其安装在多台PC上,但是我迷失了未随同安装的位置.我需要知道哪台PC有,哪一台没有.这是我的安装方式:

In particular, I would like to know if xianyi's OpenBLAS has been installed. I work on several PCs and had it installed in several PCs over the past couple of years, but I lost track which were not installed with it. I need to know which PC has it and which doesn't This is how I installed it:

git clone git://github.com/xianyi/OpenBLAS
cd OpenBLAS
make FC=gfortran
sudo make PREFIX=/usr/local/ install

注意:我可能已经删除了OpenBLAS目录,所以它不是一个可靠的指示器.而且我不知道如何卸载它,所以我不能尝试在每台PC上安装它然后有选择地卸载(这很麻烦).

Note: I may have deleted the OpenBLAS directory, so it's not a reliable indicator. And I have no idea how to uninstall it, so I can't try installing it on every PC and then uninstall selectively (which is pretty cumbersome).

推荐答案

在include dir中有openblas_config.h 您可以在此处找到openblas版本. 即

In include dir there is openblas_config.h You can find openblas version there. i.e.

grep OPENBLAS_VERSION /usr/local/include/openblas_config.h 

这篇关于如何检查我的Ubuntu系统中的哪个BLAS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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