Commit 33476206 authored by Peter W. Draper's avatar Peter W. Draper

Update task dump plotting scripts.

These fix a bug in the range of adjacent tasks of the same type
(and colour) which meant they merged into a single bar, regardless
of whether there was a gap or not (feature of span_where).

Also update to offer proper command-line options, the main one of
which is --expand. That splits the tasks of a thread into "expand"
lines of tasks, designed so that adjacent tasks will not be on the same
line. It is now also possible to set the size of the output graphic.

The colours have also been tweaked once more.
parent 0602056b
This diff is collapsed.
This diff is collapsed.
......@@ -56,7 +56,7 @@ done
# And process them,
echo "Processing thread info files..."
echo $list | xargs -P $NPROCS -n 3 /bin/bash -c "./plot_tasks.py \$0 \$2 $TIMERANGE"
echo $list | xargs -P $NPROCS -n 3 /bin/bash -c "./plot_tasks.py --expand 1 --limit $TIMERANGE --width 16 --height 4 \$0 \$2 "
echo "Writing output index.html file"
# Construct document - serial.
......
......@@ -61,7 +61,7 @@ nrank=$(($nrank-1))
# And process them,
echo "Processing thread info files..."
echo $list | xargs -P $NPROCS -n 3 /bin/bash -c "./plot_tasks_MPI.py \$0 \$2 $TIMERANGE"
echo $list | xargs -P $NPROCS -n 3 /bin/bash -c "./plot_tasks_MPI.py --expand 1 --limit $TIMERANGE \$0 \$2 "
echo "Writing output index.html file"
# Construct document - serial.
......
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