Squashed 'subtree/rabit/' changes from 4ebe657..fb13cab

fb13cab change makefile
1479e37 fixed small bug in mpi submission script
0ca7a63 Update README.md
5ef4830 ok
93a1338 chg note

git-subtree-dir: subtree/rabit
git-subtree-split: fb13cab216
This commit is contained in:
tqchen
2015-01-30 16:41:06 -08:00
parent 6937384e62
commit 9725cf2aeb
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)