Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-39240: Support EXECUTE dir on local scratch in ctrl_execute allocateNodes #4

Merged
merged 1 commit into from
May 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions etc/templates/allocation.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ mkdir -p ${REMOTE_DIR}/config
mkdir -p ${REMOTE_DIR}/log
mkdir -p ${REMOTE_DIR}/spool
mkdir -p ${REMOTE_DIR}/execute
EXEC_DIR=${LSCRATCH}/execute
mkdir -p ${EXEC_DIR}

# NEW
# cp $SCRATCH_DIR/configs/$GENERATED_CONFIG ${REMOTE_DIR}/config/$GENERATED_CONFIG
Expand All @@ -35,6 +37,8 @@ echo ${condorConfig}
export CONDOR_CONFIG=${condorConfig}

export _condor_LOCAL_DIR=${condorLocal}
export _condor_EXECUTE=${EXEC_DIR}
export _condor_MAXJOBRETIREMENTTIME=43200
export _condor_COLLECTOR_PORT=${RUBIN_COLLECTOR_PORT}
export _condor_CONDOR_HOST=${RUBIN_COLLECTOR_HOST}
export _condor_COLLECTOR_HOST=${RUBIN_COLLECTOR_HOST}
Expand Down