Newsgroups: comp.parallel.pvm
From: dbatten@postoffice.ptd.com (Dean Batten)
Subject: Re: Trouble spawning?
Organization: ProLog - PenTeleData, Inc.
Date: Thu, 15 Jun 1995 01:21:38 GMT
Message-ID: <dbatten-1406952121380001@cs2-06.all.ptd.net>

In article <3ri4rb$utc@ds2.acs.ucalgary.ca>, adilger@enel.ucalgary.ca
(Andreas Dilger) wrote:

> > Here's the situation:
> >
> >1. Virtual machine set up with multiple hosts.
> >2. My program has one master and multiple slaves which can run on any of
> >the hosts, and I can determine the slaves' hosts.
> >3. If I run the slaves on the same host as the master, everything works
> >fine, except speedup, of course.
> >4. If I run the slaves on any other host, pvm_spawn fails, saying it can't
> >locate the executable file (error code -7).
> >
> >Note: I have the executable file in the default location
> >($HOME/pvm3/bin/ARCH, where ARCH is RS6K in this case). I've even tried
>                                      ^^^^
> >reinforcing the executable file location in the hostfile.
> 
> If you have a look in the PVM book (available at netlib), it mentions that
> RS6K does not export environment variables for remote shells :( so you
> have to specify them explicitly in your pvm.hosts file like:
> 
> aix1 dx=/aix2d/aedilger/pvm3/lib/pvmd
> aix2 dx=/aix2d/aedilger/pvm3/lib/pvmd

"dx" specifies pvmd location, no? "conf" at the "pvm>" prompt shows all
hosts, shich means pvmd is started on all these machines. I'm having
trouble with finding my executable, which I've tried to specify using "ep"
in the hostfile.

As for RS6K, remote shells, etc. It gets more complicated: I'm on a AFS,
AIX environment, but I think those problems have been solved at this
point.

If I'm missing the point of your comments, I apologize. I am a newcomer to
all this, and I appreciate your input.

Dean Batten
dbatten@postoffice.ptd.net
Allentown, PA, USA

