标题: cfour 编译问题 [打印本页] 作者Author: 最爱喵星人 时间: 2018-12-27 20:43 标题: cfour 编译问题 在自己的机子上串行编译cfour v2.00beta。在./configure FC=ifort 后得到:checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for GNU make... make
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for ld... ld
checking for ar... ar
checking for strip... strip
checking for etags... etags
checking for ctags... ctags
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether we are using the GNU Fortran compiler... no
checking whether ifort accepts -g... no
checking for ifort option to support OpenMP... unsupported
checking for gcc option to support OpenMP... -fopenmp
checking for g++ option to support OpenMP... -fopenmp
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for gethostname... yes
checking how to get verbose linking output from ifort... configure: WARNING: compilation failed
checking for Fortran libraries of ifort...
checking for alternate main to link with Fortran libraries... main
checking size of void *... 8
checking size of int... 4
checking size of long int... 8
checking size of long long int... 8
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... configure: error: in `/home/software/cfour_v2.00beta':
configure: error: cannot compile a simple Fortran program
See `config.log' for more details
搜索checking for dummy main to link with Fortran libraries 也没得到什么有用信息。请问是哪里出现编译问题?谢谢。