Newsgroups: comp.parallel.pvm
From: nsrcchk@leonis.nus.sg (Heng Kek)
Subject: Re: problems getting stdout from spawned tasks
Organization: National University of Singapore
Date: 26 Oct 1994 03:44:01 GMT
Message-ID: <38kja1$oaa@nuscc.nus.sg>

Gareth Evans# (gme@cpcw7.uea.ac.uk) wrote:

: I'm having trouble getting the stdout of a number of slave processes
: spawned by a master.

: There is nothing in /tmp/pvml.<UID> and I tried a pvm_catchout( stdout ) but
: still nothing.

I've had the same problems.  i.e. printf() statments in spawned
slave processes produce nothing in /tmp/pvml.xxx.  But when I
switched to 'fprintf(stderr,...)' then the stuff appears in the log
file.  This is for pvm3.2.6.  I don't know if the same situation
persists in pvm3.3

Would be grateful if an explanation can be posted here.

: The slave processes themselves spawn another process and the stdout
: of these `grandchild' processes can be obtained without any problems. Could
: it be that the grandchild processes are in some way interfering with the 
: stdout collection of the slaves?

Choo, Heng Kek

