[MPICH] MPICH2 -- stdin error when running in background?

Rajeev Thakur thakur at mcs.anl.gov
Wed Mar 8 14:13:03 CST 2006


If you are running your program in the background, you need to run it as
mpiexec -n 4 a.out < /dev/null &

Rajeev


> -----Original Message-----
> From: owner-mpich-discuss at mcs.anl.gov 
> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Shaun Q
> Sent: Wednesday, March 08, 2006 1:06 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: [MPICH] MPICH2 -- stdin error when running in background?
> 
> Hey there everyone...
> 
> I'm trying to run some code in MPICH2 and I get the following 
> error after 
> submitting the job with mpdboot in the background:
> 
> mpiexec_ct21 (handle_stdin_input 1027): stdin problem; if pgm 
> is run in 
> background, redirect from /dev/null
> 
> Any ideas what might be happening here?
> 
> Thanks!
> Shaun
> 
> 




More information about the mpich-discuss mailing list