From: Tim Cockle <T.Cockle@soc.staffs.ac.uk>
Newsgroups: comp.parallel.pvm
Subject: Re: Closing Spawned Jobs
Date: Tue, 24 Nov 1998 15:07:33 +0000
Organization: Staffordshire University
Message-Id: <365ACBB5.39AC12D4@soc.staffs.ac.uk>
References: <3655BAC3.1B721E81@ece.neu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


I believe you can list all the process on the virtual machine, once you have
all the ID you can kill them. I know I have fallen into the same trap as you
before and had success via the console.

Tim

Srinidhi wrote:

> Hi,
>
> I suspect this should be a common problem and any help is appreciated.
>
> I spawn off a series of jobs on different machines on the network using
> "pvm_spawn" and when the job is completed, I send a termination message
> and they exit gracefully without a problem. However, if I manually kill
> the job on the master using "Control-C", the spawned jobs continue to
> run and essentially after a while stay stuck on "pvm_recv()" but the job
> does not terminate. Halting PVM and restarting the daemon does not do
> the trick either. Is there a way to kill all spawned jobs, maybe from
> the pvm console?
>
> Thanks,
> -Srinidhi

