Commit f9c128e8 authored by Millian Poquet's avatar Millian Poquet
Browse files

[tools] execN ssh command

parent e0ecdee0
......@@ -235,7 +235,7 @@ def get_script_path():
async def instance_runner(data, hostname, local_rank):
loop = asyncio.get_event_loop()
assert(hostname=='localhost'), 'unhandled atm'
while len(data.sweeper.get_remaining()) > 0:
comb = data.sweeper.get_next()
if comb == None:
......@@ -261,6 +261,8 @@ async def instance_runner(data, hostname, local_rank):
iid=instance_id, comb=comb))
# Preparing the launch
command = """ssh {host} '{command}'""".format(host=hostname,
stdout_filename = '{out}/instances/output/{iid}.stdout'.format(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment