[mpich-discuss] mpiexec (hydra) can't run in the background

Pavan Balaji balaji at mcs.anl.gov
Fri Oct 29 12:46:11 CDT 2010


Thanks for the report. I can reproduce this problem. I've reopened the 
ticket and will look into it. For the time being, please continue to 
redirect /dev/null to stdin as a workaround.

  -- Pavan

On 10/29/2010 09:51 AM, Manhui Wang wrote:
> Hello,
>
> I have seen a problem with mpiexec when running a simple hello_world
> (see attached hello_world_wait.c) program in the background. The
> background job stops after typing any command:
> ~/testprogram>  mpicc hello_world_wait.c -o hello
> ~/testprogram>  mpiexec -np 2 ./hello>output.log&
> [1] 19958
> ~/testprogram>  echo hello
> hello
>
> [1]+  Stopped                 mpiexec -np 2 ./hello>  output.log
>
>
> It works fine if I run it with</dev/null
>
> mpiexec -np 2 ./hello>output.log</dev/null&
>
>
> I am using the latest version (MPICH2 1.3), and the hydra is the default
> process manage. The problem can be reproduce with mpiexec.hydra for
> mpich2 1.2.1p1.
>
> I saw there was a bug report about this
> http://trac.mcs.anl.gov/projects/mpich2/ticket/1029
> ,but now it has been closed/fixed.
>
> Any help would be appreciated.
>
> Thanks,
> Manhui
>
>
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list