Newsgroups: comp.parallel.pvm
From: "D. Jain" <D.Jain@ncl.ac.uk>
Subject: Re: "How can a slave program to write in screen?
Organization: University of Newcastle upon Tyne, UK
Date: 29 Jun 1995 11:26:59 GMT
Message-ID: <3su2m3$9pc@whitbeck.ncl.ac.uk>

In article <3s2nub$gh7@nuscc.nus.sg>, edward@aba.nsrc.nus.sg (Edward Walker) writes:
|> Philip Papadopoulos (papadopo@cs.utk.edu) wrote:
|> : In article <3rn7qk$kv9@news.etse.urv.es> oriol <oriol@quimica.urv.es> writes:
|> : >Hello from Spain,
|> : >
|> : > I'd like to know a form in which  a slave program could write 
|> : >in screen. Currently only is able to do it the master.
|> : >
|> : >Any help will be welcome.
|> : Before you spawn your slave programs call
|> :      pvm_catchout(stdout);
|> : This will take the output of your slave programs and have them
|> : displayed on the masters screen. Alternatively, in the pvm console
|> 
|> Yes.  But how does one do this in a Fortran program?

     Fortran:                                           
     CALL PVMFCATCHOUT (onoff)                               

     onoff                                                       
          Integer parameter.  In Fortran, output collection is turned on or
          off and is logged to stdout of the parent task.          


     Fortran example:                                       

          CALL PVMFCATCHOUT (1)       


Cheers
Deepak
-- 
=================== s.i.g.n.a.t.u.r.e =====================
== DEEPAK JAIN = IRC Nick: Toon = d.jain@newcastle.ac.uk ==
= WWW address:http://www.ncl.ac.uk/~n04ck = (0191)2227360 =
== Physics Department, Univ. of Newcastle upon Tyne, UK  ==
===========================================================

