[Dune] Sequential Streams for Console Output of Parallell Programs

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Fri Apr 12 07:12:45 CEST 2013


Hi Jayesh,
have a look at
  dune-common/dune/common/parallel/test/indicestest.cc
where we use our MPI helper. In the main function of
the test, we use

  [we set rank]
  if(rank==0)
    std::cout<<std::endl<<"Redistributing bla!"<<std::endl<<std::endl;

which should be enough in your case, too.

Bye
Christoph

-- 
[..] we shall send to the moon, 240,000 miles away from the control
station in Houston, a giant rocket [..] and then return it safely to
earth, re-entering the atmosphere at speeds of over 25,000 miles per
hour, causing heat about half that of the temperature of the sun,
almost as hot as it is here today, [..] then we must be bold.
[John F. Kennedy Moon Speech - September 12, 1962 - Rice Stadium]




More information about the Dune mailing list