Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
athena
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
detectors
athena
Commits
64745dee
Commit
64745dee
authored
3 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
Make view14 parallel (one slice per job)
parent
950aa602
No related branches found
No related tags found
1 merge request
!170
Make view12/14/15 parallel (one slice per job)
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bin/make_dawn_views
+4
-2
4 additions, 2 deletions
bin/make_dawn_views
scripts/view14/generate_eps
+3
-2
3 additions, 2 deletions
scripts/view14/generate_eps
views/view14.yml
+4
-2
4 additions, 2 deletions
views/view14.yml
with
11 additions
and
6 deletions
bin/make_dawn_views
+
4
−
2
View file @
64745dee
...
...
@@ -58,8 +58,10 @@ parser.add_argument('-t', '--tag', type=str,
parser
.
add_argument
(
'
--timeout
'
,
type
=
int
,
default
=
60
,
help
=
'
Timeout in seconds
'
)
parser
.
add_argument
(
'
passthrough
'
,
nargs
=
'
*
'
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_
known_
args
()
macro
=
'
macro/dawn_picture.mac
'
if
args
.
detector_only
else
'
macro/dawn_picture2.mac
'
...
...
@@ -157,7 +159,7 @@ prim_file = os.path.abspath(prim_file)
owd
=
os
.
getcwd
()
os
.
chdir
(
args
.
dawn_dir
)
subprocess
.
run
([
'
pwd
'
])
subprocess
.
run
([
'
./generate_eps
'
,
'
-t
'
,
args
.
tag
,
'
-i
'
,
prim_file
])
subprocess
.
run
([
'
./generate_eps
'
,
'
-t
'
,
args
.
tag
,
'
-i
'
,
prim_file
]
+
args
.
passthrough
)
subprocess
.
run
([
'
ls
'
,
'
-lrth
'
])
# upload the results
...
...
This diff is collapsed.
Click to expand it.
scripts/view14/generate_eps
+
3
−
2
View file @
64745dee
...
...
@@ -36,7 +36,7 @@ INPUT_FILE="../../g4_0000.prim"
POSITIONAL
=()
while
[[
$#
-gt
0
]]
do
key
=
"
$1
"
key
=
"
$1
"
tag
case
$key
in
-h
|
--help
)
...
...
@@ -102,7 +102,8 @@ make_slice(){
rm
"
${
FILE_TAG
}
_temp0.prim"
rm
"
${
FILE_TAG
}
.prim"
}
for
zzz
in
$(
seq
100 200 2000
)
;
for
zzz
in
$@
;
do
make_slice
${
zzz
}
done
...
...
This diff is collapsed.
Click to expand it.
views/view14.yml
+
4
−
2
View file @
64745dee
dawn_view_14:detector
:
extends
:
.views
script
:
-
./bin/make_dawn_views -t view14 -d scripts/view14 -D
-
./bin/make_dawn_views -t view14 -d scripts/view14 -D -- ${SLICE}
parallel
:
matrix
:
-
SLICE
:
[
"
150"
,
"
200"
,
"
250"
,
"
300"
,
"
350"
,
"
400"
,
"
450"
,
"
500"
,
"
550"
,
"
600"
,
"
650"
,
"
700"
,
"
750"
,
"
800"
,
"
850"
,
"
900"
,
"
950"
,
"
1000"
,
"
1050"
,
"
1100"
,
"
1150"
,
"
1200"
,
"
1250"
,
"
1300"
,
"
1350"
,
"
1400"
,
"
1450"
,
"
1500"
,
"
1550"
,
"
1600"
,
"
1650"
,
"
1700"
,
"
1750"
,
"
1800"
,
"
1850"
,
"
1900"
,
"
1950"
,
"
2000"
]
view_14
:
stage
:
collect
...
...
@@ -12,4 +15,3 @@ view_14:
script
:
-
ls -lrth *
-
ls -lrth images/*
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