|
./configure --prefix=安装目录 CC=icc CXX=icpc F77=ifort FC=ifort
执行时出现如下错误:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... icc
checking whether the C compiler works... no
configure: error: in `/home/xyz/software/openmpi-1.6.5':
configure: error: C compiler cannot create executables
See `config.log' for more details
解决办法:./configure --prefix=安装目录 CC=gcc CXX=g++ F77=ifort FC=ifort |
|