Newsgroups: comp.parallel.mpi
From: eddemain@neumann.uwaterloo.ca (Erik Demaine)
Subject: Re: Help!!When I install MPICH....
Organization: University of Waterloo
Date: Fri, 15 Dec 1995 15:47:57 GMT
Message-ID: <DJMx7x.58v@undergrad.math.uwaterloo.ca>

812817@next01.cis.thu.edu.tw wrote:
: 	I downloaded MPICH and its Installation Guide.
: 	I follow those steps in Installation Guide.
: 	Everything is good,except mpirun -np 4 cpi.
: 	It tells me that "Permission denied",but when 
: 	I changes "mpirun -np 1 cpi",and it works well.
: 	Something wrong with environment?!
: ...
: 	Contents in mpich/bin/machines/machines.sun4:
: 	
: 	sun1.cis.thu.edu.tw
: 	sun2.cis.thu.edu.tw
: 	...
: 	...
: 	sun10.cis.thu.edu.tw
: ...

I'd say that there is a problem with the .rhosts file on the systems.
mpirun -np 1 cpi (normally) doesn't actually use rsh.  Instead it runs
the program on the localhost.  Try this:

	rsh sun1.cis.thu.edu.tw ls

(and for 2,...,10)
If it says Permission denied, then you need to modify your .rhosts file
on that host.

Good luck,
Erik
--
Erik Demaine                 \/  e-mail: eddemain@neumann.uwaterloo.ca
Dept. of Computer Science    /\  URL   : http://barrow.uwaterloo.ca/~eddemain/
University of Waterloo       \/  Most jugglers do poorly while drunk, especially
Waterloo, ON Canada N2L 3G1  /\  in a large wavelength gravity field.

