Commit 77964f9e authored by Lukas Werner's avatar Lukas Werner
Browse files

Fixed unknown node error message

parent 374ea335
......@@ -79,9 +79,9 @@ if [[ ("$2" == "step_script" || "$2" == "build_script") && "${CUSTOM_ENV_NO_SLUR
: "${SLURM_NODELIST:="phinally"}" # default node: phinally
if [ ! $(sinfo -n "$SLURM_NODELIST" -h -O NodeList) ]; then
echo "Unknown node $SLURM_NODELIST specified. Available nodes: " >&2
echo "${TXT_RED}${TXT_BOLD}Unknown node \"$SLURM_NODELIST\" specified. Available nodes: ${TXT_CLEAR}" >&2
echo "$(sinfo -N -o '%N %c %m')" >&2
error
error "Exiting..."
fi
SLURM_PARTITION=work
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment