Top "Openmp" questions

OpenMP is a cross-platform multi-threading API which allows fine-grained task parallelization and synchronization using special compiler directives.

error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory

I installed Intel® Parallel Studio XE Composer Edition for C++ Linux to use OpenMP 4.0. I compile example code with icc …

c++ linux openmp icc intel-parallel-studio
C OpenMP parallel bubble sort

I have an implementation of parallel bubble sort algorithm(Odd-Even transposition sort) in C, using OpenMP. However, after I tested …

c openmp bubble-sort
C OpenMP parallel quickSort

Once again I'm stuck when using openMP in C++. This time I'm trying to implement a parallel quicksort. Code: #include &…

c++ c openmp quicksort
Different results between Debug and Release

I have the problem that my code returns different results when comparing debug to release. I checked that both modes …

c++ visual-studio-2010 openmp release-mode debug-mode
OpenMP: nowait and reduction clauses on the same pragma

I am studying OpenMP, and came across the following example: #pragma omp parallel shared(n,a,b,c,d,sum) …

c++ openmp reduction
Avoiding False Sharing in OpenMP with arrays

I have started learning how to use OpenMP as part of a University course. As a lab excercise, we have …

c openmp false-sharing
loop tiling/blocking for large dense matrix multiplication

I was wondering if someone could show me how to use loop tiling/loop blocking for large dense matrix multiplication …

c performance openmp sse matrix-multiplication
How do I parallelize a for loop through a C++ std::list using OpenMP?

I would like to iterate through all elements in an std::list in parallel fashion using OpenMP. The loop should …

c++ list parallel-processing openmp
Using OpenMP with C++11 on Mac OS

I am trying to use some OpenMP multithreading features in my C++11 code like: #pragma omp parallel for When I …

c++ c++11 openmp macos-sierra
C++11 Thread safety of Random number generators

In C++11 there are a bunch of new Random number generator engines and distribution functions. Are they thread safe? If …

c++ thread-safety c++11 openmp grand-central-dispatch