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.

Hybrid – Program Model<br />

• Start with MPI <strong>in</strong>itialization<br />

• Create OMP parallel regions<br />

with<strong>in</strong> MPI task (process).<br />

• Serial regions are the<br />

master thread or MPI task.<br />

• MPI rank is known to all threads<br />

• Call MPI library <strong>in</strong> serial<br />

and parallel regions.<br />

• F<strong>in</strong>alize MPI<br />

14<br />

Program

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

Saved successfully!

Ooh no, something went wrong!