Commit 1b864a09 authored by Lukas Werner's avatar Lukas Werner
Browse files

Shortened error message

parent b7319af9
......@@ -79,9 +79,7 @@ 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 -e "${TXT_RED}${TXT_BOLD}Unknown node \"$SLURM_NODELIST\" specified. Available nodes: ${TXT_CLEAR}" >&2
echo "$(sinfo -N -o '%N %c %m')" >&2
error "Exiting..."
error "Unknown node \"$SLURM_NODELIST\" specified."
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