Skip to content

Commit

Permalink
Update execute_runner.sh (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
bio-boris authored Nov 7, 2024
1 parent ea381eb commit caff369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/execute_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ export HOME
JOB_ID=$1
EE2_ENDPOINT=$2

# Remove 'services.' from EE2_ENDPOINT if it exists
EE2_ENDPOINT=${EE2_ENDPOINT/services./}

KBASE_ENDPOINT=$EE2_ENDPOINT
export KBASE_ENDPOINT

# Detect if we are running at NERSC and load some customization
if [ -e /global/homes/k/kbaserun/.local_settings ] ; then
# Remove 'services.' from EE2_ENDPOINT if it exists
EE2_ENDPOINT=${EE2_ENDPOINT/services./}
HOME=/global/homes/k/kbaserun
. "$HOME/.local_settings" "$JOB_ID" "$EE2_ENDPOINT"
fi
Expand Down

0 comments on commit caff369

Please sign in to comment.