Newsgroups: comp.parallel.pvm
From: Dragan Nedeljkovic <dragan@ipoline.com>
Subject: Re: Help in collecting I/O from child processes
Organization: Microteam Consulting Inc.
Date: 4 Jan 1996 04:40:28 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <4cflns$mls@ipo.ipoline.com>

shaikh@dumbo.cc.utexas.edu (Saghir A. Shaikh) wrote:
>
>
>-
>
>Dear PVM_USERS
>
>I am developing an application with the master slave model. I want to collect 
>the ouput of each child process in order. At present I use 
>
>pvm_setopt(PvmShowTids, -1) to make it send all to the output of the main
>program...Do you have any suggestion reagrding it...if I leave it default every 


 pvm_catchout( FILE* fp ) can be used in parent program to
 collect all <stdout>, <stderr> output from spawned tasks 
 into file <fp>. The output from different tasks is tagged 
 with their TIDs.

-------------------------------------------------------------------
Dragan Nedeljkovic
Microteam Consulting Inc.



