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)
committerOleg Drokin <green@whamcloud.com>
Tue, 15 Jan 2013 05:32:58 +0000 (00:32 -0500)
commitde677fa6395b2646fbeb9822c59f3e4547aefba6
tree8597cff0c20000181b943d44126e1fcae8e9ece5
parent5e91e5b5200e59a73c10d4c73768b6aee789c395
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.xu@intel.com>
Change-Id: I3362a6e62a27318cff733aea2f99b1356b3ff02e
Reviewed-on: http://review.whamcloud.com/3873
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.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