Newsgroups: comp.parallel.pvm
From: jmartin@auger.cs.uiowa.edu (Jeffrey Martin)
Subject: Re: pvm command line arguments
Organization: The University of Iowa, Iowa City, Iowa, USA
Date: 27 Jun 1996 14:24:17 -0500
Message-ID: <k6gspbh2gpq.fsf@auger.cs.uiowa.edu>

Boyana Norris <radenska@cs.uiuc.edu> wrote:
> Is there any way to specify pvm commands when pvm is started from
> the Unix shell (other than a hosts file)?  The reason for this
> question is that I would like to write a little script to go to the
> pvm console, issue a halt command, then start pvm and quit (leaving
> the pvm daemon active).

I found this useful, so I've already written [and use] it...

% cat startpvmd 
#!/bin/sh -p

$PVM_ROOT/lib/$PVM_ARCH/pvm << DONE > /dev/null
quit
DONE

% cat haltpvmd 
#!/bin/sh -p

$PVM_ROOT/lib/$PVM_ARCH/pvm << DONE > /dev/null
halt
DONE


Chears,
Jeff

