Skip to content
Merged
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
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