From: "Daniel G. Chavarria" <danich@cs.rice.edu>
Newsgroups: comp.parallel.mpi
Subject: Re: misunderstanding ...processors and processes?
Date: Fri, 26 Mar 1999 15:58:29 -0600
Organization: CS Dept. Rice University
Message-Id: <36FC0305.D352E32F@cs.rice.edu>
References: <922442883.446786@www3.netland.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.mpi:4850


chiwai wrote:
> 
> mpirun -np 4 a.out means run an appllication on 4 processors.. right ?
> 
> and it does not mean run the application and split it in 4 task so that the
> application will run 4 processes
> 
> Is this right what i'm saying here ?

MPI uses the SPMD model to execute parallel programs.  So essentially
what you have are n processes on m machines executing the same program
and communicating with each other, using MPI primitives.

mpirun -np 4 a.out, means run the program a.out as 4 copies on whatever
number of machines you have configured (could be 4, could be less than
four).

Greetings,

-- 
___________________________________________________________________

Daniel G. Chavarria-Miranda
PhD Student
CS Department, Rice University

