【发布时间】:2016-09-17 15:59:20
【问题描述】:
我正在尝试在启用 OpenMP 的 Mac 上安装 FFTW。我最初在配置时遇到了问题,但该问题已解决 here。
现在配置后我输入“make”,我得到以下错误:
libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I.. -I../kernel -I../dft -I../rdft -I../api -I../tests -I../libbench2 -O3 -fomit-frame-pointer -mtune=native -malign-double -fstrict-aliasing -fno-schedule-insns -ffast-math -Wa,-q -Wl,-no_compact_unwind -MT any-true.lo -MD -MP -MF .deps/any-true.Tpo -c any-true.c -o any-true.o
clang: error: unknown argument: '-malign-double'
clang: warning: -Wl,-no_compact_unwind: 'linker' input unused
clang: error: unsupported argument '-q' to option 'Wa,'
clang: warning: optimization flag '-fno-schedule-insns' is not supported
make[3]: *** [any-true.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
这里有什么问题,我该如何解决?
【问题讨论】:
-
您究竟是如何调用
configure脚本的? -
./configure CC=gcc-6.1.0 --enable-mpi --enable-threads --enable-openmp
-
这个版本的
gcc是手动安装的? -
是的,这是我的第一个问题,我无法让任何 OpenMP 工作,但现在是
-
您的错误消息来自 clang,这与您假设的 ./configure 与 gcc-6.1.0 不一致
标签: gcc clang mpi openmpi fftw