





































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































































2
- Principles of message passing - Building blocks (send,^ receive) - MPI: Message Passing Interface - Overlapping communication with computation - Topologies - Collective communication and computation - Groups and communicators - MPI derived data types - Threading - Remote Memory Access (RMA) - Using MPI - MPI Resources
4
5
7
8
NIC moves the data behind the scenes
(illustrations show case when sender comes first)
10
Processor 0 Processor 1 receive(&a, 1, 1); receive(&a, 1, 0); send(&b, 1, 1); send(&b, 1, 0);
11
13
Space of possible protocols for send and receive
14
16 http://www.mcs.anl.gov/research/projects/mpi/www/www
17
Minimal set of MPI routines MPI_Init initialize MPI MPI_Finalize (^) terminate MPI MPI_Comm_size (^) determine number of processes in group MPI_Comm_rank (^) determine id of calling process in group MPI_Send (^) send message MPI_Recv (^) receive message
19
20