[mvapich-discuss] Buffering of STDOUT with MVAPICH.

Pavel Shamis (Pasha) pasha at mellanox.co.il
Sun Aug 20 03:47:48 EDT 2006


I think the mpiexec have some stdout redirections. Try to run the code 
with mpirun_rsh.

Peter Diener wrote:
> Hi,
> 
> I'm trying to debug a parallel code the old fashioned way by inserting
> print statements. However, it seems that STDOUT are buffered by MPI on all
> processors except processor 0. This happens even though we have a command
> line option to do unbuffered or line buffered output from the code. This
> makes it hard to figure out when and on which processor the problem 
> occurs.
> 
> Is it true that MVAPICH does this kind of buffering? And if so, is there a 
> way to turn it off?
> 
> I'm using MVAPICH version 0.9.8 on an opteron cluster with infiniband 
> interconnect.
> 
> The code is started with mpiexec.
> 
> Cheers,
> 
>   Peter
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at mail.cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
> 


-- 
Pavel Shamis (Pasha)
Software Engineer
Mellanox Technologies LTD.
pasha at mellanox.co.il


More information about the mvapich-discuss mailing list