G isend can match against recv or send against irecv

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ranteed to be posted Bsend (“Buffered”): send that provides its own buffer Ibsend, Irsend, Issend: Non- blocking versions of the previous SendRecv: does a send and a receive in one fell swoop –  various send types can be received by any recv type •  e.g., Isend can match against recv; or send against Irecv CSEP 524: Parallel ComputaIon Winter 2013: Chamberlain 6 Primary MPI Concepts 2) Communicators (Process Groups): –  MoIvaIng example: 2D virtual process grid P0 P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P2 P3 P4 P0 P1 P5 P6 P7 P8 P9 P10 P11 row communicators P1 P2 P3 P4 P5 P6 P7 P8 MPI_COMM_WORLD P0 P9 P10 P11 Useful for expressing… …parIal reducIons …parIal scans …parIal broadcasts Linear algebra algorithms oeen based on such operaIons column communicators CSEP 524: Parallel ComputaIon Winter 2013: Chamberlain 7 Primary MPI Concepts 2) Communicators (Process Groups): –  MoIvaIng example #2: WriIng libraries using MPI void foo(…) { MPI_Send(…, dest=0, tag=1000, MP...
View Full Document

Ask a homework question - tutors are online