Skip to content

Commit

Permalink
gen_topo.sh: Use /var/tmp/gen_topo as gen_topo temp folder
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr authored and martenole committed Apr 25, 2024
1 parent 1483ae3 commit 7b3f445
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions DATA/tools/epn/gen_topo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ if [[ -z "$EPN2EOS_METAFILES_DIR" ]] && [[ "0$WORKFLOWMODE" != "0print" ]]; then
export EPN2EOS_METAFILES_DIR=/data/epn2eos_tool/epn2eos # Directory for epn2eos meta data files
fi
if [[ $USER == "epn" ]]; then
if [[ "${GEN_TOPO_DEPLOYMENT_TYPE:-}" == "ALICE_STAGING" ]]; then
[[ -z "$GEN_TOPO_WORKDIR" ]] && export GEN_TOPO_WORKDIR=/scratch/services/staging_gen_topo # Working directory for checkout of O2DPG repository and for XML cache. If this directory is wiped, gen_topo will recreate all necessary content the next time it runs. The folder should be persistent to cache workflows.
else
[[ -z "$GEN_TOPO_WORKDIR" ]] && export GEN_TOPO_WORKDIR=/scratch/services/gen_topo # Working directory for checkout of O2DPG repository and for XML cache. If this directory is wiped, gen_topo will recreate all necessary content the next time it runs. The folder should be persistent to cache workflows.
if [[ -z "$GEN_TOPO_WORKDIR" ]]; then
mkdir -p /var/tmp/gen_topo
export GEN_TOPO_WORKDIR=/var/tmp/gen_topo # Working directory for checkout of O2DPG repository and for XML cache. If this directory is wiped, gen_topo will recreate all necessary content the next time it runs. The folder should be persistent to cache workflows.
fi
else
[[ -z "$GEN_TOPO_WORKDIR" ]] && export GEN_TOPO_WORKDIR=$HOME/gen_topo # Working directory for checkout of O2DPG repository and for XML cache. If this directory is wiped, gen_topo will recreate all necessary content the next time it runs. The folder should be persistent to cache workflows.
Expand Down

0 comments on commit 7b3f445

Please sign in to comment.