[mpich-discuss] HYDRA and kill process

Pavan Balaji balaji at mcs.anl.gov
Mon Mar 28 11:46:14 CDT 2011


Hi Torquil,

On 03/28/2011 11:32 AM, Torquil Macdonald Sørensen wrote:
> But let me if I understood you correctly before I go to the trouble of building
> another mpich2 and/or hydra: You are saying that I should be able to run (with
> four procs on each host)
>
> mpirun -n 8 nice prog.exe
>
> and it should work properly just as would
>
> mpirun -n 8 prog.exe
>
> I.e, there should not be any trouble with communication between processes on
> different hosts even if I include the "nice" command? It should be possible in
> both cases to stop all processes by hitting CRTL-c on the host at which the
> mpirun command was run?

Correct. I tried this out on our machines here and it works perfectly 
for me.

> If that's your claim, I can try it again using the latest nightly tarball of
> mpich2 and hydra. At the moment I am lowering processes priorities internally in
> the program, i.e. using setpriority() in my C++ code. So I don't really need the
> "nice" command, but I can test it, if it is supposed to work.

Good to know. But if there is a problem here, I'd still like to fix it 
instead of expecting the users to workaround it.

  -- Pavan

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


More information about the mpich-discuss mailing list