我正在尝试安装 Open MPI2.1.0版本在我们的 CentOS 机器上。我按照以下步骤操作:
tar -xvf openmpi-*
cd openmpi-*
./configure --prefix="/home/$USER/.openmpi"
*** C compiler and preprocessor
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) unsupported
checking whether gcc understands -c and -o together... (cached) yes
checking for gcc option to accept ISO C99... unsupported
configure: WARNING: Open MPI requires a C99 compiler
configure: error: Aborting.
我搜索了同样的问题,例如这并尝试安装 C99 和任何缺少的东西。并且没有任何进展。您有意见或解决方案吗?