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
error = $(ProcId)/err
log = $(ProcId)/log
+JobFlavour = $ENV(FLAVOUR)
queue $ENV(NJOBS)
#!/bin/zsh
set -e
export NJOBS=2
export NJOBS=`nproc`
for i in {1..$NJOBS}
do
......
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment