The header of Raw trace file

You already have trace files of the MILC code according to a benchmark using the run_trace. But you do not draw timing graphs by FLTV from these trace files. The reason is a header problem of trace file by run_trace. You find out to distinguish your file and the sample file.

The ordinaly header of trace files generated by Fermil Linux TRACE is as follows (actually, column space is difference):

[TRACE header]
 count timeStamp PID TID TraceName CPU lvl cyc le PMC0 PMC1 mSt message 
--------------------------------------------------------------------------------

[TRACE header for FLTV]
#
# node_name: qcd0905
# CPU_mhz: 1194.687
#
In FLTV, it needs the node name and clock frequency of the CPU, then it parses these information by Parser and stores them in an Object.

So why FLTV did not draw graphs from ordinaly TRACE files althogh it parsed them without problems? The cause is clock synchronization among TRACE files. As you know, TRACE uses own clock cycles of CPU. It means that FLTV does not use Global time like a MPICH. Therefore, we have to make a synchronization between TRACE files. The value of CPU_mhz: is employed in the synchronization.

That is, when you get TRACE files, you have to edit by yourself. I want to modify the Fermi Linux TRACE in part of the header, but not time... sorry.

[back]

mats@fnal.gov