[mpich-discuss] convert clog2 file readable log file

chan at mcs.anl.gov chan at mcs.anl.gov
Mon Jan 25 09:25:01 CST 2010


----- "Pawan Acharya" <pawn.07 at gmail.com> wrote:

> I am looking for a way to get the trace file which contains
> information:
> • Process identifier
> • Timestamp
> • Record type, or operation (send/receive)
> • Identifier of the “other” party (destination for a send, source for
>   a receive)
> • A message tag
> • Message size
> out of the clog file generated while enabling mpilog. Is there anyway
> to modify the way the trace file is generated in this case a simple
> one I mentioned above, since I saw lot of other information in the
> ASCII format while viewing clog file using clog2print.

If you consider MPI rank ID as process identifier, clog2 file or slog2
generated from clog2 may be what you are looking for.  If you have
difficulty in understand clog2 format, you may want to read the clog2
READ API's java source code. You can find the code in the directory:

mpe2/src/slog2sdk/src/logformat/clog2

Reading the self-contained java code is the simplest/easiest way to
understand clog2 format. clog2print is compiled from Print.java.

A.Chan


A.Chan


More information about the mpich-discuss mailing list