<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><P>Hi</P>
<P>&nbsp;</P>
<P>The MPI program is too big to be sent. Here is what I got from the debugger</P>
<P>&nbsp;</P>
<P>Before calling PMPI_ISEND:</P>
<P>Symbol Value Type</P>
<P>&nbsp;&nbsp;buf(1)&nbsp;3&nbsp;INTEGER(4) <BR>&nbsp;&nbsp;cnt&nbsp;1&nbsp;INTEGER(4) <BR>&nbsp;&nbsp;datatype&nbsp;1275069467&nbsp;INTEGER(4) <BR>&nbsp;&nbsp;dest&nbsp;0&nbsp;INTEGER(4) <BR>&nbsp;&nbsp;tag&nbsp;24&nbsp;INTEGER(4) <BR>&nbsp;&nbsp;comm&nbsp;1140850688&nbsp;INTEGER(4) <BR>&nbsp;&nbsp;reqs(1)&nbsp;1243468&nbsp;INTEGER(4) <BR>&nbsp;&nbsp;ierr&nbsp;0&nbsp;INTEGER(4)</P>
<P>&nbsp;</P>
<P>call PMPI_ISEND(buf,cnt,datatype,dest,tag,comm,reqs(1),ierr)<BR></P>
<P>Unhandled exception at 0x003b41c9 in EXEC.exe:0xC0000005:<BR>Access violation writing location 0x00000000</P>
<P>&nbsp;</P>
<P>After the break at the crash, all the arguments becomes "undefined address". </P>
<P>&nbsp;</P>
<P>When I check the library, I got</P>
<P>$ nm fmpich2s.lib | grep MPI_SEND@<BR>00000000 T <A href="mailto:_MPI_SEND@28"><FONT color=#0000ff>_MPI_SEND@28</FONT></A><BR>00000000 I <A href="mailto:__imp__MPI_SEND@28"><FONT color=#0000ff>__imp__MPI_SEND@28</FONT></A><BR>00000000 T <A href="mailto:_MPI_SEND@32"><FONT color=#0000ff>_MPI_SEND@32</FONT></A><BR>00000000 I <A href="mailto:__imp__MPI_SEND@32"><FONT color=#0000ff>__imp__MPI_SEND@32</FONT></A><BR>00000000 T <A href="mailto:_PMPI_SEND@28"><FONT color=#0000ff>_PMPI_SEND@28</FONT></A><BR>00000000 I <A href="mailto:__imp__PMPI_SEND@28"><FONT color=#0000ff>__imp__PMPI_SEND@28</FONT></A><BR>00000000 T <A href="mailto:_PMPI_SEND@32"><FONT color=#0000ff>_PMPI_SEND@32</FONT></A><BR>00000000 I <A href="mailto:__imp__PMPI_SEND@32"><FONT color=#0000ff>__imp__PMPI_SEND@32</FONT></A><BR></P>
<P>I am wondering why there are two definitions:&nbsp; <FONT color=#0000ff><A href="mailto:_MPI_SEND@28">_MPI_SEND@28</A></FONT>&nbsp;and <A href="mailto:_MPI_SEND@32"><FONT color=#0000ff>_MPI_SEND@32</FONT></A>.&nbsp; And I could not find corresponding source code for <A href="mailto:_MPI_SEND@32"><FONT color=#0000ff>_MPI_SEND@32</FONT></A>. Any comments? Thanks.<BR></P>
<P>Linfa<BR></P>
<P><BR>&nbsp;</P>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Jayesh Krishna &lt;jayesh@mcs.anl.gov&gt;<BR>To: trymelz trymelz &lt;trymelz@yahoo.com&gt;<BR>Cc: mpich-discuss@mcs.anl.gov<BR>Sent: Wednesday, March 19, 2008 2:32:59 PM<BR>Subject: RE: [mpich-discuss] exit code -1073741819<BR><BR>
<STYLE type=text/css>DIV {
MARGIN:0px;}
</STYLE>

<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN class=690482719-19032008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN class=690482719-19032008>&nbsp;Can you send us your MPI program ?</SPAN></FONT></DIV>
<DIV><SPAN class=690482719-19032008><FONT face=Arial color=#0000ff size=2>&nbsp;You can also try to debug your program by setting the error handler to MPI_ERRORS_RETURN (MPI_Comm_set_errhandler() )&nbsp;&amp; using MPI_Error_string() to get the description of the error code.</FONT></SPAN></DIV>
<DIV><SPAN class=690482719-19032008><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=690482719-19032008><FONT face=Arial color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=690482719-19032008><FONT face=Arial color=#0000ff size=2>Jayesh</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov [mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>trymelz trymelz<BR><B>Sent:</B> Wednesday, March 19, 2008 2:11 PM<BR><B>To:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] exit code -1073741819<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I got an strange error when I run my parallel program.</DIV>
<DIV>&nbsp;</DIV>
<DIV>job aborted:<BR>rank: node: exit code[: error message]<BR>0: abyss: -1073741819: process 0 exited without calling finalize<BR>1: abyss: -1073741819: process 1 exited without calling finalize<BR>2: abyss: -1073741819: process 2 exited without calling finalize</DIV>
<DIV>&nbsp;</DIV>
<DIV>My program works as expected under Linux. But when I porting it to windows I got above error. It is compiled by VC8 and Intel FORTRAN 10.0.</DIV>
<DIV>I didn't built my own MPICH2, but link my program with fmpich2s.lib and mpi.lib which were installed from mpich2-1.0.6p1-win32-ia32.msi.</DIV>
<DIV>&nbsp;</DIV>
<DIV>This error happened inside the call to MPI_SEND. Does anyone have an idea about this error?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Linfa</DIV></DIV><BR>
<HR SIZE=1>
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. <A href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ" target=_blank rel=nofollow>Try it now.</A></DIV><BR></DIV></div><br>
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a></body></html>