Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hep-workloads
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Henry Hollowell
hep-workloads
Commits
336ef3a2
Commit
336ef3a2
authored
5 years ago
by
Christopher Henry Hollowell
Browse files
Options
Downloads
Patches
Plain Diff
Change -n flag to -r.
parent
e1113653
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/reptest
+5
-5
5 additions, 5 deletions
scripts/reptest
with
5 additions
and
5 deletions
scripts/reptest
+
5
−
5
View file @
336ef3a2
...
@@ -21,15 +21,15 @@ def help():
...
@@ -21,15 +21,15 @@ def help():
print
"
-v Display verbose output, including all scores
"
print
"
-v Display verbose output, including all scores
"
print
"
-d Run Docker test
"
print
"
-d Run Docker test
"
print
"
-s Run Singularity test
"
print
"
-s Run Singularity test
"
print
"
-
n
RUNS Number of runs to execute (default
"
+
str
(
RUNS
)
+
"
)
"
print
"
-
r
RUNS Number of runs to execute (default
"
+
str
(
RUNS
)
+
"
)
"
print
"
-R REGISTRY Use an alternate (instead of official) Docker registry
"
print
"
-R REGISTRY Use an alternate (instead of official) Docker registry
"
print
"
-L Run container via local Docker daemon (cannot be used with -s)
"
print
"
-L Run container via local Docker daemon (cannot be used with -s)
"
print
"
\n
Examples
"
print
"
\n
Examples
"
print
"
--------
"
print
"
--------
"
print
"
Run
'
lhcb-gen-sim
'
10 times in Docker and Singularity, displaying all scores:
"
print
"
Run
'
lhcb-gen-sim
'
10 times in Docker and Singularity, displaying all scores:
"
print
"
reptest -sdv -
n
10 /tmp/hwoutput lhcb-gen-sim
"
print
"
reptest -sdv -
r
10 /tmp/hwoutput lhcb-gen-sim
"
print
"
Run
'
atlas-sim-bmk
'
5 times in Docker:
"
print
"
Run
'
atlas-sim-bmk
'
5 times in Docker:
"
print
"
reptest -d -
n
5 /tmp/hwoutput atlas-sim-bmk
"
print
"
reptest -d -
r
5 /tmp/hwoutput atlas-sim-bmk
"
def
procres
(
rpath
,
verbose
):
def
procres
(
rpath
,
verbose
):
...
@@ -145,7 +145,7 @@ def main():
...
@@ -145,7 +145,7 @@ def main():
global
REGISTRY
,
RUNS
global
REGISTRY
,
RUNS
try
:
try
:
opts
,
args
=
getopt
.
getopt
(
sys
.
argv
[
1
:],
'
hvds
n
:R:L
'
)
opts
,
args
=
getopt
.
getopt
(
sys
.
argv
[
1
:],
'
hvds
r
:R:L
'
)
except
getopt
.
GetoptError
as
err
:
except
getopt
.
GetoptError
as
err
:
print
"
\n
Error:
"
+
str
(
err
)
+
"
\n
"
print
"
\n
Error:
"
+
str
(
err
)
+
"
\n
"
help
()
help
()
...
@@ -160,7 +160,7 @@ def main():
...
@@ -160,7 +160,7 @@ def main():
if
opt
==
'
-h
'
:
if
opt
==
'
-h
'
:
help
()
help
()
sys
.
exit
(
0
)
sys
.
exit
(
0
)
elif
opt
==
'
-
n
'
:
elif
opt
==
'
-
r
'
:
try
:
try
:
RUNS
=
int
(
arg
)
RUNS
=
int
(
arg
)
except
ValueError
:
except
ValueError
:
...
...
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
register
or
sign in
to comment