Newsgroups: comp.parallel.pvm
From: bwh@inf.rl.ac.uk (Brian Henderson)
Subject: Re: add not working
Organization: RAL, Chilton, Didcot, England
Date: 18 Aug 1994 08:31:04 GMT
Message-ID: <32v688$2l7u@unixfe.rl.ac.uk>

In article 1n2@gort.trl.OZ.AU, peter@newsserver.trl.oz.au (Peter K. Campbell) writes:
>Howdy, all.  I'm trying to get pvm 3.3.3 working on a network of Sun 4
>machines (Sparcstations 1, 1+, IPC, IPX & 2) running SunOs 4.1.1 & 4.1.2.
>I've compiled the package and examples with no problem, but I can't
>get the "add" command to work properly when I run pvm.
>
>
>So, it looks like the problem is the PVM_ROOT variable.  But, like I said,
>I've got it defined in both my .cshrc & .login file, and the rsh commmands
>work without problems.
>
>Can anyone tell me what I'm doing wrong?
>
>Thanks in advance.
>
>Peter K. Campbell
>p.campbell@trl.oz.au

This was commented on in previous article as being a problem with PVM locating the
pvmd in the remote shell. Look in ~/pvm3/doc/release-notes for documentation on this
problem:-

  **** release-notes *********
	
  Certain shells (ksh users take note) don't run a startup script in
  a non-login session, so you won't be able to do the above.  To find
  out if your setup works, try:

      rsh  Machine  'echo $PVM_ROOT'

  where Machine is the name of a PVM slave host.
  If not, you'll have to use the hostfile dx= option to set the
  correct path.  The lib/pvmd script then sets PVM_ROOT for you.
  You can do this either by creating a hostfile containing (for
  example):

      * dx=/usr/local/pvm3/lib/pvmd

  or directly from the console:

      pvm> add "somehost dx=/usr/local/pvm3/lib/pvmd"

* The hostfile options "pw" and "ms" have changed to "so=pw" and
  "so=ms".  This is necessary to allow them to be passed to the hoster
  in an extensible way.

   **************************************

   We launch pvm with a hostfile:

	$ pvm hostfile

    where hostfile is of form

	$ cat hostfile
	alpha	dx=/u/bwh/pvm3/lib/pvmd
	beta  	dx=/u/bwh/pvm3/lib/pvmd
	....
	zeta	dx=/u/bwh/pvm3/lib/pvmd

    and things work fine. We are using 9 Sun IPCs, 4 SunSparcs, 1 Sun Sparc-10.

	Hope this helps


		bwh
---
Brian W. Henderson		    *	UK JANET: bwh@uk.ac.rl.inf
Parallel Processing Group	    *	UUCP:	  ..!mcsun!ukc!rlinf!bwh
Computational Modelling Divison,    *
Informatics Department,		    *******************************************
Rutherford Appleton Laboratory,
Chilton, Didcot, Oxon. OX11 0QX,	Tel : +44 + (0235) 821900 ext. 6151
_______________________________________________________________________________


  


