[mpich-discuss] MPI Questions!

Pavan Balaji balaji at mcs.anl.gov
Wed Apr 4 17:00:29 CDT 2012


On 04/04/2012 04:03 PM, Renato Tegon Forti wrote:
> 1)I start my MPI using this command:
>
> mpiexec -f hosts.txt -n 10 process_engine
>
> Have any way to run MPI program detached from terminal, like a daemon? I
> need start my MPI program and close terminal! And MPI program need
> continuously run in background.

Did you try:

nohup mpiexec -f hosts.txt -n 10 process_engine &

> 2)This scenarios introduces a new problem:
>
> I need get all generated information (from master and slaves) and log on
> a centralized log.txt file!

If they all print to stdout, all the output gets tunneled through mpiexec.

  -- Pavan

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


More information about the mpich-discuss mailing list