Hybrid Program Template
Each of the hybrid examples use the same basic structure, as outlined below:
Start with MPI initialization |
MPI_Init_thread ... MPI_Call ... |
(Serial regions are executed by the main thread of the MPI process) | |
Create OpenMP parallel regions within each MPI process
|
OMP parallel ... MPI_Call ... end parallel |
Call MPI in single-threaded regions |
... MPI_Call |
Finalize MPI |
... MPI_Finalize |
©
|
Cornell University
|
Center for Advanced Computing
|
Copyright Statement
|
Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)