<html><body bgcolor="#FFFFFF"><div>Asked and answered already on MPI forum discuss list. Read those responses instead of reporting. </div><div><br>On Jun 6, 2012, at 4:04 PM, Jed Brown <<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div><div class="gmail_quote">On Sat, Jun 2, 2012 at 11:33 PM, ÄþÄþ ¶­ <span dir="ltr"><<a href="mailto:dncdd@yahoo.com.cn" target="_blank"><a href="mailto:dncdd@yahoo.com.cn">dncdd@yahoo.com.cn</a></a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">Anyone can tell me what is the meaning of those hex values? and why does the author use them?<br>
why do they define "MPI_CHAR" as ((MPI_Datatype)0x4c000101) instead of "char"?<br></div></div></blockquote><div><br></div><div>MPI_CHAR is a constant value, not a type. You should not care what the numeric value is (and your code definitely should not depend on it).</div>

<div><br></div><div>MPI_Datatype is a type (like "char" is a type), but it is different for different MPI implementations. Again, your code should not assume anything about this type.</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov"><a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a></a></span><br>
<span>To manage subscription options or unsubscribe:</span><br><span><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a></span><br></div></blockquote>
</body></html>