[Ocfs2-test-devel] [PATCH 5/6] ocfs2-test: run_forkwriter - Converted from LAM/MPI to OpenMPI.

tristan.ye tristan.ye at oracle.com
Mon Jan 5 17:56:49 PST 2009


Other than the issue i mentioned in the 1st patch, the rest of patch set
looks pretty good to me:)

Tristan.

On Mon, 2009-01-05 at 12:27 -0800, Marcos Matsunaga wrote:
> Signed-off-by: Marcos Matsunaga <Marcos.Matsunaga at oracle.com>
> ---
>  programs/forkwriter/run_forkwriter.py |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/programs/forkwriter/run_forkwriter.py b/programs/forkwriter/run_forkwriter.py
> index 11ed212..9ccce1b 100644
> --- a/programs/forkwriter/run_forkwriter.py
> +++ b/programs/forkwriter/run_forkwriter.py
> @@ -154,18 +154,20 @@ if DEBUGON:
>  		0, 
>  		'')
>  #
> -o2tf.StartMPI(DEBUGON, options.nodelist, logfile)
> +o2tf.OpenMPIInit(DEBUGON, options.nodelist, logfile, 'ssh')
>  #
>  for z in range(options.count):
>  	o2tf.printlog('run_forkwriter: Running test# %s of %s' % (z, options.count), 
>  	logfile, 
>  	0, 
>  	'')
> -	o2tf.lamexec(DEBUGON, options.procs, config.WAIT, str('%s %s %s %s %s' %
> +	o2tf.openmpi_run(DEBUGON, options.procs, str('%s %s %s %s %s' %
>  		(cmd, 
>  		options.filename, 
>  		options.count, 
>  		options.procs, 
>  		options.sleep ) ), 
>  		options.nodelist, 
> -		options.logfile)
> +		'ssh',
> +		options.logfile,
> +		'WAIT')




More information about the Ocfs2-test-devel mailing list