23.10.2014 Views

slides - Spring School in Advanced Computing TACC @ UP

slides - Spring School in Advanced Computing TACC @ UP

slides - Spring School in Advanced Computing TACC @ UP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

MPI with OpenMP -- Messag<strong>in</strong>g<br />

S<strong>in</strong>gle-threaded<br />

messag<strong>in</strong>g<br />

Node<br />

Node<br />

rank to rank<br />

MPI from serial region or a s<strong>in</strong>gle thread with<strong>in</strong> parallel region<br />

Multi-threaded<br />

messag<strong>in</strong>g<br />

Node<br />

Node<br />

rank-thread ID to any rank-thread ID<br />

MPI from multiple threads with<strong>in</strong> parallel region<br />

Requires thread-safe implementation<br />

15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!