CentOS 6.8にOpen MPIをインストールする「C99コンパイラエラーが必要」

CentOS 6.8にOpen MPIをインストールする「C99コンパイラエラーが必要」

Open MPIをインストールしようとしています。バージョン 2.1.0CentOSマシンで。私は次のステップに従いました。

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と欠けているものをインストールしてみてください。そして進展はありませんでした。コメントや解決策はありますか?

ベストアンサー1

おすすめ記事