Commit 15e04a58 authored by fwinkler's avatar fwinkler

Added better debug output for long job names.

parent 2586bd3b
......@@ -54,9 +54,10 @@ if [ ${PIKA_HOSTNAME} = ${MASTER_NODE} ]; then
# check if job name is too long (maximum length is 256)
chrlen=${#PIKA_JOB_NAME}
echo "Length of job name: $chrlen" >> $DEBUG_PATH 2>&1
if [ $chrlen -gt 252 ]; then
echo "Length of job name: $chrlen" >> $DEBUG_PATH 2>&1
echo "Truncate job name string..." >> $DEBUG_PATH 2>&1
PIKA_JOB_NAME="${PIKA_JOB_NAME:0:252}..."
fi
......
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