本文介绍了在OSX上安装LAPACK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在OSX上安装LAPACK以与C一起使用时,我在终端中键入"make"并获得以下信息:
In installing LAPACK to use with C on OSX, I type "make" into the terminal and get the following:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C INSTALL run
./testlsame
make[1]: *** [run] Segmentation fault: 11
make: *** [lapack_install] Error 2
这些错误是什么意思,我该如何消除它们?我正在使用Xcode 9.2并刚刚安装了gfortran(也许我做错了)?
What do these errors mean and how do I get rid them? I'm using Xcode 9.2 and just installed gfortran (maybe I did this wrong)?
很抱歉,这是一个非常基本的问题.
Sorry for the very basic question.
推荐答案
像@bnaeker一样,您已经可以在OSX上安装所有可用的东西.除了指定-framework Accelerate
,您不需要任何其他操作.
As @bnaeker correctly you have everything ready for use installed on your OSX. You do not need anything beyond specifying -framework Accelerate
and you're done.
这篇关于在OSX上安装LAPACK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!