Thanks for the reply.<br><br>Here goes a code snippet containing the part that generates the error<br><br>              MPI_Recv(greeting, MAX_STRING, MPI_CHAR, MPI_ANY_SOURCE, MPI_ANY_TAG , MPI_COMM_WORLD, &status);       <br>
         <br>//These are fine<br>              printf("\nSource of this message is process: %d\n", status.MPI_SOURCE);<br>
              printf("Tag of this message is: %d\n", status.MPI_TAG);<br><br>//This is the problem. Not quite sure if correct though.<br>              MPI_Error_string( status.MPI_ERROR , mystring , &len );<br>
              printf("Tag of this message is: %d %s\n", status.MPI_ERROR , mystring );<br>
<br>//These are fine too<br>              MPI_Get_count(&status , MPI_CHAR , &count);<br>              printf("Size of this message is: %d MPI_CHAR", count);<br><br>Alejandro<br><br><br><div class="gmail_quote">
On Tue, Oct 9, 2012 at 3:38 PM, Dave Goodell <span dir="ltr"><<a href="mailto:goodell@mcs.anl.gov" target="_blank">goodell@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you post some example code showing how you are calling MPI_Recv and how you are processing the error code/class/message?  It's easy to get confused by the error handling conventions of the MPI standard, and this sounds like either user error or memory corruption, depending on what code you post.<br>


<br>
-Dave<br>
<div><div><br>
On Oct 9, 2012, at 11:55 AM CDT, Alejandro Allievi wrote:<br>
<br>
> Hi,<br>
><br>
> I'm getting the following error: "No MPI error, error stack: (unknown)(): No MPI error"<br>
> returned by "status.MPI_ERROR" in "status" variable  in MPI_Recv. However, there seems<br>
> to be no error. Does anybody know why the "error stack: (unknown)(): No MPI error"<br>
><br>
> Thanks for any help.<br>
><br>
> Alejandro<br>
</div></div>> _______________________________________________<br>
> mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
> To manage subscription options or unsubscribe:<br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
_______________________________________________<br>
mpich-discuss mailing list     <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div><font color="#006600" face="comic sans ms,sans-serif" size="1">Alejandro Allievi</font></div><div><a href="http://www.ace-net.ca/wiki/Alejandro_Allievi" rel="nofollow" target="_blank"><font face="comic sans ms,sans-serif" size="1">http://www.ace-net.ca/wiki/Alejandro_Allievi</font></a><font face="comic sans ms,sans-serif" size="1">   </font></div>

<div><font face="comic sans ms,sans-serif" size="1"> </font></div><div><font color="#006600" face="comic sans ms,sans-serif" size="1">"Tenez, mon ami, si vous y pensez bien, vous trouverez qu'en tout, notre véritable sentiment n'est pas celui dans lequel nous n'avons jamais vacillé; mais celui auquel nous sommes le plus habituellement revenus". Denis Diderot. </font></div>

<div><font color="#006600" face="comic sans ms,sans-serif" size="1"> </font></div><div><font color="#006600" face="comic sans ms,sans-serif" size="1">Este e-mail esta consignado sólo para el destinatario designado en el mismo y puede contener información confidencial y privilegiada. Su distribución o copiado está prohibido. Si Usted no fuera el destinatario designado, por favor notifíquenos de inmediato y destruya este e-mail en forma permanente así como todas las copias del mismo. <u>Ce courriel peut renfermer des renseignements confidentiels et privilégiés et s'adresse au destinataire désigné seulement. La distribution ou la copie de ce courriel est interdit. Si vous n'êtes pas le destinataire désigné, veuillez nous en aviser immédiatement et détruire de façon permanente ce courriel ainsi que toute copie de celui-ci</u>. This e-mail may contain confidential information, and is intended only for the named recipient and may be privileged. Distribution or copying of this email is prohibited. If you are not the named recipient, please notify us immediately and permanently destroy this email and all copies of it.</font></div>

<br>