在Mac OS X Yosemite上安装BLAS [英] Installing BLAS on a mac OS X Yosemite

查看:400
本文介绍了在Mac OS X Yosemite上安装BLAS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Mac上安装BLAS,但是每次运行都会出现此错误(显示在链接下方).我试图按照

I'm trying to Install BLAS on my Mac, but every time I run make I get this error (shown below the link). I was trying to follow the instructions on this website:

gfortran -O3 -c isamax.f -o isamax.o
make: gfortran: No such file or directory
make: *** [isamax.o] Error 1

我不知道这意味着什么或如何解决,因此不胜感激.另外,我正在尝试安装CBLAS和LAPACK,因此,如果您知道一个好的资源,那么有关此的任何提示/说明都将是不错的...到目前为止,我发现的所有内容都令人困惑.我也尝试安装ATLAS,但仍然无法正常工作.

I have no idea what this means or how to fix it so any help would be appreciated. Also I'm trying to install CBLAS and LAPACK so any tips/instructions for that would be nice if you know of a good source...Everything I've found so far is pretty confusing. Also I tried to install ATLAS but it kept not working.

推荐答案

如何安装Blas/Lapack:不用.

How to install Blas/Lapack: don't.

这些库是简单代码和优化代码之间巨大的性能差异的教科书示例.通过优化,我并不是指编译器:我是指算法转换.

These libraries are the textbook example of enormous performance differences between simple and optimized code. And by optimizations I don't mean compiler: I mean algorithm transformations.

因此,您绝对不希望从netlib或其他位置下载参考blas/lapack".如果您的系统尚未提供优化版本(Mac OS X尚未提供),请查看您是否可以获得英特尔的MKL库(Linux上的学生免费吗?),否则是否获得均经过开源优化的BLIS或OpenBlas或Atlas实施.

So you definitely do not want to download the "reference blas/lapack" from netlib or another location. If your system doesn't already come with an optimized version (Mac OS X does), see if you can get Intel's MKL library (free for students on Linux?), and otherwise get BLIS or OpenBlas or Atlas which are all open source optimized implementations.

这篇关于在Mac OS X Yosemite上安装BLAS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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