[MPICH] How communicating between computers in a cluster is achieved in mpich :"rpc or socket ,or both?"

Darius Buntinas buntinas at mcs.anl.gov
Fri Dec 14 11:22:29 CST 2007


Ssh/rsh would only be used to start the processes on the cluster nodes. 
  Once the processes are running, MPICH2 will use sockets (or mx, gm, 
quadrics or whatever network you configure it to use).  The default is 
sockets.

-d

On 12/14/2007 10:44 AM, zyh wrote:
>  
>  
> I'd like to write a small programme in linux/c to achieve only the 
> simpliest functions of mpich,like 
> MPI_Init,,MPI_Comm_rank,MPI_Comm_size,MPI_Send and MPI_Recv,MPI_Finalize
> Now,I'm not sure how communicating between computers _in a cluster_ is 
> achieved in mpich.
> When I install mpich,I need to install rsh-server first,so I guess mpich 
> uses rsh to communicate between computers _in a cluster_.Is that right?
> Does mpich uses socket  programming instead?  Or both?
>  
> Any suggestion will be greatly appreciated!




More information about the mpich-discuss mailing list