错误:使用 Portland 编译器编译 CFOUR 时,C 编译器无法创建可执行文件

错误:使用 Portland 编译器编译 CFOUR 时,C 编译器无法创建可执行文件

我尝试运行的命令是

FC=pgf90 CC=pgcc MPIFC=mpif90 ./configure 
--prefix=/data/share/cfour_mpi --enable-mpi=openmpi --with-mpirun="mpirun 
-np \$CFOUR_NUM_CORES" --with-exenodes="mpirun -np \$CFOUR_NUM_CORES"

我收到的错误是这样的

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... no
checking for ctags... no
checking whether the C compiler works... no
configure: error: in `/home/shelton/cfour':
configure: error: C compiler cannot create executables
See `config.log' for more details

如果需要的话我可以提供 config.log,但它并没有帮助我理解到底发生了什么

相关内容