[mvapich-discuss] stdout redirection

Jonathan Perkins perkinjo at cse.ohio-state.edu
Fri Feb 20 16:16:00 EST 2015


On Fri, Feb 20, 2015 at 06:05:18PM +0000, wypier dalacz wrote:
>  Hello,I have been using mvapich2 for a while to run my application on
>  a Linux cluster. The application generates some text which is useful
>  for debugging. When I trying to run it on a large number of cores
>  this information becomes useless. Is there any way to redirect stdout
>  to separate files associated with ranks of processes? I am using
>  mpirun_rsh.Thanks

Thanks for your note.  One member of our team suggested the following:

    mpirun_rsh ... sh -c '~/a.out > $MV2_COMM_WORLD_RANK.out'

-- 
Jonathan Perkins


More information about the mvapich-discuss mailing list