Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
batsim
batsim
Commits
b908f903
Commit
b908f903
authored
Feb 09, 2017
by
Millian Poquet
Browse files
[execN] fix
parent
24faa78e
Pipeline
#675
failed with stages
in 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tools/experiments/execute_instances.py
View file @
b908f903
...
...
@@ -284,7 +284,7 @@ class WorkerLifeCycleHandler(ProcessLifecycleHandler):
self
.
_launch_process
(
instance_command
=
command
)
return
else
:
logger
.
info
(
'Worker (
$
{hostname}, {local_rank}) skipped comb ${comb}'
.
format
(
logger
.
info
(
'Worker ({hostname}, {local_rank}) skipped comb ${comb}'
.
format
(
hostname
=
self
.
hostname
,
local_rank
=
self
.
local_rank
,
comb
=
self
.
comb
))
...
...
@@ -294,7 +294,7 @@ class WorkerLifeCycleHandler(ProcessLifecycleHandler):
# If there is no more work to do, this worker stops
logger
.
info
(
'Worker ({hostname}, {local_rank}) finished'
.
format
(
hostname
=
self
.
hostname
,
local_rank
=
self
.
local_rank
))
local_rank
=
self
.
local_rank
))
self
.
data
.
nb_workers_finished
+=
1
return
...
...
@@ -988,6 +988,8 @@ can be found in the instances_examples subdirectory.
if
'explicit_instances'
in
desc_data
:
explicit_instances
=
desc_data
[
'explicit_instances'
]
post_command_failed
=
False
if
not
args
.
post_only
:
# Commands before instances execution
if
len
(
commands_before_instances
)
>
0
and
not
args
.
skip_global_pre
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment