尝试安装openmpi
,请阅读:
Could not determine if REAL*16 bit-matches C type
喝酿啤酒医生,它正在给我:
Your system is raring to brew
% brew install open-mpi
==> Downloading http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.
Already downloaded: /Library/Caches/Homebrew/open-mpi-1.6.4.tar.bz2
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> ./configure --prefix=/usr/local/Cellar/open-mpi/1.6.4 --enable-ipv6
checking alignment of Fortran REAL*16... 16
checking for C type matching bit representation of REAL*16... pending
checking if long double == REAL*16... ./configure: line 40736: 15744 Abort trap: 6
$F77 $FFLAGS conftest_f.f conftest_c.o -o conftest $LDFLAGS $LIBS 1>&5 2>&1
Error!
configure: error: Could not determine if REAL*16 bit-matches C type
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
brew doctor
Your system is raring to brew
答案 0 :(得分:2)
Homebrew最近的gfortran版本存在一些问题。尝试使用brew rm gfortran; brew install --fresh gfortran
重新安装它。如果错误仍然存在,请转到Homebrew GitHub页面并将其报告为错误:https://github.com/mxcl/homebrew/wiki/Troubleshooting。
答案 1 :(得分:1)
gmp和mpfr瓶似乎存在问题,这是gfortran和open-mpi的依赖关系。尝试brew rm gmp mpfr; brew install --build-from-source gmp mpfr open-mpi