[mpich-discuss] source code query

Rayson Ho raysonlogin at gmail.com
Sat Sep 14 21:42:56 CDT 2013


Hi Volkan,

The header file has documentation on MPIR_Err_create_code:

https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/src/include/mpierror.h

Rayson

==================================================
Open Grid Scheduler - The Official Open Source Grid Engine
http://gridscheduler.sourceforge.net/
http://gridscheduler.sourceforge.net/GridEngine/GridEngineCloud.html



On Sat, Sep 14, 2013 at 8:39 PM, Huiwei Lu <huiweilu at mcs.anl.gov> wrote:
> 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
>
>
>
> _______________________________________________
> 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