Whamcloud - gitweb
LU-676 tests: machinefile option for mpirun via a variable
authorJay J. Lan <jay.j.lan@nasa.gov>
Tue, 18 Oct 2011 19:04:07 +0000 (12:04 -0700)
committerJohann Lombardi <johann.lombardi@intel.com>
Tue, 11 Dec 2012 15:21:25 +0000 (10:21 -0500)
commitb326546f8641fa8994755d980437569eebb47091
tree731c9115a961f11f0b1079408e1cacc20d5f4213
parentb3f95c01348185e64d6b184d2fc7a21b1551b2ff
LU-676 tests: machinefile option for mpirun via a variable

Not all MPI implementations pass the host file to mpirun via the same
option. Common options are -machinefile and -hostfile.

This problem can be resolved by using a variable MACHINEFILE_OPTION
instead. A default value is assigned if the variable not defined.

Signed-off-by: Jay J Lan <jay.j.lan@nasa.gov>
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I3362a6e62a27318cff733aea2f99b1356b3ff02e
Reviewed-on: http://review.whamcloud.com/1540
Tested-by: Hudson
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
14 files changed:
lustre/tests/Makefile.am
lustre/tests/cfg/local.sh
lustre/tests/functions.sh
lustre/tests/ha.sh
lustre/tests/large-scale.sh
lustre/tests/mdsrate-create-large.sh
lustre/tests/mdsrate-create-small.sh
lustre/tests/mdsrate-lookup-10dirs.sh
lustre/tests/mdsrate-lookup-1dir.sh
lustre/tests/mdsrate-stat-large.sh
lustre/tests/mdsrate-stat-small.sh
lustre/tests/metadata-updates.sh
lustre/tests/run_IOR.sh
lustre/tests/test-framework.sh