- So here are some basic MPI functions that are needed for parallel computers in a cluster setup
- MPI_Init
- Used to initialize MPI. Without this none of the other commands will work.
- MPI_Comm_rank
- Gets the rank of a processor from 0 - p, where p is the total number of processors.
- MPI_Comm_size
- Get the total number of processes available for computing.
- MPI_Send
- Send a message. Messages are passed as array data, you can specify the size of an array.
- MPI_Recv
- Complement to MPI_Send.
- MPI_Finalize
- Called when program is done running. Cleans up memory to avoid leaks.
- Sample intro program next post
Follow me on a journey through the code! Hope you enjoy whatever is currently holding my attention and maybe you can even learn something along the way. Everything from micro board programming on the MSP340 to openGL programming for the iPhone.
Sunday, May 8, 2011
Intro to MPI
Subscribe to:
Post Comments (Atom)
Thanks dude
ReplyDeleteCheers man
ReplyDeleteThanks!
ReplyDeletehmmm lemme try this, ill tell you later how it went
ReplyDeleteExcellent, thanks.
ReplyDeleteGlad you are interested in this!
ReplyDeleteBeyond my comprehension. At least for now.
ReplyDeletethanks for sharing!
ReplyDeleteThat's cool stuff ;)
ReplyDeleteWow cool stuff but your over my head
ReplyDeleteThanks, been looking for this.
ReplyDelete