From: cdrexpert@my-deja.com
Newsgroups: comp.parallel.pvm
Subject: Re: using pvm_joingroup()
Date: Tue, 29 Jun 1999 17:12:43 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Message-Id: <7laupu$ljg$1@nnrp1.deja.com>
References: <3741FDD8.98C0FEFC@www.uq.net.au>
    <928331593.20886@news.cs.tu-berlin.de>
Xref: ukc comp.parallel.pvm:8525


I too am trying to use pvm_joingroup() and finding
that the server (pvmgs) is having trouble starting
automatically.  I have pvmgs in the bin/arch and
lib/arch directories (RedHat 6.0 Linux) but it
will not start.

I have turned on lots and lots of debugging
messages and managed to get out that the failure
is PvmNoFile from a spawn.  Since I have both the
bin/arch and lib/arch directories in the path,
somehow I doubt this is really the problem.

While digging through the code I got the
impression that *all* spawn failures are
attributed to PvmNoFile - the error from the
system call simply isn't examined.  And, of
course, I can't seem to find where that system
call is being made.

Any hints?  I think if I could get the error from
the system call I could probably track this down.
This is running on RedHat 6.0 on Pentium hardware.

Paul Crowley
pcrowley@chi.navtech.com


In article <928331593.20886@news.cs.tu-berlin.de>,
  Philipp Berndt <archmagexxx@cs.tu-berlin.de>
wrote:
> On Wed, 19 May 1999, you wrote:
> >Edward Vigmond wrote:
> >
> >> Lance Rathbone wrote:
> >> >
> >> > Hi:
> >> > I"m completely new to pvm. On my first
attempt at writing a program I
> >> > used pvm_joingroup() and pvm_barrier(). I
can compile the program using:
> >> >
> >> >      cc -o file file.c -lpvm3 -lgpvm3
> >> > but when I run it I get the the error
message:
> >> >     libpvm [t40004]: gs_getgstid() failed
to start group server: No such
> >> > file
> >> >     libpvm [t40004]: file: Can't contact
local daemon
> >> >
> >> > Could someone tell me what's going on?
(er... what's not going on?)
> >>
> >> A group server should be spawned to control
the group operations. The
> >> executable should be in
$PVM_ROOT/lib/$ARCH/pvmgs. You get your error
> >> when pvmgs is unable to be started.
> >>
> >
> >You're right, it works when I start this
manually with pvmgs&.
> >    Thanks
> >
> >Should this be starting automatically? I am
using pvm 3.3 on Redhat 5.2
> >If so how?
>
> Yes, it should.
> As Lance Vigmond wrote:
> The executable should be in
$PVM_ROOT/lib/$ARCH/pvmgs.
>
> Try putting it in
$HOME/pvm3/bin/$PVM_ARCH/pvmgs, too.
>
> That should do it.
>
> Greetings,
> Philipp Berndt
> Please remove the x's from my mail adress when
replying.
>



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

