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
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
HEP-Benchmarks
hep-workloads
Merge requests
!55
BMK-36
changed job indexing for fork
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
BMK-36
changed job indexing for fork
BMK-36
into
qa
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Domenico Giordano
requested to merge
BMK-36
into
qa
6 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
qa
qa (base)
and
latest version
latest version
d389fe20
1 commit,
6 years ago
2 files
+
10
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
alice/gen-sim/alice-dpgsim-bmk/alice-dpgsim-bmk.sh
+
9
−
11
Options
@@ -8,12 +8,12 @@ function doOne(){
[
-e
$WDIR
]
&&
rm
-f
$DIR
mkdir
-p
$WDIR
cd
$WDIR
cp
$BMKDIR
/dpgsim.sh dpgsim.sh
cp
$BMKDIR
/environment environment
cp
$BMKDIR
/GeneratorCustom.C GeneratorCustom.C
cp
$BMKDIR
/GenParamCustomSingle.C GenParamCustomSingle.C
cp
$BMKDIR
/data/OCDBrec.root OCDBrec.root
cp
$BMKDIR
/data/OCDBsim.root OCDBsim.root
ln
-s
$BMKDIR
/dpgsim.sh dpgsim.sh
ln
-s
$BMKDIR
/environment environment
ln
-s
$BMKDIR
/GeneratorCustom.C GeneratorCustom.C
ln
-s
$BMKDIR
/GenParamCustomSingle.C GenParamCustomSingle.C
ln
-s
$BMKDIR
/data/OCDBrec.root OCDBrec.root
ln
-s
$BMKDIR
/data/OCDBsim.root OCDBsim.root
./dpgsim.sh
--run
292839
--mode
sim
--uid
1
--nevents
$nevents
--generator
Custom 2>&1
>
out_
$1
.log
@@ -80,16 +80,14 @@ source environment
for
i
in
`
seq
1
$ncopies
`
;
do
(
doOne
$i
;
)
&
Copies_PID+
=(
$!
)
done
FAIL
=
0
for
copy_PID
in
$Copies_PID
#for job in `jobs -p`
for
job
in
`
jobs
-p
`
do
[
$DEBUG
-gt
0
]
&&
echo
"...waiting forked process "
$
copy_PID
wait
$
copy_PID
||
let
"FAIL+=1"
[
$DEBUG
-gt
0
]
&&
echo
"...waiting forked process "
$
jobs
wait
$
jobs
||
let
"FAIL+=1"
done
[
$DEBUG
-gt
0
]
&&
echo
"FAILS "
$FAIL
Loading