[mpich-discuss] source code query
Huiwei Lu
huiweilu at mcs.anl.gov
Sat Sep 14 19:39:10 CDT 2013
Hi, Volkan,
What version are you looking at? If there is no specific reason, we would
recommend you to use the newest mpich-3.0.4 which can be downloaded from
http://www.mpich.org/downloads/
The following are some documents to help you understand the function
MPIR_Err_create_code. Basically what this function does is to return a
error code when you do something wrong in MPI_ calls.
http://wiki.mpich.org/mpich/index.php/Coding_Standards#Returning_Error_Codes
http://wiki.mpich.org/mpich/index.php/Reporting_And_Returning_Error_Codes
http://wiki.mpich.org/mpich/index.php/Adding_New_Error_Messages
To help you improve your code reading skills to solve future problems like
this one. I would like to share with you one of my favorite books: Code
Reading: The Open Source Perspective. http://www.spinellis.gr/codereading/
Best,
Huiwei Lu
http://www.mcs.anl.gov/~huiweilu/
On Fri, Sep 13, 2013 at 3:48 AM, 陈涛 <volkanchen at gmail.com> wrote:
> To whom it may concern,
>
> I am trying to analyzing the source code of MPICH2. Currently I am
> studying the function MPI_Send(const void *buf, int count, MPI_Datatype
> datatype, int dest, int tag,MPI_Comm comm) in the file send.c. But it
> involves a commonly function MPIR_Err_create_code. It is really beyond my
> ability to understand this one and it drives me crazy. Could you help me
> with that or recommend me some materials analyzing that?
>
> Looking forward to your early reply.
>
> Kind regards!
>
> Volkan
> 2013-09-13
>
> 你好!
> 我正分析MPICH2的源代码。目前在看send.c文件中的函数MPI_Send(const void *buf, int count,
> MPI_Datatype datatype, int dest, int tag,MPI_Comm comm)
> 。其中涉及一个常用的函数MPIR_Err_create_code。我真的是搞不清楚它的作用是什么。请问高手能不能帮我分析一下或推荐相关的资料!不胜感激!
> 祝好!
>
> _______________________________________________
> 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/20130914/b362b456/attachment.html>
More information about the discuss
mailing list