[mpich-discuss] MPE and tracing
Anthony Chan
chan at mcs.anl.gov
Tue Jun 15 10:11:13 CDT 2010
----- "Georges Markomanolis" <georges.markomanolis at ens-lyon.fr> wrote:
> I would like to ask you something about MPE. During tracing, the
> output
> is to standard output. Is there any way for writing one file per
> process
> which will include the traces that belong only to this process?
You could modify mpe2/src/wrappers/src/trace_mpi_core.c to have
it print to a file instead of stdout. Just need to open
a file in MPI_Init() with a name that is prefixed with rank ID,
and writes to this file in the macro TRACE_PRINTF. Then close
the file in MPI_Finalize().
A.Chan
More information about the mpich-discuss
mailing list