Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions DATA/production/configurations/asyncReco/async_pass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ if [[ $ASYNC_PASS_NO_OPTIMIZED_DEFAULTS != 1 ]]; then
if [[ $ALIEN_JDL_USEGPUS == 1 ]] ; then
echo "Enabling GPUS"
if [[ -z $ALIEN_JDL_SITEARCH ]]; then echo "ERROR: Must set ALIEN_JDL_SITEARCH to define GPU architecture!"; exit 1; fi
if [[ $ALIEN_JDL_SITEARCH == "NERSC" ]]; then # Disable mlock / ulimit / gpu memory registration - has performance impact, but doesn't work at NERSC for now
if [[ $ALIEN_JDL_SITEARCH == "NERSC" || $ALIEN_JDL_SITEARCH == "GENERIC_NVIDIA" || $ALIEN_JDL_SITEARCH == "GENERIC_AMD" ]]; then # Disable mlock / ulimit / gpu memory registration - has performance impact, but doesn't work at NERSC for now
export SETENV_NO_ULIMIT=1
export CONFIG_EXTRA_PROCESS_o2_gpu_reco_workflow+="GPU_proc.noGPUMemoryRegistration=1;"
fi
Expand All @@ -428,7 +428,11 @@ if [[ $ASYNC_PASS_NO_OPTIMIZED_DEFAULTS != 1 ]]; then
elif [[ $ALIEN_JDL_SITEARCH == "EPN_MI50" ]]; then
ALIEN_JDL_SITEARCH_TMP=EPN
fi
if [[ "ALIEN_JDL_USEFULLNUMADOMAIN" == 0 ]]; then
if [[ $ALIEN_JDL_SITEARCH == "GENERIC_NVIDIA" ]]; then
export OPTIMIZED_PARALLEL_ASYNC=8cpu_NVIDIA
elif [[ $ALIEN_JDL_SITEARCH == "GENERIC_AMD" ]]; then
export OPTIMIZED_PARALLEL_ASYNC=8cpu_AMD
elif [[ "ALIEN_JDL_USEFULLNUMADOMAIN" == 0 ]]; then
if [[ $keep -eq 0 ]]; then
if [[ $ALIEN_JDL_UNOPTIMIZEDGPUSETTINGS != 1 ]]; then
export OPTIMIZED_PARALLEL_ASYNC=pp_1gpu_${ALIEN_JDL_SITEARCH_TMP} # (16 cores, 1 gpu per job, pp)
Expand Down
13 changes: 12 additions & 1 deletion DATA/production/workflow-multiplicities.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,20 @@ if [[ ! -z ${OPTIMIZED_PARALLEL_ASYNC:-} ]]; then
[[ ! -z ${TIMEFRAME_RATE_LIMIT:-} ]] && unset TIMEFRAME_RATE_LIMIT
[[ ! -z ${SHMSIZE:-} ]] && unset SHMSIZE
fi
if [[ $OPTIMIZED_PARALLEL_ASYNC == "8cpu" ]]; then
if [[ $OPTIMIZED_PARALLEL_ASYNC == "8cpu" || $OPTIMIZED_PARALLEL_ASYNC == "8cpu_NVIDIA" || $OPTIMIZED_PARALLEL_ASYNC == "8cpu_AMD" ]]; then
[[ -z ${TIMEFRAME_RATE_LIMIT:-} ]] && TIMEFRAME_RATE_LIMIT=3
[[ -z ${SHMSIZE:-} ]] && SHMSIZE=16000000000
if [[ $OPTIMIZED_PARALLEL_ASYNC == "8cpu_NVIDIA" ]]; then
NGPUS=1
GPUTYPE=CUDA
GPUMEMSIZE=$((25 << 30))
N_TPCTRK=$NGPUS
elif [[ $OPTIMIZED_PARALLEL_ASYNC == "8cpu_AMD" ]]; then
NGPUS=1
GPUTYPE=HIP
GPUMEMSIZE=$((25 << 30))
N_TPCTRK=$NGPUS
fi
NGPURECOTHREADS=5
if [[ $BEAMTYPE == "pp" ]]; then
if (( $(echo "$RUN_IR > 800000" | bc -l) )); then
Expand Down