[mpich-discuss] Adding printf statements in MPI source code for tracing

Huiwei Lu huiweilu at mcs.anl.gov
Mon Mar 23 08:36:40 CDT 2015


You can turn on event logging in MPICH so you can get a detailed log of how
MPI is executed. https://wiki.mpich.org/mpich/index.php/Event_Logging

Of course, you can add printf anywhere in the source code, too.

--
Huiwei

On Mon, Mar 23, 2015 at 6:27 AM, Nikhil Sambhus <nikhilsambhus at gmail.com>
wrote:

> Hello,
> I am currently learning MPI source code. I would like to add a few printf
> statements in the source code. Could anyone let me know how to go about
> with it?
>
> --
> Regards,
> Nikhil Sambhus,
> B Tech Computer Engineering,
> COEP.
>
> *"To bug is human, to debug is divine"*
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150323/be77f1fd/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list