From: NaN <Nan@nxst.org>
Newsgroups: comp.parallel.mpi
Subject: Re: Help with rsh
Date: Mon, 05 Apr 1999 13:57:07 -0700
Organization: The Aerospace Corporation, El Segundo, CA
Message-Id: <370923A3.C07DB574@nxst.org>
References: <922957587.910345@www3.netland.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:4884


isabel wrote:
> 
> Hi I tried tstmachines LINUX and it gave me 5 errors of permission denied
> and 'No machines seem to be available.
> 

The five errors could be if you try to start 5 instances of your program
with
% mpirun -np 5 test.foo

It will spawn five instances of rsh to fill this request, thus if rsh is
not
working you would get five error messages.

> I do have just one machine. The name is hermes and it doesn't have domain,
> is that a problem? What kind of domains I can write?, there are some
> restrictions.
> 
> Yesterday I wrote a .rhosts but later I couldn't make work
>  rhs <machinename> ls
> or
> rlogin -l <user> <hostname>
> 
> I delete it because of those problems
> 
> Can someone help me.
> 
> Thanks
> 
> isabel


Isabel, it sounds like you may not have the proper permissions set on
your
.rhosts file.  Ensure that the .rhosts resides in the home directory,
and also
that its permissions are set to -rw------- i.e. 600 for the user _only_.

% chmod 600 .rhosts
% ls -l .rhosts
-rw-------   1 tstuser    tstuser          14 Mar 25 11:36 .rhosts
%

Otherwise the rsh daemon will ignore your .rhosts file.  In addition to
run
5 simultaneous processes on your machine, ensure that five lines with
hermes
appear in the file

e.g.

%cat machines.LINUX
hermes
hermes
hermes
hermes
hermes
%

Hope that helps.
						-DAL-

--
dylanal@earthlink-NOSPAM-DAMMIT-.net
to reply, take -NOSPAM-DAMMIT- out of address

