Newsgroups: comp.parallel.pvm
From: wrankin@ee.duke.edu (William T. Rankin)
Subject: Re: Problems with 3.3
Keywords: pvm 3.3 .login .cshrc
Organization: Duke University EE Dept.; Durham, NC
Date: 24 Jun 1994 15:50:07 GMT
Message-ID: <2uevbf$725@news.duke.edu>

In article <esanchez.772413322@mtecv2>, esanchez@academ01.mty.itesm.mx (Enrique Sanchez Vela) writes:
|> Hi!

hello.

|>    I saw a post related to this subject before where it was recommended
|> to look into the .login or .cshrc files.

yup.  but this is only for csh users.

|> I am using ksh

ahhh! a kindred spirit! :-)

|> and my .login and .cshrc files only define PVM_ROOT and the PATH

note that these files are ignored by ksh entirely.

|> and my .profile file (which ksh reads to setup the environment) 
|> also sets the PVM_ROOT and PATH variables.

okay.  ksh ONLY reads the .profile when you log in.  pvmd is started 
via remote execution (rsh basically) and your ~/.profile is NOT
read in at this point.

the "rsh 'echo $PVM_ROOT'" trick should tell you that
$PVM_ROOT is not getting set on the remote machine.

(note the single quotes to keep $PVM_ROOT from being evaluation on
the local machine.  these are important :-)

|>    None of the above files has stdout, I still get "Can't start pvmd"
|> messages. The pvml.uid has the following information.....
|> 
|> [t80040000] ready  3.3.0   Thu Jun 23 17:39:22 1994
|> [t80000000] pvmd@academ04: ksh: /lib/pvmd:  not found^J
|> [t80000000] pl_startup() pvmd@academ04: EOF
|> [t80040000] startack() host academ04 expected version


Looks like PVM_ROOT is not getting defined on the remote machine.

Possible solutions:

 - start up pvmd with a hostfile containing the appropriate
   "*dx=...." line as the first line.  if you have a hostfile
   with just this line in it, then you any adding hosts you do
   from the command line should work.  or you can specify all the
   machines in the file.

 - try defining PVM_ROOT in your ~/.kshrc file.  this file gets read
   everytime a KSH is spawned, similar to the ~/.cshrc file.  I have not
   had a chance to try this out (for reasons not important) but it 
   *should* work.  your milage may vary, of course.


|> Enrique Sanchez Vela.       esanchez@mtecv2.mty.itesm.mx

Good luck,

-bill


-- 
----                                /       __/    /    /
bill rankin                        /              /    /
wrankin@ee.duke.edu               ___  /    /    /    /
philosopher/coffee-drinker       /    /    /    /    /
                                /    /    /    /    /
                             _______/  __/  __/  __/



