
Re: what is difference b/w OpenMP and MPI lib?
asadullahansar wrote:
Can you tell me where MPI is used and where OpenMP. Can you list in which condition which one is better than other and viz-versa
I don't know more about it...But whatever i have knowledge by that OpenMP is a library for using parallel computing by multithreading programming. OpenMP provides API by which we can do parallel programming in shared memory environment. Shared memory means Only one computer in which memory will be shared and by mutithreading programming provded by OpenMP we can achieve parallel computing.
MPI is also used for multithreading but it can also used in distributed memory system. buts it's highly used in distributed system.