Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dataset production
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package 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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UHH ML PS et al.
Experimental
Dataset production
Commits
3d2273e4
Commit
3d2273e4
authored
Apr 12, 2021
by
Patrick L.S. Connor
Browse files
Options
Downloads
Patches
Plain Diff
improving submission to handle different job running times
parent
3875cb36
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
job
+2
-0
2 additions, 0 deletions
job
parallel
+2
-1
2 additions, 1 deletion
parallel
submit
+15
-4
15 additions, 4 deletions
submit
with
19 additions
and
5 deletions
job
+
2
−
0
View file @
3d2273e4
...
...
@@ -7,4 +7,6 @@ output = $(ProcId)/out
error = $(ProcId)/err
log = $(ProcId)/log
+JobFlavour = $ENV(FLAVOUR)
queue $ENV(NJOBS)
This diff is collapsed.
Click to expand it.
parallel
+
2
−
1
View file @
3d2273e4
#!/bin/zsh
set
-e
export
NJOBS
=
2
export
NJOBS
=
`
nproc
`
for
i
in
{
1..
$NJOBS
}
do
...
...
This diff is collapsed.
Click to expand it.
submit
+
15
−
4
View file @
3d2273e4
#!/bin/zsh
set
-e
#eval `/usr/bin/modulecmd zsh use -a /afs/desy.de/group/cms/modulefiles/`
#eval `/usr/bin/modulecmd zsh load cmssw`
#eval `scramv1 runtime -sh`
if
[[
$#
==
0
]]
then
echo
$0
JobFlavour
echo
'For FastSim, `espresso` might be enough, but use `microcentury` just to have a safe margin'
echo
'For FullSim, `longlunch` is certainly not enough, try `workday` or even `tomorrow`'
echo
'See also https://batchdocs.web.cern.ch/local/submit.html'
exit
1
fi
eval
`
/usr/bin/modulecmd zsh use
-a
/afs/desy.de/group/cms/modulefiles/
`
eval
`
/usr/bin/modulecmd zsh load cmssw
`
eval
`
scramv1 runtime
-sh
`
export
LD_LIBRARY_PATH_STORED
=
$LD_LIBRARY_PATH
export
NJOBS
=
1000
export
NJOBS
=
5000
export
FLAVOUR
=
$1
for
i
in
{
1..
$NJOBS
}
do
...
...
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