MPI を実行しようとすると問題が発生します。mpich2-1.4.1p1 をインストールし、mpirun を使用して mpi プログラムを実行すると、次のようになります。
[starsky:27711] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 357
[starsky:27711] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 230
[starsky:27711] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../orte/runtime/orte_init.c at line 132
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):
orte_ess_set_name failed
--> Returned value A system-required executable either could not be found or was not executable by this user (-127) instead of ORTE_SUCCESS
--------------------------------------------------------------------------
[starsky:27719] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required executable either could not be found or was not executable by this user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c at line 357
--------------------------------------------------------------------------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems. This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):
ompi_mpi_init: orte_init failed
--> Returned "A system-required executable either could not be found or was not executable by this user" (-127) instead of "Success" (0)
他の非常によく似たエラーメッセージとともに。
これは、Open MPI と mpich2 の両方を持っているように見えるため、mpiexec fails as MPI init abortsの問題とかなり似ています。ただし、コンパイルに cmake を使用しています。推奨される mpicc-vt.mpich2 (vampir トレースを使用しているため mpicc-vt) を実行してコンパイルし、mpirun.mpich2 を実行すると、次のエラーが発生します。
To run 'mpirun.mpich2' please ask your administrator to install the package 'mpich2'
ただし、すでにmpich2をインストールしています。mpich2 をインストールすると思われる構成はありますか? 構成でこのマニュアルを見たとき、私が必要とするものと一致するものはないようです。
ありがとう