R
R
Roman Belinsky2015-03-28 21:55:04
Programming
Roman Belinsky, 2015-03-28 21:55:04

Where to use OpenMP, MPI libraries?

Are the OpenMP or MPI libraries still up to date? If so, for what purposes are they used in practice?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2015-03-28
@jcmvbkbc

OpenMP or MPI

These are two completely different technologies: Open Multi-Processing and Message Passing Interface.
The first helps to parallelize the execution of pieces of code on one machine without the explicit use of threads, the second - to perform work on a cluster.
gcc has an implementation of OpenMP, you can enable it with the -fopenmp flag and use OpenMP pragmas and functions.
I did not work with MPI, I will not tell.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question