LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Kamaraju Kusumanchi (kamaraju_at_[hidden])
Date: 2005-05-22 09:14:17


On 5/21/05, Angel Tsankov <fn42551_at_[hidden]> wrote:
> How can I print synchronized messages to std::cout, i.e. I want processes to
> print smth in increasing order of their ranks.
>
>

I dont know the solution in lam-mpi. But in mpich, you can use -l
option to mpiexec which prints the number of processor in front of
each line. Then you can use standard unix utility like sort to sort
the output.

raju

-- 
http://groups-beta.google.com/group/mpich