open-mpi / mtt

MPI Testing Tool
https://open-mpi.github.io/mtt
Other
61 stars 47 forks source link

Graph IMB Barrier tests #240

Open ompiteam opened 10 years ago

ompiteam commented 10 years ago

[http://www.aditus.nu/jpgraph/ JpGraph] errors out when each row in the summary table contains only a single plotted point (e.g., IMB's Barrier test). Usually there's at least two points that can be rendered as a line connecting the points. For example, the data for a Barrier report might be something like:

{{{

mpi-rev #repetitions t_min[usec] t_max[usec] t_avg[usec]

1.3a1r14702 1000 125.25 125.26 125.26 1.3a1r14702 1000 63.49 63.50 63.49 1.3a1r14715 1000 63.12 63.13 63.12 1.3a1r14715 1000 125.74 125.75 125.74 }}}

reporter.php should catch on that there's only one point per Summary table row, and render another type of graph (e.g., a bar graph). Or at least error out more gracefully than spitting out this error:

{{{ JpGraph Error: A plot has an illegal scale. This could for example be that you are trying to use text auto scaling to draw a line plot with only one point or that the plot area is too small. It could also be that no input data value is numeric (perhaps only '-' or 'x') }}}

ompiteam commented 10 years ago

Imported from trac issue 239. Created by emallove on 2007-05-22T14:12:42, last modified: 2007-09-11T15:02:47