09.06.2013 Views

Il sistema di calcolo ad alte prestazioni del CINECA: evoluzione di ...

Il sistema di calcolo ad alte prestazioni del CINECA: evoluzione di ...

Il sistema di calcolo ad alte prestazioni del CINECA: evoluzione di ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MPI_THREAD_FUNNELED<br />

- calls outside the parallel region<br />

- Inside the parallel region with "omp master<br />

!$OMP BARRIER<br />

!$OMP MASTER<br />

call MPI_Xxx(...)<br />

!$OMP END MASTER<br />

!$OMP BARRIER<br />

#pragma omp barrier<br />

#pragma omp master<br />

MPI_Xxx(...);<br />

#pragma omp barrier<br />

There is no synchronization with $opm master<br />

So is neded a barrier before and after, to ensure that the data and<br />

buffers are available before and/or after the MPI calls<br />

www.cineca.it 25

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

Saved successfully!

Ooh no, something went wrong!