<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=502370016-13062007><FONT face=Arial
color=#0000ff size=2>If you are running your program in the background as
"mpiexec -n 4 a.out &", then you need to do</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=502370016-13062007><FONT face=Arial
color=#0000ff size=2>"mpiexec -n 4 a.out < /dev/null &"
instead.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=502370016-13062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=502370016-13062007><FONT face=Arial
color=#0000ff size=2>Rajeev</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<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>Christian
Zemlin<BR><B>Sent:</B> Wednesday, June 13, 2007 10:03 AM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [MPICH] stdin problem with
MPICH2-1.0.5p4<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am using MPICH2-1.0.5p4, and one of my programs
produces the following error:</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman"
size=3>lsmpiexec_master (handle_stdin_input 1064): stdin problem; if pgm is
run in <BR>background, redirect from /dev/null<BR>mpiexec_master
(handle_stdin_input 1065): e.g.: mpiexec -n 4 a.out
< <BR>/dev/null &</FONT><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>My program does not take any input form
stdin. Could anybody tell me what this error means?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-- Christian</DIV></FONT>
<DIV><FONT face=Arial size=2> </DIV></BLOCKQUOTE></FONT></BODY></HTML>