自制OpenMPI安装问题

时间:2018-09-03 12:51:24

标签: homebrew openmpi

我在使用Home-brew安装OpenMPI时遇到问题,四处搜寻后,我找不到任何答案。我这样做是因为从GitHub安装R软件包时,我收到此错误:

clang: error: unsupported option '-fopenmp'

建议似乎是在这种情况下,应该使用自制软件重新安装openmpi。当我这样做时,会收到以下响应:

brew reinstall openmpi --build-from-source
==> Reinstalling open-mpi 
==> Downloading https://download.open-mpi.org/release/open-mpi/v3.1/openmpi-3.1.2.tar.bz2
Already downloaded: /Users/Dom/Library/Caches/Homebrew/open-mpi--3.1.2.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/open-mpi/3.1.2 --disable-silent-rules --enable-ipv6 --with-libevent=/usr/local/opt/libevent --with-sge
Last 15 lines from /Users/Dom/Library/Logs/Homebrew/open-mpi/01.configure:
checking to see if Fortran compilers need additional linker flags... -Wl,-flat_namespace
checking  external symbol convention... single underscore
checking if C and Fortran are link compatible... yes
checking to see if Fortran compiler likes the C++ exception flags... skipped (no C++ exceptions flags)
checking to see if mpifort compiler needs additional linker flags... -Wl,-commons,use_dylibs
checking if Fortran compiler supports CHARACTER... yes
checking size of Fortran CHARACTER... 1
checking for C type corresponding to CHARACTER... char
checking alignment of Fortran CHARACTER... 1
checking for corresponding KIND value of CHARACTER... C_SIGNED_CHAR
checking KIND value of Fortran C_SIGNED_CHAR... no ISO_C_BINDING -- fallback
checking Fortran value of selected_int_kind(4)... no
configure: WARNING: Could not determine KIND value of C_SIGNED_CHAR
configure: WARNING: See config.log for more details
configure: error: Cannot continue

我似乎还不太了解,我已经运行过brew医生,它告诉我有一堆.config文件等可能使它困惑,但我并不热衷删除/移动那些文件,因为我不知道它们是否是其他事物的依赖项。有人可以让我直接在这里吗?

非常感谢您的答复

0 个答案:

没有答案