mpiorder

MPI 選択のための順序の設定

DESCRIPTIOIN

MPI order ファイルは MPI wrapper がどの MPI システムを選択するかを 制御するために使用します。

The MPI wrapper read the files in the following order and only last read file is used: MPI wrapper は以下の順序で MPI order ファイルを読みます。 最後に読んだもののみが有効です。

  1. (INSTALL_DIR)/etc/mpi/score_order
  2. (INSTALL_DIR)/etc/mpi/order
  3. (INSTALL_DIR)/etc/mpi/bintype/order

MPI order ファイルは 1 行に 一つの MPI-id パターンからなります。 the MPI system is selected. MPI-id パターンは以下のようになります。

    name-version-device-compiler
name, version, device, compiler は正規表現もしくは NULL 文字列となります、 NULL 文字列の場合はどのような文字列ともマッチします。

MPI wrapper は MPI-id パターンに一致したものを選択します。 最初の MPI-id パターンが最も優先度が高く, 次の行が 2 番めです.

MPI order ファイルが空の場合や複数の MPI system が同じ MPI-id パターンに 一致した場合, MPI wrapper は以下のように選択します。

  1. MPI name が違っている場合は ASCII 順で小さいほうを選択します。
  2. MPI バージョンが違っている場合はバージョン番号が大きいほうを選択します.
  3. MPI deviice が違っている場合は ASCII 順で小さいほうを選択します。
  4. compiler が違っている場合は ASCII 順で小さいほうを選択します。

EXAMPLE

SCore MPI データベースに以下の MPI システムが登録されていると仮定します。
mpich2-1.0.6p1-ch_score-gnu
mpich2-1.0.6p1-ch_score-intel
mpich2-1.0.6p1-nemesis_score-gnu
mpich2-1.0.6p1-nemesis_score-intel
mpich2-1.2.1-ch_score-gnu
mpich2-1.2.1-ch_score-intel
mpich2-1.2.1-nemesis_score-gnu
mpich2-1.2.1-nemesis_score-intel
mpich2-1.2.1p1-nemesis-gnu
mpich2-1.2.1p1-nemesis-intel
openmpi-1.4.1--gnu
openmpi-1.4.1--intel

MPI オプションの指定がなく、MPI order ファイルも無い場合、 mpich2-1.2.1p1-nemesis-gnu が選択されます。

MPI order ファイルが以下のようになっている場合。

    --ch_score-

MPI を指定しなかった場合、mpich2-1.2.1-ch_score-gnu が選択されます。

MPI order ファイルが以下のようになっている場合、

    --ch_score-
    ---intel

MPI を指定しなかった場合、mpich2-1.2.1-ch_score-intel が選択されます。

MPI name を openmpi と指定した場合, openmpi-1.4.1--intel が選択されます。

FILES

(INSTALL_DIR)/etc/mpi/score_order
(INSTALL_DIR)/etc/mpi/order
(INSTALL_DIR)/etc/mpi/bintype/order

SEE ALSO

mpiconfig(8), mpi(7), score_mpi_list(8), score_mpi_add(8), score_mpi_to_selector(8), mpicc(1), mpic++(1), mpif77(1), mpif90(1), mpirun(1).
CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003-2008 PC Cluster Consortium.