Newsgroups: comp.parallel.pvm
From: rbarrett@ranger.lanl.gov (Richard Barrett)
Subject: Re: PRINTF ???
Organization: Los Alamos National Laboratory
Date: 8 Mar 1996 17:08:41 GMT
Message-ID: <4hppip$1hg@newshost.lanl.gov>

Just want to make sure this response is corrected. pvm_catchout will redirect
child task output to the parent. But beware that ordering is in now way
assured.

Richard

In article <313ED39E.41C6@informatik.uni-wuerzburg.de>, Ingo Reise <reise@informatik.uni-wuerzburg.de> writes:
|> LOPEZ wrote:
|> > 
|> > Why only the printf of the root task works and not the spwaned task?
|> > Normaly the children must to print to the same output that the root
|> > task,not ?
|> 
|> No, child-printf goes not to the same output as root-printf!
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


|> You'll find the output of the childs in /tmp/pvml.<uid>
|> There's no easy way to get the child-output to the root-output.
|> 
|> One way to get the output is an extra xterm like this:
|> xterm -e tail -f /tmp/pvml.<uid>
|> Each printf to stdout should be followed by an fflush(stdout) to get
|> the results immediately.
|> 
|> Hope this helps
|> 
|> (Replace <uid> by your User-Id. Ask id if unknown.)
|> 
|> Ingo Reise
|> 
|> -- 
|> 
|> 
|>                      __o           
|>                      \<,           
|> ___________________()/ ()______________________________________________________
|> Ingo Reise                                      
|> Robert-Kirchhoff-Strasse 55    Lehrstuhl fuer Informatik II
|> 97076 Wuerzburg                Universitaet Wuerzburg
|> Tel. 0931/273597               e-mail: reise@informatik.uni-wuerzburg.de

