]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
small updates, large scale test of this version is running
authormkrzewic <mikolaj.krzewicki@cern.ch>
Wed, 12 Mar 2014 15:10:11 +0000 (16:10 +0100)
committermkrzewic <mikolaj.krzewicki@cern.ch>
Thu, 13 Mar 2014 17:53:12 +0000 (18:53 +0100)
PWGPP/benchmark/benchmark.sh

index 6ddf4e5efdebf8c95f8033340a72090557dd250d..eeb9fd44ec1d567b28b225c584b63fe6ad093a04 100755 (executable)
@@ -14,7 +14,7 @@ main()
       echo "uses a batch system (SGE):"
       echo " ${0} \"submit\" productionID inputList configFile [extraOpts]"
       echo "extraOpts if non-empty override the config file, e.g.:"
-      echo " ${0} submit benchmark.list test1 benchmark.config runNumber=169123 nEvents=10"
+      echo " ${0} submit test1 benchmark.list benchmark.config runNumber=169123 nEvents=10"
     fi
     return
   fi
@@ -967,7 +967,7 @@ goCreateQAplots()
   [[ ! "${PWD}" = "${outputDir}" ]] && echo "cannot make ${outputDir}... exiting" && return 1
 
   echo ${ALICE_ROOT}/PWGPP/QA/scripts/runQA.sh inputList=${mergedQAfileList}
-  ${ALICE_ROOT}/PWGPP/QA/scripts/runQA.sh inputList=${mergedQAfileList}
+  ${ALICE_ROOT}/PWGPP/QA/scripts/runQA.sh inputList="${mergedQAfileList}" inputListHighPtTrees="${filteringList}"
 
   cd ${olddir}
   return 0
@@ -1366,8 +1366,7 @@ goSubmitBatch()
     echo "Using Config File: '${configFile}'"
   fi
 
-  # and print the configuration
-  [[ -f ${alirootSource} && -z ${ALICE_ROOT} ]] && source ${alirootSource}
+  [[ ! -f ${alirootEnv} ]] && echo "alirootEnv script ${alirootEnv} not found!..." && return 1
 
   #move the script, config and some other stuff to ${commonOutputPath} first, then use them from there
   self=$(readlink -f "${0}")
@@ -1405,9 +1404,9 @@ goSubmitBatch()
   echo "    productionID:    ${productionID}"
   echo "    batchCommand:    ${batchCommand}"
   echo "    batchFlags:      ${batchFlags}"
-  echo "    alirootSource:   ${alirootSource}"
-  echo "    ALICE_ROOT:      ${ALICE_ROOT}"
-  echo "    ALIROOT_RELEASE: ${ALICE_RELEASE}"
+  echo "    alirootEnv:   ${alirootEnv}"
+  ${alirootEnv} echo '    ALICE_ROOT:      ${ALICE_ROOT}'
+  ${alirootEnv} echo '    ALIROOT_RELEASE: ${ALICE_RELEASE}'
   echo "    inputList:       ${inputList}"
   echo "    configPath:      ${configPath}"
   echo "    commonOutputPath:      ${commonOutputPath}"
@@ -2012,7 +2011,7 @@ done
   goMakeSummaryTree ${commonOutputPath} 0
   goMakeSummaryTree ${commonOutputPath} 1
 
-  goCreateQAplots qa.list ${productionID} QAplots ${configFile} ${extraOpts} &>createQAplots.log
+  goCreateQAplots "qa.list" "${productionID}" "QAplots" "${configFile}" ${extraOpts} filteringList="filtering.list" &>createQAplots.log
 
   #make a merged summary tree out of the QA trending, dcs trees and log summary trees
   goMakeMergedSummaryTree