在Mac上使用自制软件安装带有OpenMP支持的gcc不起作用 [英] Installing gcc with OpenMP support on Mac using homebrew has no effect

查看:162
本文介绍了在Mac上使用自制软件安装带有OpenMP支持的gcc不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装gcc与openMP支持的方式 OSX正在使用自制软件。但是,当我遵循

的常用指令时,请重新安装gcc --without-multilib



它给了我一个警告,说明没有与 - without-multilib 选项相对应的公式,因此这将不起作用。因此,在重新安装过程之后,我没有openMP支持。这里是详细的终端输出。

  poulin8:02-prange-parallel-loops poulingroup $ brew --version 
Homebrew 1.3.6
Homebrew / homebrew-core(git revision b5afc; last commit 2017-10-27)
poulin8:02-prange-parallel-loops poulingroup $ brew重新安装gcc --without-multilib
==>重新安装gcc
警告:gcc:这个公式没有--without-multilib选项,所以它会被忽略!
==>正在下载https://homebrew.bintray.com/bottles/gcc-7.2.0.el_capitan.bottle
已经下载:/Users/poulingroup/Library/Caches/Homebrew/gcc-7.2.0.el_capitan.bottle。 tar.gz
==>浇注gcc-7.2.0.el_capitan.bottle.tar.gz

One way of installing gcc with openMP support on OSX is using Homebrew. However, when I follow the usual instruction of

brew reinstall gcc --without-multilib

It gives me a warning that there is no formula corresponding to the --without-multilib option and hence this will have no effect. Consequently, I do not have openMP support after this reinstallation process. Here is the detailed terminal output.

poulin8:02-prange-parallel-loops poulingroup$ brew --version
Homebrew 1.3.6
Homebrew/homebrew-core (git revision b5afc; last commit 2017-10-27)
poulin8:02-prange-parallel-loops poulingroup$ brew reinstall gcc --without-multilib
==> Reinstalling gcc 
Warning: gcc: this formula has no --without-multilib option so it will be ignored!
==> Downloading https://homebrew.bintray.com/bottles/gcc-7.2.0.el_capitan.bottle
Already downloaded: /Users/poulingroup/Library/Caches/Homebrew/gcc-7.2.0.el_capitan.bottle.tar.gz
==> Pouring gcc-7.2.0.el_capitan.bottle.tar.gz

                        

这篇关于在Mac上使用自制软件安装带有OpenMP支持的gcc不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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