Newsgroups: comp.parallel.pvm
From: Ingo Reise <reise@informatik.uni-wuerzburg.de>
Subject: Re: PRINTF ???
Organization: Universitaet Wuerzburg, Lehrstuhl fuer Informatik II
Date: Thu, 07 Mar 1996 13:16:30 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <313ED39E.41C6@informatik.uni-wuerzburg.de>

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

