Newsgroups: comp.parallel.pvm
From: Pawe/l Czarnul <pcman@ask.eti.pg.gda.pl>
Subject: Problem with contexts in PVM 3.4 beta4 on Redhat Linux 5.0
Organization: Politechnika Gdanska
Date: Thu, 7 May 1998 11:23:56 +0200
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <Pine.SOL.3.96.980507111028.13681B-100000@nico10.eti.pg.gda.pl>


  I have written a simple program on my PC using PVM 3.4 beta4 and I can't
understand its strange behaviour. The program is very simple. It just
creates a new context, sets it and tries to join a certain group. It
looks as follows:

main( ... ) {

  int mycontext=pvm_newcontext();

  pvm_setcontext(mycontext);

  pvm_joingroup("kkk");


  pvm_exit();

}

After starting this process, it doesn't exit. It happens every other run.
If we move pvm_joingroup before setting a new context or remove it, it'll
work. The situation is similar when replacing pvm_joingroup with
pvm_bcast, for instance.
  Does anyone know this problem? Is it the problem of PVM?

  Pawel Czarnul



