From 1479e370f8cdbe23ed2c48e0cc5ed6b21d47f12b Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 25 Jan 2015 00:12:46 -0800 Subject: [PATCH] fixed small bug in mpi submission script --- tracker/rabit_mpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker/rabit_mpi.py b/tracker/rabit_mpi.py index 599a9a7c5..0ec80d208 100755 --- a/tracker/rabit_mpi.py +++ b/tracker/rabit_mpi.py @@ -35,7 +35,7 @@ def mpi_submit(nslave, worker_args): if args.hostfile is None: cmd = ' '.join(['mpirun -n %d' % (nslave)] + args.command + worker_args) else: - ' '.join(['mpirun -n %d --hostfile %s' % (nslave, args.hostfile)] + args.command + worker_args) + cmd = ' '.join(['mpirun -n %d --hostfile %s' % (nslave, args.hostfile)] + args.command + worker_args) print cmd subprocess.check_call(cmd, shell = True)