Newsgroups: comp.parallel.pvm
Path: ukc!uknet!EU.net!Germany.EU.net!netmbx.de!zrz.TU-Berlin.DE!zib-berlin.de!news.th-darmstadt.de!hrz-ws11.hrz.uni-kassel.de!newsserver.rrzn.uni-hannover.de!rz.uni-hildesheim.de!baghira.han.de!erni.escape.de!dagoba.escape.de!strauss
From: strauss@dagoba.escape.de (Frank Strauss)
Subject: Re: Synchronization on PVM
References: <CLspKK.GsD@cunews.carleton.ca>
Organization: Private Site
Date: Mon, 28 Feb 1994 09:57:26 GMT
Message-ID: <1994Feb28.095726.4703@dagoba.escape.de>
Lines: 21

qadri@scs.carleton.ca (Nashib Qadri) writes:

>	I was wondering if there is a call in PVM similar to the gsync()
>call on the iPSC/2.
>	For those not familiar with the gsync() call, all it does is that
>it synchronizes all the tasks eg. if line 17 contains a call to gsync()
>on all the nodes then none of them execute line 18 till all of them
>have reached line 17 and synchronize.

There is the functionality of process groups in PVM. You may synchronize
members of a group by using the barrier call. Take a look at the man page
of pvm_barrier or at the groups section of the PVM3 User's Guide and
Reference Manual. If you don't have process groups installed or you don't
want to have one more process (the group server), you have to do the
synching on your own (multicasting a special tag to all hosts, and blocking
receive that tag from all hosts in any order).

Hope it helps...
-- 
Frank Strauss, TU Braunschweig                  strauss@{ibr|ips}.cs.tu-bs.de
Buergerstr.13, 38118 BS, (0531)-503873    strauss@dagoba.{escape|priconet}.de

