[mpich2-dev] hydra: redirecting stdout/err

Pavan Balaji balaji at mcs.anl.gov
Fri Oct 29 00:59:35 CDT 2010


Are you trying to send stdout to a separate file from stderr? You can do 
that using:

% mpiexec -f hosts -n 4 ./foo > out 2> err

  -- Pavan

On 10/28/2010 04:10 PM, Peter Johnson wrote:
> Hi --
>
> I'd find it really useful to be able to separately redirect stdout and stderr
> for each process spawned by Hydra.  The wiki claims this is possible [1], and
> it appears support therefor was been committed to a developer branch a couple
> years ago [2], but the code doesn't seem to have made it to the 1.3 trunk.
> Any ideas why it's missing?  Google couldn't find for me any discussion on the
> topic.  Thanks.
>
> pete
>
>
> [1] http://wiki.mcs.anl.gov/mpich2/index.php/Hydra_Output_Redirection
>
> [2] http://trac.mcs.anl.gov/projects/mpich2/changeset/4785
>

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


More information about the mpich2-dev mailing list