Merge commit '9725cf2aeb26d5366ab659a59334b601b980f90b'

This commit is contained in:
tqchen
2015-01-30 16:41:06 -08:00
4 changed files with 13 additions and 3 deletions

View File

@@ -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)