Newsgroups: comp.parallel.pvm
From: Chris Humphres <chumphre>
Subject: Re: How to halt master pvmd within program
Organization: Duke University, Durham, NC, USA
Date: 28 Sep 1995 15:28:13 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <44eeud$6io@news.duke.edu>

sscott@nimitz.mcs.kent.edu (Stephen Scott) wrote:
>I would like to be able to halt all pvmd processes, effectively 
>stopping pvm, from within a C program.  Using pvm_delhosts()
>I am able to halt all pvmd`s except for the "master" pvmd.
>When attempting to halt the "master" pvmd using pvm_delhosts() -
>I am returned the error code "PvmBadParam" (-2) - I assume because
>one should not try to remove the "master" pvmd.
>
>Any suggested solutions?
>
>stephen.

Hi,

Just use pvm_halt().  For more info check the PVM User's Guide.

Chris


