diff --git a/runner_scripts/root/run.sh b/runner_scripts/root/run.sh index 9ba01b032ca98718ee2e640e46e41de743437270..4ab6f3c1ea86b7ebac28c0597011ffdfb2d3bf3d 100755 --- a/runner_scripts/root/run.sh +++ b/runner_scripts/root/run.sh @@ -76,7 +76,6 @@ then SALLOC_OPTIONS=() for E in $(env | grep -E "^SLURM_") do - echo $E SALLOC_OPTIONS+=("$(echo "${E#SLURM_}" | awk -F "=" '{gsub("_", "-", $1); print "--"tolower($1)"="$2}')") done @@ -85,7 +84,6 @@ then exec salloc --quiet --uid "$AUTH_USER" --gid "$(id -g -n "$AUTH_USER")" --chdir "$BASE_DIR" "${SALLOC_OPTIONS[@]}" \ srun --cpu-bind none --export=HOME="$AUTH_USER_HOME",SHELL="$AUTH_USER_SHELL" --wait 0 --kill-on-bad-exit=1 \ "$AUTH_USER_SHELL" --login "$BASE_DIR.tmp/$CUSTOM_ENV_CI_JOB_ID.sh" - else runuser --login "$AUTH_USER" --command "cd \"$BASE_DIR\"; $1" fi