Newsgroups: comp.parallel
From: lorenz@cj.stu.rpi.edu (Lorenz Redlefsen)
Subject: Synchronizing PVM tasks
Organization: Rensselaer Polytechnic Institute, Troy, NY
Date: 28 Feb 1995 20:17:53 GMT
Message-ID: <3j03fl$e1a@usenet.srv.cis.pitt.edu>

Sorry if this is a FAQ, but I couldn't find the answer to this
in any of the documentation I have.

I need to have a number of PVM tasks hang around until all 
other tasks are done. The obvious solution would be something like:

	pvm_joingroup( "something" );

	[... useful work ...]

	pvm_barrier( "something", num_tasks );
	pvm_exit();

Unfortunately, pvm_joingroup() fails with the error message:
	"gs_getgstid() failed to start group server: No such file"

Now, the man page for pvm_joingroup(3) says that "something" 
should be the name of an already existing group. I have searched the
documentation High And Low for a function that lets me create a group.

Anyone in the know care to enlighten me, or at least tell me where to
look?

	Thanks,
	Lorenz Redlefsen
	(lorenz@cj.stu.rpi.edu)

