Newsgroups: comp.parallel.pvm
From: bijal@nuc.berkeley.edu (Bijal C. Modi)
Subject: Re: Input files, using XPVM
Organization: University of California
Date: 14 Mar 1995 12:10:47 GMT

Per-AAke Malmquist <teopam@garm.teokem.lu.se> wrote:
>The other day, I asked for advice on how to connect input
>to jobs spawned from the XPVM GUI. Judging from the answers
 :
>However: There are a few million (at least) PVM jobs that have been
>run to date. Many of them require human input, and some of these
>must have been run under XPVM. So there must be SOME natural way to do
>this, but I have not found it. Have you?

The PVM book clearly states that:

"There is one restriction on programs that are spawned from XPVM (and the
PVM console). The programs must not contain any interactive input, such as
asking for how many slaves to start up or how big a problem to solve. This
type of information can be read from a file or put on the command line as
arguments, but there is *nothing* in place to get user input from the keyboard
to a potentially remote task."

Instead of using XPVM directly, you can use your own C interface with
interactive i/o  facility and PvmTaskTrace to generate trace data that
can be understood by XPVM. (also see pvm_setopt())

Hope that helps,

-Bijal.
--
                *      /\                       *
        *             |()|        *         Bijal Modi                    *
           *          |  |                  bijal@fusion.berkeley.edu
 *              *     |  |     *        *   Fusion Transport Group

