From: Sergey Zhumatiy <serg@vvv.srcc.msu.su>
Newsgroups: comp.parallel.mpi
Subject: Re: MPI_INIT help
Date: Fri, 26 Mar 1999 10:18:06 +0000
Organization: SRCC Nonlinear Computation Lab InterNetNew site
Distribution: world
Message-Id: <36FB5EDE.BDB03222@vvv.srcc.msu.su>
References: <922368026.499888@www3.netland.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:4845


> I stalled MPICH in a Linux machine and my program is working when I run it
> with just one processor (mpirun -np 1 <executable>) but if I try it with 2
> or more it gives me an error 'permission denied'.
> 
> I put several printf to check where it was failing and the problem is
> initializing MPI. Everything works before the function MPI_INIT. I think it
> is not a problem to run 2 processes in an unique machine. Does someone know
> what it is going on.

  This happened usually when you can't rlogin on your host (or on hosts,
where you run your program).
  1. Don't run mpirun as root.
  2. Check .rhosts, .rlogin, etc. files in your home dir.
  3. Read manuals on rlogin/rsh.

  When you'll can rlogin on your host, all be ok.

                                                            Serg.

