Skip to content
Snippets Groups Projects

master

Merged Domenico Giordano requested to merge master into qa-build-cms-mlpf
56 files
+ 439
24712
Compare changes
  • Side-by-side
  • Inline
Files
56
@@ -35,7 +35,7 @@ function doOne(){
sed -i 's/import pandas/#import pandas/g' o2dpg_sim_workflow.py
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
[ ! "${O2DPG_ROOT}" ] && echo "Error: This needs O2DPG loaded" && return 1
@@ -45,10 +45,17 @@ function doOne(){
export ALIEN_PROC_ID="${ALIEN_PROC_ID_BASE}$1" # append copy number to a base identifier
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 -----------------------------
NSIGEVENTS=$(($NEVENTS_THREAD * $NTHREADS))
NBKGEVENTS=$NSIGEVENTS
NTIMEFRAMES=2
NSIGEVENTS=3
NBKGEVENTS=3
NTIMEFRAMES=$(($NEVENTS_THREAD * $NTHREADS))
SIMENGINE=TGeant4
NWORKERS=$NTHREADS
CPULIMIT=$NTHREADS
@@ -63,13 +70,7 @@ function doOne(){
-j ${NWORKERS} --embedding -interactionRate 50000 \
-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
# to isolate/pin this benchmark invocation to a fixed set of CPUs
COPY=$1
Loading