Explanation of OpenMP and MPI

A few minutes ago I stumbled upon some text that reminded me of something that had been reflecting on my mind for some time, but I had nowhere to ask.

So, in the hope, this could be a place where people have experience of both, I was wondering, can anyone explain the difference between OpenMP and MPI?

I read the entire Wikipedia article, figured it out in segments, but I'm still thinking; for a Fortran programmer who wants one day to enter the world of parallelism (just learning the basics of OpenMP now), the more reliable way to go?

I would be grateful for all your comments.

+5
source share
3 answers

OpenMP , , , .. . , .

MPI , .. , . , (, "" ).

( ): 24 MPI . ( @Mark), OpenMP , . , MPI .

, , ( - ?), OpenMP .

, , OpenMP, , / , MPI. , , (.. ) /, , .

+10

, , @Jerry, , OpenMP , MPI - . , MPI .

, (?) , OpenMP . MPI , ( , Ethernet).

, OpenMP MPI , , . () OpenMP , MPI, , , ( ), OpenMP, MPI.

, , ( , ), MPI - . - , , MPI OpenMP . , , , .

, , , Fortran , , . (2008) - (.. , ) . . , .

, OP...

, , OpenMP. , OpenMP MPI (, , , ) . , , , , . OpenMP 6 , 2 , . , , .

() , , , OpenMP Chapman et al, , Chandra, , . , Chandra OpenMP 2, Chapman OpenMP 3, .

MPI Gropp ., MPI MPI-2 ; , , , ( ) MPI, - . , , , . Parallel Scientific Computing ++ MPI Karniadakis Kirby; , .

, (, - , ?) - ( ) , -, Fortran ( ) . , , ( - ). ( ACM IEEE - , , , , " , , , ).

, , 24 (? ?, , ), . , :

- , , Sun, SGI IBM , , , , . parallelism , , . (, , , MPI.) MPI ( 512- SGI Altix) , , , . Altix , 128 , , ; MPI MPP.

- , , , ( - ). , , , , .

, 4 8 ( , , , 16 ) 4 . , ; GB Ethernet , Infiniband ( , ) , . node , . , , , " brew".

, , , 2 -. MPI- (OpenMPI , , , o/s ). , .

PS 2 , 2 . , ( ). , .

+7

, OpenMP, , MPI - . OpenMP parallelism ( ), MPI parallelism ( ). .

We have OpenMP and MPI versions of our software (Fortran), and customers use them depending on their needs.

Given current trends in multi-core architecture, OpenMP-MPI Hybrid is another viable approach.

+2
source

All Articles