Erros安装FFTW库


0

我需要在Mac OX X 10.8上安装FFTW库。

如果我执行

./configure --prefix=/usr/local/

在Bash中,我得到了

checking how to get verbose linking output from /usr/local/scisoft//packages/iraf/iraf/unix/hlib//f77.sh... configure: WARNING: compilation failed
checking for Fortran 77 libraries of /usr/local/scisoft//packages/iraf/iraf/unix/hlib//f77.sh...  -L/usr/local/scisoft/lib/' -L/usr/local/scisoft/lib/ -lm
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error: in `/Users/FiorellaCagnetta/ZEST+/Libraries/fftw-3.3.3':
configure: error: cannot compile a simple Fortran program
See `config.log' for more details

你可以帮帮我吗?

Answers:


0

我有同样的问题。这将解决问题-首先安装gfortran。我用了

brew install gfortran

然后,将F77=gfortran参数传递给fftw.configure


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.