3

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 をインストールすると思われる構成はありますか? 構成でこのマニュアルを見たとき、私が必要とするものと一致するものはないようです。

ありがとう

4

1 に答える 1

2

システムにインストールされた 2 つの MPI ライブラリがさまざまな完了状態にあるため、ここで何が起こっているのかを伝えるのは非常に困難です。この時点で最善の方法は、Open MPI と MPICH の両方をアンインストールし、使用しているパッケージ マネージャーに移動して再インストールすることだと思います。これが、すべてを機能させる最も簡単な方法です。

最新バージョンが必要な場合 (通常はこれで問題ありません)、ソースに直接アクセスする必要があるため、ダウンロードした tarball にバンドルされている README を参照してください。一般に、これらのパッケージは両方とも、Unix ソフトウェアをインストールする標準的な方法を使用します。

./configure --prefix=<path for installation>
make
make install

MPICH と Open MPI の両方に多くのカスタマイズ オプションがあり./configure --help、README を読んで読むことができますが、特別なシステムがない限り、通常は必要ありません。

于 2013-08-16T13:57:12.633 に答える