[Beowulf] MPI questions

Reuti reuti at staff.uni-marburg.de
Tue Apr 5 07:32:07 EDT 2005


Jake Thebault-Spieker wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> I guess my question is how do I use MPI? Will the MPICH implementation

http://www.netlib.org/utk/papers/mpi-book/mpi-book.html
ftp://math.usfca.edu/pub/MPI/mpi.guide.ps

> work with a program written for MPI? Does one need MPICH on all of the

Yes.

> nodes, or just the master node?

For MPICH: only on the head node of your job it's necessary. But as in a 
cluster each node can become the headnode of your job, it must be 
available on all nodes in the end.

Ciao - Reuti

> 
> I think computer viruses should count as life.
> I think it says something about human nature
> that the only form of life we have created so far is purely destructive.
> We've created life in our own image.
> - --Stephen Hawking
> 
> 010010100110000101101
> 011011001010010000001
> 010100011010000110010
> 101100010011000010111
> 010101101100011101000
> 010110101010011011100
> 000110100101100101011
> 010110110010101110010
> <//www.plinko.net\\>
> Jake Thebault-Spieker
> 
> 
> 
> Jack wrote:
> 
> 
>>>What is the difference between MPI? Does MPI need to be running on all
>>>the nodes or just the node that the job was started on? Is the debian
>>>package MPICH the correct one?
>>>
>>
>>The various MPI distributions (OpenMPI, LamMPI, MPICH) all attempt
> 
> conform to a set of MPI standards. Thus, sometimes they differ slightly
> in implementation, but normally a code will run on all of them (though
> you will need to compile it usuing the correct libraries).
> 
>>About the running on the nodes question: when, for instance in the Lam
> 
> distribution, you say "lamboot <machine_list>", it goes out and starts
> the "lamd" daemon. Then, when you say "mpirun whatever", all these
> daemons on the hosts each start their process with the correct rank
> number, and they deal with the transactions between nodes.
> 
>>Is that the correct one? Sure. It will probably work, though we have no
> 
> idea exactly what you want to do.
> 
>>There are good descriptions of this sort of thing around, take a look
> 
> on The Oracle (Google).
> 
>>Have fun!
>>
>>-Jack Carrozzo
>>http://www.crepinc.com/
>>
>>
>>
>>
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>  
> iD8DBQFCUdEAI2YvXV9Bxi0RAlENAKCd0bQim2RGA2Ry3VHO8huFtLehcQCg0EHt
> F4KAQomp/Sj+T3aTbqVQTCE=
> =WUnU
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list