Newsgroups: comp.parallel.pvm
From: dbatten@postoffice.ptd.com (Dean Batten)
Subject: Re: Trouble spawning?
Organization: ProLog - PenTeleData, Inc.
Date: Sun, 11 Jun 1995 20:22:48 GMT
Message-ID: <dbatten-1106951622480001@cs1-09.all.ptd.net>

In article <1995Jun5.105523.17340@news.snu.ac.kr>, gak@pandora.snu.ac.kr
(Song Jae Gak) wrote:

> I set up four pvmd in four sun systems. 
> Of course, I could add all hosts to Virtual Machine.
> But when I run the examples such as master1 or spmd,
> the message, "Trouble spawning", came out.

pvm_spawn returns error codes which may help. Check them.

Unfortunately, though, I'm stuck at a similar point for which I'd like
help. 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.

Any thoughts?

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

