[mpich-discuss] MPE and tracing
Georges Markomanolis
george at markomanolis.com
Tue Jun 15 10:19:25 CDT 2010
Dear Anthony,
thanks a lot for your answer, this is what I wanted.
Best regards,
Georges
Anthony Chan wrote:
> ----- "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
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>
More information about the mpich-discuss
mailing list