File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ ONGRID=0
177177
178178
179179JOBTTL=82000
180+ CPUCORES=8
180181# this tells us to continue an existing job --> in this case we don't create a new workdir
181182while [ $# -gt 0 ] ; do
182183 case $1 in
@@ -187,6 +188,7 @@ while [ $# -gt 0 ] ; do
187188 --topworkdir) ALIEN_TOPWORKDIR=$2 ; shift 2 ;; # the top workdir relative to GRID home
188189 --ttl) JOBTTL=$2 ; shift 2 ;; # allows to specifiy ttl for job
189190 --partition) GRIDPARTITION=$2 ; shift 2 ;; # allows to specificy a GRID partition for the job
191+ --cores) CPUCORES=$2 ; shift 2 ;; # allow to specify the CPU cores (check compatibility with partition !)
190192 --dry) DRYRUN=" ON" ; shift 1 ;; # do a try run and not actually interact with the GRID (just produce local jdl file)
191193 --o2tag) O2TAG=$2 ; shift 2 ;; #
192194 --asuser) ASUSER=$2 ; shift 2 ;; #
@@ -278,6 +280,7 @@ Output = {
278280${PRODSPLIT: +Split = ${QUOT} production: 1-${PRODSPLIT}${QUOT} ;}
279281OutputDir = "${MY_JOBWORKDIR} /${PRODSPLIT: +# alien_counter_03i# } ";
280282Requirements = member(other.GridPartitions,"${GRIDPARTITION:- multicore_8} ");
283+ CPUCores = "${CPUCORES} ";
281284MemorySize = "60GB";
282285TTL=${JOBTTL} ;
283286EOF
You can’t perform that action at this time.
0 commit comments