Skip to content

Commit ba5852d

Browse files
committed
Don't use 256 GB of SHM segment for calib workflows by default
1 parent 5368fe6 commit ba5852d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

DATA/common/setenv.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ if [ $EPNSYNCMODE == 0 ]; then
7171
if [ -z "$EDJSONS_DIR" ]; then export EDJSONS_DIR="jsons"; fi # output directory for ED json files
7272
if [ -z "${WORKFLOW_DETECTORS_FLP_PROCESSING+x}" ]; then export WORKFLOW_DETECTORS_FLP_PROCESSING=""; fi # No FLP processing by default when we do not run the sync EPN workflow, e.g. full system test will also run full FLP processing
7373
else # Defaults when running on the EPN
74-
if [ -z "$SHMSIZE" ]; then export SHMSIZE=$(( 256 << 30 )); fi
74+
if [[ "0$GEN_TOPO_CALIB_WORKFLOW" != "01" ]]; then
75+
if [ -z "$SHMSIZE" ]; then export SHMSIZE=$(( 32 << 30 )); fi
76+
else
77+
if [ -z "$SHMSIZE" ]; then export SHMSIZE=$(( 256 << 30 )); fi
78+
fi
7579
if [ -z "$NGPUS" ]; then export NGPUS=4; fi
7680
if [ -z "$EXTINPUT" ]; then export EXTINPUT=1; fi
7781
if [ -z "$EPNPIPELINES" ]; then export EPNPIPELINES=1; fi

0 commit comments

Comments
 (0)