Newsgroups: comp.parallel.pvm
From: papadopo@cs.utk.edu (Philip Papadopoulos)
Subject: Re: [Q] Synchronisation troubles
Organization: CS Department, University of Tennessee, Knoxville
Date: 3 May 1995 14:04:56 -0400
Message-ID: <3o8gk8INNl7n@duncan.cs.utk.edu>

In article <3o80r5$as4@news.rwth-aachen.de> spohr@rog.rwth-aachen.de writes:
>I am trying to implement a parallel simaulation tool using pvm3.3.7 and
>a master-slave model and I have stumbled across a rather weird problem.
>When I start the master, he spawns a number of slaves ( 1 per host ),
>which join a group called POOL. This group is used just once for an
>initial transfer of data, afterwards the slaves are adressed directly
>for further messages. The problem is that not all the slaves seem to
>receive this initial broadcast and are left behind in a blocking receive

Before you broadcast the message, you need to make sure that 
all the slaves have joined the group. You can do this from the master
with repeated calls to pvm_gsize("POOL") until the  size returned is
the number that you want.


Hope this helps,
Phil Papadopoulos



