Newsgroups: comp.parallel.pvm
From: adilger@enel.ucalgary.ca (Andreas Dilger)
Subject: Re: Can't start pvmd
Organization: ECE Department, U. of Calgary, Calgary, Alberta, Canada
Date: 1 Apr 1996 18:40:14 GMT
Message-ID: <4jp7ue$12ga@ds2.acs.ucalgary.ca>

I don't have the original article, but it looks to me like you are using
AIX, no?

In article <Dp6Hv3.8s4.B.mary@bath.ac.uk>, D J Batey <mapdjb@bath.ac.uk> wrote:
>In the referenced article, <103361,1027@compuserve.com> writes:
>>I did try %rsh remote_host_name $PVM_ROOT/lib/pvmd, and this fails, returning
>>with an error message that it cannot find pvmd3 on the remote machine.
>>The $PVM_ROOT is set right and also PVM_DPATH is set right.
>>The /tmp/pvmd.uid file  contains the following message:
>>... pvmd@remote_host    ksh:/lib/pvmd: not found
                          ^^^^^^^^^^^^^

Unfortunately, do to some stupidity along the line, ksh does not read any
of the configuration scripts when executing a remote shell command, so even
though you set PVM_ROOT and PVM_DPATH in your .profile, it is never read
during the rsh command.  To see the current environment for the remote shell:

rsh <remote_host> set

What you have to do to work around this is use a pvm_hosts file which sets
dx and ep when starting pvm, and then you can start the remote hosts.

Cheers, Andreas
-- 
Andreas Dilger   University of Calgary  \"If a man ate a pound of pasta and
(403) 220-8792   Micronet Research Group \ a pound of antipasto, would they
Dept of Electrical & Computer Engineering \   cancel out, leaving him still
http://www-mddsp.enel.ucalgary.ca/People/adilger/       hungry?" -- Dogbert

