<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=619234117-01072009><FONT color=#0000ff
size=2 face=Arial>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=619234117-01072009><FONT color=#0000ff
size=2 face=Arial> <FONT face="Times New Roman"><FONT color=#000000
size=3>"signal 11 (Segmentation fault) " . Check the memory accesses in your
program. I would suggest reading through the code carefully and using compiler
options (like bound checking) to find out the bug. This does not look like an
MPICH2 bug (After debugging your code thoroughly if you find that it is indeed
an MPICH2 bug please provide us more details).</FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=619234117-01072009></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=619234117-01072009><FONT color=#0000ff
size=2 face=Arial>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=619234117-01072009><FONT color=#0000ff
size=2 face=Arial>Jayesh</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> xiao zhang [mailto:littledddna@gmail.com]
<BR><B>Sent:</B> Wednesday, July 01, 2009 12:11 PM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> Re: [mpich-discuss] Error<BR></FONT><BR></DIV>
<DIV></DIV><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif">Thank you very
much for your reply, </SPAN><FONT
style="FONT-FAMILY: arial,helvetica,sans-serif" color=#0000ff size=2
face=Arial><SPAN><FONT color=#000000>Jayesh</FONT></SPAN></FONT>.<BR>Actually,
when I run it with very small array, it also gave me error like the
following:<BR><BR><BR>[cli_36]: aborting job:<BR>Fatal error in MPI_Wait:
Internal MPI error!, error stack:<BR>MPI_Wait(140): MPI_Wait(request=0xe4e7460,
status0x872cc6c) failed<BR>(unknown)(): Internal MPI error!<BR>mpiexec: Warning:
tasks 0-1,3-6,8-9,12,14,16-20,22,24,26-28,32-35,37-39 died with signal 15
(Terminated).<BR>mpiexec: Warning: tasks 2,7,10-11,13,15,21,23,25,29-31 died
with signal 11 (Segmentation fault).<BR>mpiexec: Warning: task 36 exited with
status 1.<BR><BR><BR>And I am totally
lost......<BR><BR>
Xiao<BR><BR><BR><BR><BR><BR><BR><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><BR><BR><BR>
<DIV class=gmail_quote>On Wed, Jul 1, 2009 at 12:00 PM, Jayesh Krishna <SPAN
dir=ltr><<A
href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN> <FONT color=#000000 size=3 face="Times New Roman">
"Subscript out of range for array itab_w
(/rstor/xzhang/olam/3.0/modules/mem_sflux.f90: 270) " Are you accessing an
array element which is out of range (Most of the fortran compilers allow you
to check "array and string bounds")?</FONT></SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN><FONT color=#000000 size=3
face="Times New Roman"></FONT></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN><FONT color=#000000 size=3
face="Times New Roman">Regards,</FONT></SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN><FONT color=#000000 size=3
face="Times New Roman">Jayesh</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><BR></DIV><BR>
<DIV dir=ltr lang=en-us align=left>
<HR>
<FONT size=2 face=Tahoma><B>From:</B> <A
href="mailto:mpich-discuss-bounces@mcs.anl.gov"
target=_blank>mpich-discuss-bounces@mcs.anl.gov</A> [mailto:<A
href="mailto:mpich-discuss-bounces@mcs.anl.gov"
target=_blank>mpich-discuss-bounces@mcs.anl.gov</A>] <B>On Behalf Of </B><A
href="mailto:littledddna@gmail.com"
target=_blank>littledddna@gmail.com</A><BR><B>Sent:</B> Wednesday, July 01,
2009 9:58 AM<BR><B>To:</B> <A href="mailto:mpich-discuss@mcs.anl.gov"
target=_blank>mpich-discuss@mcs.anl.gov</A><BR><B>Subject:</B> [mpich-discuss]
Error<BR></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV></DIV>HI~ everyone ~ I met this error when I use MPICH version2
<BR><BR>The error is like:<BR><BR>Fatal error in MPI_Send: Other MPI error,
error stack:<BR>MPI_Send(173)...............................:
MPI_Send(buf=0x8a550d0, count=2, MPI_INTEGER, dest=10, tag=10, MPI_COMM_WORLD)
failed<BR>MPIDI_CH3_Progress_wait(212)................: an error occurred
while handling an event returned by
MPIDU_Sock_Wait()<BR>MPIDI_CH3I_Progress_handle_sock_event(772)..:<BR>MPIDI_CH3_Sockconn_handle_connect_event(589):
[ch3:sock] failed to connnect to remote
process<BR>MPIDU_Socki_handle_connect(791).............: connection failure
(set=0,sock=1,errno=111:Connection refused)<BR>0: Subscript out of range for
array itab_w (/rstor/xzhang/olam/3.0/modules/mem_sflux.f90:
270)<BR>subscript=-1, lower bound=1, upper bound=7887,
dimension=1<BR>[cli_23]: aborting job:<BR>Fatal error in MPI_Send: Other MPI
error, error stack:<BR>MPI_Send(173)...............................:
MPI_Send(buf=0x8a550d0, count=2, MPI_INTEGER, dest=26, tag=10, MPI_COMM_WORLD)
failed<BR>MPIDI_CH3_Progress_wait(212)................: an error occurred
while handling an event returned by
MPIDU_Sock_Wait()<BR>MPIDI_CH3I_Progress_handle_sock_event(772)..:<BR>MPIDI_CH3_Sockconn_handle_connect_event(589):
[ch3:sock] failed to connnect to remote
process<BR>MPIDU_Socki_handle_connect(791).............: connection failure
(set=0,sock=4,errno=111:Connection refused)<BR>0: Subscript out of range for
array itab_w (/rstor/xzhang/olam/3.0/modules/mem_sflux.f90:
270)<BR>subscript=-1, lower bound=1, upper bound=7689,
dimension=1<BR>[cli_27]: aborting job:<BR><BR><BR>What does this error mean? I
totally got no clues....<BR>Thank you very
much</DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>