Skip to content
Snippets Groups Projects
Commit 3d2273e4 authored by Patrick L.S. Connor's avatar Patrick L.S. Connor
Browse files

improving submission to handle different job running times

parent 3875cb36
No related branches found
No related tags found
No related merge requests found
...@@ -7,4 +7,6 @@ output = $(ProcId)/out ...@@ -7,4 +7,6 @@ output = $(ProcId)/out
error = $(ProcId)/err error = $(ProcId)/err
log = $(ProcId)/log log = $(ProcId)/log
+JobFlavour = $ENV(FLAVOUR)
queue $ENV(NJOBS) queue $ENV(NJOBS)
#!/bin/zsh #!/bin/zsh
set -e
export NJOBS=2 export NJOBS=`nproc`
for i in {1..$NJOBS} for i in {1..$NJOBS}
do do
......
#!/bin/zsh #!/bin/zsh
set -e
#eval `/usr/bin/modulecmd zsh use -a /afs/desy.de/group/cms/modulefiles/` if [[ $# == 0 ]]
#eval `/usr/bin/modulecmd zsh load cmssw` then
#eval `scramv1 runtime -sh` 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 LD_LIBRARY_PATH_STORED=$LD_LIBRARY_PATH
export NJOBS=1000 export NJOBS=5000
export FLAVOUR=$1
for i in {1..$NJOBS} for i in {1..$NJOBS}
do do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment