[CSC 435] Performance Graph

Andrew Pounds pounds_aj at mercer.edu
Sat Jan 30 20:28:47 EST 2016


So some of you are ready to start making performance graphs.  To give 
you a starting point I created a file on the class webpage in the 
EXAMPLES section.

On cobra or zeus (or any of the lab machines) download the file 
times.dat and perfgraph.  The times file has some timings I did on 
dusty.f with -O3 option and with -O3 and some other code optimization.  
The perfgraph file contains commands for gnuplot. While you could type 
each of these individually into the gnuplot command line, I find it 
easier to create gnuplot script files for things  I do frequently.

Anyway, in the directory where you downloaded the files, type "gnuplot" 
on the command line.  Once you get the gnuplot prompt, type call "perfgraph"

This should run the script and produce graphics on the screen as well as 
two files (one in postscript format and one in png format). After you 
exit gnuplot see if you can display those files (using evince for ps and 
display for png).

Feel free to play around and experiment with the perfgraph script to see 
what things you can change.  You can always download a fresh copy!

We'll talk more about how to use these (and ways to improve them) on 
Tuesday.




More information about the csc435 mailing list