Re: How to setup RSHD and start it for use with MPICH
From: Cameron Kerr (cameron.kerr_at_paradise.net.nz)
Date: 02/02/04
- Previous message: s. keeling: "Re: How well do the flash plugin's work"
- In reply to: Rene Girard: "Re: How to setup RSHD and start it for use with MPICH"
- Next in thread: Rene Girard: "Re: How to setup RSHD and start it for use with MPICH"
- Reply: Rene Girard: "Re: How to setup RSHD and start it for use with MPICH"
- Reply: Rene Girard: "Problem solved ! Re: How to setup RSHD and start it for use with MPICH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 2 Feb 2004 17:19:21 +1300
[Set Followup-To COLN]
In comp.os.linux.networking Rene Girard <aa@bb.yy> wrote:
> mpirun -np 1 ./t_mpi1 (-np is for the number of processors)
>
> I should get the following answer:
>
> First MPI program
> [t_mpi1]: I am 0 of 1
> Success !: First MPI program
>
> meaning I am processor no. "0" of one processor
>
> however, I get
>
> First MPI program
> [t_mpi1]: I am 0 of 0 <--- Note the "0" instead of the one.
> Success !: First MPI program.
That would indicate to me that it seems to think it's only configured
with 0 processes. I think rsh may not be your problem.
To verify, try the following.
Have a look in /var/log/syslog and /var/log/messages. There should be an
entry in there for every rsh connection that is accepted, and the
command that was run.
Now, what does your /etc/mpich/machines.LINUX file say? (Yours might not
be called exactly that). Mine says something like the following (Note,
I admin a network that some people use for cluster stuff, but I don't
really know much about MPICH.
csatm1
csatm2
csatm3
csatm4
csatm5
csatm6
csatm7
csatm8
For a total of eight processes.
> Content of file "/etc/hosts"
>
> # /etc/hosts - hostname_to_address mappings for the resolver library
> # LISA or COAS will automatically put the hostname in the right line
> # for you.
> # !!! Automatically generated by lizard. Do not edit !!!
> 10.162.211.74 rene.renelinux.net .renelinux.net
That doesn't look good, you should fix that. The last bit should just
say "rene".
> # hosts.deny This file describes the names of the hosts which are
> swat:ALL EXCEPT 127.0.0.1
You should normally have ALL:ALL in here, but you can fix that later.
-- Cameron Kerr cameron.kerr@paradise.net.nz : http://nzgeeks.org/cameron/ Empowered by Perl!
- Previous message: s. keeling: "Re: How well do the flash plugin's work"
- In reply to: Rene Girard: "Re: How to setup RSHD and start it for use with MPICH"
- Next in thread: Rene Girard: "Re: How to setup RSHD and start it for use with MPICH"
- Reply: Rene Girard: "Re: How to setup RSHD and start it for use with MPICH"
- Reply: Rene Girard: "Problem solved ! Re: How to setup RSHD and start it for use with MPICH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|