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

Shaun Q shaun at qualheim.org
Wed Mar 8 14:18:21 CST 2006


Went ahead and did this, it works, thanks Rajeev :).  It's weird though, 
we didn't have to do it before I think...

Thanks again!
Shaun

On Wed, 8 Mar 2006, Rajeev Thakur wrote:

> 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