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 Call with<strong>in</strong> S<strong>in</strong>gle<br />

• MPI_THREAD_SERIALIZED<br />

• Only OMP_BARRIER at beg<strong>in</strong>n<strong>in</strong>g,<br />

s<strong>in</strong>ce there is an implicit barrier <strong>in</strong><br />

SINGLE workshare construct<br />

(OMP_SINGLE).<br />

• All other threads will be sleep<strong>in</strong>g.<br />

• (The simplest case is for any thread to execute a s<strong>in</strong>gle mpi call,<br />

e.g. with the “s<strong>in</strong>gle” omp construct. See next slide.)<br />

21

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

Saved successfully!

Ooh no, something went wrong!