Skip to content
Snippets Groups Projects
Commit 1b864a09 authored by Lukas Werner's avatar Lukas Werner
Browse files

Shortened error message

parent b7319af9
No related branches found
No related tags found
No related merge requests found
...@@ -79,9 +79,7 @@ if [[ ("$2" == "step_script" || "$2" == "build_script") && "${CUSTOM_ENV_NO_SLUR ...@@ -79,9 +79,7 @@ if [[ ("$2" == "step_script" || "$2" == "build_script") && "${CUSTOM_ENV_NO_SLUR
: "${SLURM_NODELIST:="phinally"}" # default node: phinally : "${SLURM_NODELIST:="phinally"}" # default node: phinally
if [ ! $(sinfo -n "$SLURM_NODELIST" -h -O NodeList) ]; then if [ ! $(sinfo -n "$SLURM_NODELIST" -h -O NodeList) ]; then
echo -e "${TXT_RED}${TXT_BOLD}Unknown node \"$SLURM_NODELIST\" specified. Available nodes: ${TXT_CLEAR}" >&2 error "Unknown node \"$SLURM_NODELIST\" specified."
echo "$(sinfo -N -o '%N %c %m')" >&2
error "Exiting..."
fi fi
SLURM_PARTITION=work SLURM_PARTITION=work
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment