Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
physics_benchmarks
Commits
ebcf5816
Commit
ebcf5816
authored
Jan 25, 2021
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
fixed bug in run_many
parent
62e30ee9
Branches
Branches containing commit
No related tags found
1 merge request
!23
Resolve "HEPMC - Job Failed #34209"
This commit is part of merge request
!23
. Comments created here will be created in the context of that merge request.
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
util/run_many.py
+1
-1
1 addition, 1 deletion
util/run_many.py
with
1 addition
and
1 deletion
util/run_many.py
+
1
−
1
Edit
View file @
ebcf5816
...
@@ -117,7 +117,7 @@ if __name__ == '__main__':
...
@@ -117,7 +117,7 @@ if __name__ == '__main__':
## check if we all exited nicely, else exit with status 1
## check if we all exited nicely, else exit with status 1
if
not
all
(
ret
==
0
for
ret
in
return_values
):
if
not
all
(
ret
==
0
for
ret
in
return_values
):
n_fail
=
sum
([
1
for
ret
in
return_values
if
ret
!=
0
])
n_fail
=
sum
([
1
for
ret
in
return_values
if
ret
!=
0
])
print
(
'
ERROR, {} of {} jobs failed
'
.
format
(
n_fail
))
print
(
'
ERROR, {} of {} jobs failed
'
.
format
(
n_fail
)
,
len
(
cmds
)
)
print
(
'
Return values:
'
,
[
ret
for
ret
in
return_values
if
ret
!=
0
])
print
(
'
Return values:
'
,
[
ret
for
ret
in
return_values
if
ret
!=
0
])
exit
(
1
)
exit
(
1
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment