[MPICH] stdin problem with MPICH2-1.0.5p4

Rajeev Thakur thakur at mcs.anl.gov
Wed Jun 13 11:01:46 CDT 2007


If you are running your program in the background as "mpiexec -n 4 a.out &",
then you need to do
"mpiexec -n 4 a.out < /dev/null &" instead.
 
Rajeev


  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Christian Zemlin
Sent: Wednesday, June 13, 2007 10:03 AM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] stdin problem with MPICH2-1.0.5p4


Hello,
 
I am using MPICH2-1.0.5p4, and one of my programs produces the following
error:
 
lsmpiexec_master (handle_stdin_input 1064): stdin problem; if pgm is run in 
background, redirect from /dev/null
mpiexec_master (handle_stdin_input 1065):     e.g.: mpiexec -n 4 a.out < 
/dev/null &

My program does not take any input form stdin.  Could anybody tell me what
this error means?
 
-- Christian
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070613/8f2b5eae/attachment.htm>


More information about the mpich-discuss mailing list