Skip to content
Snippets Groups Projects

Master

Merged Domenico Giordano requested to merge master into qa-build-atlas-gen_sherpa-ma
6 files
+ 40
42
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -35,7 +35,7 @@ function doOne(){
@@ -35,7 +35,7 @@ function doOne(){
sed -i 's/import pandas/#import pandas/g' o2dpg_sim_workflow.py
sed -i 's/import pandas/#import pandas/g' o2dpg_sim_workflow.py
export PYTHONPATH=$PYTHONPATH:${O2DPG_ROOT}/MC/bin/
export PYTHONPATH=$PYTHONPATH:${O2DPG_ROOT}/MC/bin/
export HEPSCORE_CCDB_ROOT=/cvmfs/alice.cern.ch/el7-x86_64/Packages/HEPscore-CCDB/v0.1.5-coredigireco-snapshot-compatible-20221215-1
export HEPSCORE_CCDB_ROOT=/cvmfs/alice.cern.ch/el7-x86_64/Packages/HEPscore-CCDB/v0.1.5-coredigireco-snapshot-compatible-20221215_v4-1
# make sure O2DPG + O2 is loaded
# make sure O2DPG + O2 is loaded
[ ! "${O2DPG_ROOT}" ] && echo "Error: This needs O2DPG loaded" && return 1
[ ! "${O2DPG_ROOT}" ] && echo "Error: This needs O2DPG loaded" && return 1
@@ -45,10 +45,17 @@ function doOne(){
@@ -45,10 +45,17 @@ function doOne(){
export ALIEN_PROC_ID="${ALIEN_PROC_ID_BASE}$1" # append copy number to a base identifier
export ALIEN_PROC_ID="${ALIEN_PROC_ID_BASE}$1" # append copy number to a base identifier
echo "ALIEN_PROC_ID is ${ALIEN_PROC_ID}"
echo "ALIEN_PROC_ID is ${ALIEN_PROC_ID}"
 
# fetch and unpack checkpoint file containing all inputs (simulated hits)
 
cp ${HEPSCORE_CCDB_ROOT}/hepscore_checkpoint.tar.gz .
 
tar -xzf hepscore_checkpoint.tar.gz
 
rm hepscore_checkpoint.tar.gz
 
rm ${PWD}/.ccdb/log
 
export ALICEO2_CCDB_LOCALCACHE=${PWD}/.ccdb
 
# ----------- START ACTUAL JOB -----------------------------
# ----------- START ACTUAL JOB -----------------------------
NSIGEVENTS=$(($NEVENTS_THREAD * $NTHREADS))
NSIGEVENTS=3
NBKGEVENTS=$NSIGEVENTS
NBKGEVENTS=3
NTIMEFRAMES=2
NTIMEFRAMES=$(($NEVENTS_THREAD * $NTHREADS))
SIMENGINE=TGeant4
SIMENGINE=TGeant4
NWORKERS=$NTHREADS
NWORKERS=$NTHREADS
CPULIMIT=$NTHREADS
CPULIMIT=$NTHREADS
@@ -63,13 +70,7 @@ function doOne(){
@@ -63,13 +70,7 @@ function doOne(){
-j ${NWORKERS} --embedding -interactionRate 50000 \
-j ${NWORKERS} --embedding -interactionRate 50000 \
-run 310000 -seed 1 --timestamp 1550600800001 > out_$1.log 2>&1
-run 310000 -seed 1 --timestamp 1550600800001 > out_$1.log 2>&1
# fetch and unpack checkpoint file containing all inputs (simulated hits)
cp ${HEPSCORE_CCDB_ROOT}/hepscore_checkpoint.tar.gz .
tar -xzf hepscore_checkpoint.tar.gz
rm hepscore_checkpoint.tar.gz
rm ${PWD}/.ccdb/log
export ALICEO2_CCDB_LOCALCACHE=${PWD}/.ccdb
# we use knowledge about the copy id of this benchmark and the total CPU count
# we use knowledge about the copy id of this benchmark and the total CPU count
# to isolate/pin this benchmark invocation to a fixed set of CPUs
# to isolate/pin this benchmark invocation to a fixed set of CPUs
COPY=$1
COPY=$1
Loading