Hybrid applications: Intel MPI Library and OpenMP*

签署人: Gergana S. Slavova

已发布:05/21/2009   最后更新时间:05/29/2019

I have a mixed application which uses both MPI and OpenMP* calls. Does the Intel® MPI Library support this type of hybrid functionality?

Yes, Intel MPI does support mixed MPI/OpenMP applications. Intel MPI is thread-safe as of version 2019, and defaults to the thread-safe library in the 2018 version.

Ensure that you are setting pinning optimally for your program.  In general for OpenMP, it is recommended to set

I_MPI_PIN_DOMAIN=omp

This will pin ranks to domains sized by OMP_NUM_THREADS.  All threads within a rank will be pinned within the domain based on KMP_AFFINITY settings.  More details on pinning are available in the Intel® MPI Library Interoperability with OpenMP section.

Intel MPI 2019 implements a new feature known as Multi-EndPoint (MEP).  MEP enables more efficient utilization of MPI calls from multiple threads.  Please read through Multiple Endpoints Support for additional details including how to use MEP.

产品和性能信息

1

性能因用途、配置和其他因素而异。请访问 www.Intel.com/PerformanceIndex 了解更多信息。