Skip to content

Commit b109c1c

Browse files
davidrohrsawenzel
authored andcommitted
Reduce default memory sizes and disable GPU test by default
1 parent a1d6062 commit b109c1c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

prodtests/full_system_test.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ NEventsQED=${NEventsQED:-1000} #35000 for full TF
2424
NCPUS=$(getNumberOfPhysicalCPUCores)
2525
echo "Found ${NCPUS} physical CPU cores"
2626
NJOBS=${NJOBS:-"${NCPUS}"}
27-
SHMSIZE=128000000000 # 128000000000 # Size of shared memory for messages
28-
TPCTRACKERSCRATCHMEMORY=22000000000
27+
SHMSIZE=${SHMSIZE:-8000000000} # Size of shared memory for messages (use 128 GB for 550 event full TF)
28+
TPCTRACKERSCRATCHMEMORY=${SHMSIZE:-4000000000} # Size of memory allocated by TPC tracker. (Use 24 GB for 550 event full TF)
29+
ENABLE_GPU_TEST=${ENABLE_GPU_TEST:-0} # Run the full system test also on the GPU
2930
NTIMEFRAMES=${NTIMEFRAMES:-1} # Number of time frames to process
3031
TFDELAY=100 # Delay in seconds between publishing time frames
3132
NOMCLABELS="--disable-mc"
@@ -68,7 +69,11 @@ taskwrapper phsraw.log o2-phos-digi2raw --file-for link --configKeyValues '"HBF
6869
cat raw/*/*.cfg > rawAll.cfg
6970

7071
# We run the workflow in both CPU-only and With-GPU mode
71-
for STAGE in "NOGPU" "WITHGPU"; do
72+
STAGES="NOGPU"
73+
if [ $ENABLE_GPU_TEST != "0" ]; then
74+
STAGES+=" WITHGPU"
75+
fi
76+
for STAGE in $STAGES; do
7277

7378
ARGS_ALL="--session default"
7479
DICTCREATION=""

0 commit comments

Comments
 (0)