Skip to content

Commit f2ab107

Browse files
committedMar 22, 2016
add hostip option is dmlc_mpi
1 parent f25ed36 commit f2ab107

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎tracker/dmlc_mpi.py

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
help = 'the hostfile of mpi server')
2424
parser.add_argument('command', nargs='+',
2525
help = 'command for dmlc program')
26+
parser.add_argument('--host-ip', type=str,
27+
help = 'the scheduler ip', default='ip')
2628
args, unknown = parser.parse_known_args()
2729
#
2830
# submission script using MPI
@@ -85,4 +87,5 @@ def run(prog):
8587
tracker.config_logger(args)
8688

8789
tracker.submit(args.nworker, args.server_nodes, fun_submit = mpi_submit,
90+
hostIP=args.host_ip,
8891
pscmd=(' '.join(args.command) + ' ' + ' '.join(unknown)))

0 commit comments

Comments
 (0)