10.07.2015 Views

Hybrid MPI and OpenMP programming tutorial - Prace Training Portal

Hybrid MPI and OpenMP programming tutorial - Prace Training Portal

Hybrid MPI and OpenMP programming tutorial - Prace Training Portal

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.

No silver bullet• The analyzed <strong>programming</strong> models do not fit on hybrid architectures– whether drawbacks are minor or major depends on applications’ needs– But there are major opportunities next section• In the NPB-MZ case-studies– We tried to use optimal parallel environment• for pure <strong>MPI</strong>• for hybrid <strong>MPI</strong>+<strong>OpenMP</strong>– i.e., the developers of the MZ codes <strong>and</strong> wetried to minimize the mismatch problems the opportunities in next section dominated the comparisonsOutline• Introduction / Motivation• Programming models on clusters of SMP nodes• Case Studies / pure <strong>MPI</strong> vs hybrid <strong>MPI</strong>+<strong>OpenMP</strong>• Practical “How-To” on hybrid <strong>programming</strong>• Mismatch Problems• Opportunities:Application categories that can benefit from hybridparallelization• Thread-safety quality of <strong>MPI</strong> libraries• Tools for debugging <strong>and</strong> profiling <strong>MPI</strong>+<strong>OpenMP</strong>• Other options on clusters of SMP nodes• Summary<strong>Hybrid</strong> Parallel ProgrammingSlide 109 / 154Rabenseifner, Hager, Jost<strong>Hybrid</strong> Parallel ProgrammingSlide 110 / 154Rabenseifner, Hager, JostNested Parallelism• Example NPB: BT-MZ (Block tridiagonal simulated CFD application)– Outer loop:• limited number of zones limited parallelism• zones with different workload speedup

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

Saved successfully!

Ooh no, something went wrong!