OpenMP and MPI

General OpenMP discussion

OpenMP and MPI

Postby rashmi_k28 » Fri Mar 14, 2008 1:42 am

Can MPI used in shared memory systems. When MPI can be used in shared memory and ditributed systems what is the advantage of openMP

Re: OpenMP and MPI

Postby ejd » Fri Mar 14, 2008 9:13 am

MPI can be used on shared and distributed memory systems - which is one of its' strengths. The OpenMP spec only defines it to be used on shared memory systems. However, Intel has done an implementation (Cluster OpenMP) that allows it to be used on distributed memory systems. There are many aspects that one can debate as to whether or not OpenMP or MPI is better to use on shared memory architectures. However, the one major benefit OpenMP has, is that you can incrementally add it to a sequential program and still have the sequential program as it was before. With MPI you would have to restructure the sequential program to add the calls and you now have a modified version.
Posts: 1025
Joined: Wed Jan 16, 2008 7:21 am

Return to Using OpenMP

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 3 guests