SCL Cluster Cookbook
Running HINT

·   HINT Intro   ·   Graphing HINT Results with gnuplot   ·   Graphing HINT Results with Microsoft Excel   ·
·   Cluster Cookbook Home   ·   Scalable Computing Lab   ·

HINT is no lnoger available from the Scalable Computing Lab. To obtain HINT, see How to Get HINT or AHINT from Technology Labs. To use HINT to benchmark a system, if you are running Linux (with the GCC compiler installed) or another UNIX with an available C compiler

HINT's output will be the data file named data/DOUBLE, which can be graphed using gnuplot, Microsoft Excel, or any other program that can graph data from a text file. Example HINT plots can be seen in the HINT Benchmarks of Commodity Systems page. Ames Lab's collection of HINT data can be interactively graphed at the HINT Database Viewer page.

Graphing HINT Results with gnuplot

gnuplot is a freely-available graphing program that can be used on most UNIX systems. If it is available on your system, you can use it to plot the HINT data for QUIPS versus time by using the gnuplot command:

plot "DOUBLE" using 1:2

or to plot QUIPS versus memory size, use the gnuplot command:

plot "DOUBLE" using 5:2

It is useful to use the gnuplot commands set logscale x and set logscale y on HINT graphs for effective comparisons.

Graphing HINT Results with Microsoft Excel

HINT results can be imported into Microsoft Excel as columns of text and the resulting spreadsheet may be used in a chart. With Excel running, import HINT data by selecting Open from the File menu and then change the Files of Type from Microsoft Excel Files to All Files (*.*). Then, use the directory navigation tools to locate your HINT output file (named DOUBLE by default) and use the Open button to open the file. At this point, Excel should recognize that the file is a text file and will present the Text Import Wizard.

The defaults at each point in the Text Import Wizard should suffice to import the HINT data. The Original Data Type can be left at its default of Fixed Width, so click Next. The default column widths in the field widths (column breaks) panel should be OK, so click Next. Finally, the General data type should be OK for each of the columns, so click Finish. The HINT data should then appear in your worksheet.

On the left side of the sheet, click the 1 in the box to select the whole first row. Select Rows from the Insert menu to insert a blank row at the top of the sheet. Enter the words Time, QUIPS, Quality, Subintervals, and Size in cells A1 through F1 to title each column.

Now, create a graph of the data. Select Chart - On This Sheet from the Insert menu. At the point where you would like to place the graph in the spreadsheet, hold the mouse button down and move the mouse to make the rectangle the size of the graph that you would like. Then, the Chart Wizard window will appear.

In the Chart Wizard's first step, select the Time and QUIPS columns (columns A and B) as the range to graph (don't include the Time and QUIPS labels at the top of the columns in the range). In the next step, select XY (Scatter) as the plot type. In the third step, select 2 (lines with points) as the format. At the fourth step, make sure the Data Series is in Columns, the First 1 Column(s) are used for X Data, and the First 0 Row(s) are used for Legend Text. The sample graph shown will look kind of funny at this point with nearly all the points bunched up against the left side of the graph - this is OK and will be taken care of later. Go on to the fifth step and enter a title for this graph, then enter Time (Seconds) for the Axis Title: Category X and enter QUIPS for the Axis Title: Category Y. Finally, click Finish and your graph will appear.

Double-click on the graph to edit it. Click on the X axis (the bottom edge of the graph), click the right mouse button to bring up the pop-up editing menu, and select Format Axis... from the menu. Click the Scale tab and click the Logarithmic Scale button. You will also have to adjust the Value (Y) Axis Crosses At field (to the smallest X value on the graph) using this pane to get the Y Axis to stay at the left edge of the graph. Click OK to finish formatting.

If you also want the Y axis to be scaled logarithmically, click on the Y axis (the left edge of the graph), click the right mouse button to bring up the pop-up editing menu, and select Format Axis... from the menu. Click the Scale tab and click the Logarithmic Scale button. To display the Y axis labels in "engineering notation" (ones, thousands, millions, ...), click the Number tab, select Custom category, and select ##0.0E+0 from the Type pane. Click OK to finish formatting.

Now, the markers on the graphed line may be so close together that they obscure the data. To eliminate the markers, click on the graphed line, click the right mouse button to bring up the pop-up editing menu, and select Format Data Series... from the menu. Select the Patterns tab, click the None button in the Markers pane, and click OK.

To change the legend's label for the graphed data, click on the graphed line, click the right mouse button to bring up the pop-up editing menu, and select Format Data Series... from the menu. Select the Name and Values tab, enter a short descriptive legend (such as PPro-200) in the Name field, and click OK.

Now, the Excel graph is basically done. Be sure to use the Save As item in the File to save this worksheet as a Microsoft Excel Workbook so you don't lose your work! You can go on to use the various formatting features and add things to the graph to make it look the way you would like. You may even want to insert another page in the worksheet and move the graph over to that page so that you can easily print the graph by itself.


Questions or comments? Send mail to ghelmer@scl.ameslab.gov
Copyright © 1997, 1998 All Rights Reserved by Scalable Computing Laboratory.
Disclaimer Notice
Maintained by ghelmer / Last updated on 02/18/00