Newsgroups: comp.parallel.pvm
From: ccastco@prism.gatech.edu (Costas Malamas)
Subject: Re: can't start pvm -- BUG IN KSH???
Organization: Georgia Institute of Technology
Date: 29 Jul 1994 14:29:01 -0400
Message-ID: <31bhpd$i56@acmey.gatech.edu>

In article <31apdb$5bn@news.duke.edu>,
William T. Rankin <wrankin@ee.duke.edu> wrote:
 >In article <319efu$jtj@acmey.gatech.edu>, ccastco@prism.gatech.edu (Costas Malamas) writes:
 >|> In article <30jpco$1g3v@ns2.cc.lehigh.edu>,
 >|> Frederick W. Chapman <fc03@ns2.CC.Lehigh.EDU> wrote:
 >|>  >In article <CsvxoJ.9Ks@dnsserv.go.dlr.de>, ziegler@dv.op.dlr.de (Roland
 >|>  >A. Ziegler) writes:
 >
 >|>  >>[t80000000] pvmd@sirius: ksh: /lib/pvmd:  not found.^J
 >|>  .....
 >|>  >I put the following definitions in my ".profile" file, and things seem to
 >|>  >work fine now:
 >|>  >
 >|>  >	export PVM_ROOT=/afs/cc.lehigh.edu/home/fc03/public/pvm3
 >|>  >	export PVM_DPATH=$PVM_ROOT/lib/pvmd
 >|>  >	export PVM_ARCH=RS6K
 >
 >[.....]
 >
 >|>   Well, I have the same exact problem.  I have narrowed it down to using 
 >|> ksh instead of csh. If I use ksh as my default shell, I get the same message 
 >|> as the original poster ("Can't start pvmd").  If I change shells to csh,
 >|> everything is fine. But, I _did_ try the solution posted -- both in .kshrc and
 >|> in .profile -- to no avail.  The strange thing is if I try a rsh with ksh as
 >|> the default shell, I actually get a prompt on the remote machine, regardless of
 >|> the rsh command! Anyway, any known fixes for this? I am running PVM 3.3.3 on
 >|> SGI stations running IRIX 4.x and 5.2 
 >|> Thanx in  advance...
 >|> 
 >|> costas malamas ____________________________________________________________
 >
 >are you sure that the PVM_DPATH variable is set correctly?
 >
 >first, kill off *all* PVM daemons on all machines.
	
   OK, this is very weird.  After hours and hours of playing around with this
thing, I realized, that quite simply ksh was NOT running ANY initialization
files when executed from rsh.  For example:
rsh <remotehost> 'set'
would give only the basic variables -- most probably those defined by login,
NOT including the ENV variable that defines the ksh startup script. In other
words, not even /etc/profile was executed by rsh!... On this, I am positive
since I run it with different configurations on different machines with the
same results... I am in the process of transiotining to zsh, but not all the
machines I want to run PVM on support zsh, and quite frankly, I abhore csh.
   Any fixes for ksh? Any weird, obscure back-door ideas?
(On this, I have to point out that the original reply, that claimed that
including PVM_DPATH on .profile worked, was on an RS6000, not a standard system
or OS, by any means....)
Thanx in advance

 >
 >second, type 'export' under ksh to see what environments variables are
 >  exported and what their values are.  as you probably know, under ksh
 >  (or just /bin/sh for that matter) just setting an environmental var.
 >  is not good enough.
 >
 >third, try typing in:
 >
 >               rsh <remote machine> ls -l $PVM_DPATH 
 >
 >  to verify the location of pvmd on hte remote machine.
 >
 >fourth, *now* start your pvmd locally and try to add hosts.
 >
 >Good luck,
 >
 >-bill
 >
 >
 >-- 
 >----                                /       __/    /    /
 >bill rankin                        /              /    /
 >wrankin@ee.duke.edu               ___  /    /    /    /
 >philosopher/coffee-drinker       /    /    /    /    /
 >                                /    /    /    /    /
 >                             _______/  __/  __/  __/
 >
 >


-- 
costas malamas ____________________________________________________________
georgia institute of technology        	    
OIT UA -- my opinions do not reflect those of OIT
internet: ccastco@prism.gatech.edu         

