[Ocfs2-test-devel] [PATCH 1/2] Ocfs2-test: Truncate redundant openmpi mca args from mpirun.

Tristan Ye tristan.ye at oracle.com
Tue Feb 17 01:17:28 PST 2009


We need to explicitly specify '-mca btl_tcp_if_include eth0' argument before,
to pass a public vif for communcation between mpi hosts due to a openmpi bug
in former versions, now it seems has been solved, we therefore truncate such
redundant and unreadable arguments from openmpi_run.

Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
 programs/python_common/o2tf.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/python_common/o2tf.py b/programs/python_common/o2tf.py
index 53d7865..7ecca74 100644
--- a/programs/python_common/o2tf.py
+++ b/programs/python_common/o2tf.py
@@ -336,7 +336,7 @@ def openmpi_run(DEBUGON, nproc, cmd, nodes, remote_sh, logfile, w_flag):
 				logfile, 0, '')
 		pid = os.spawnv(os.P_NOWAIT,
 			'/bin/bash', ['bash', '-xc',
-			config.MPIRUN + ' -mca btl tcp,self -mca btl_tcp_if_include eth0  %s %s --host %s %s' % \
+			config.MPIRUN + ' -mca btl tcp,self %s %s --host %s %s' % \
 			(shopt, nprocopt, nodes, cmd)])
 		if w_flag == 'NOWAIT':
 			return pid
-- 
1.5.5




More information about the Ocfs2-test-devel mailing list