Questions tagged [libgomp]

A gcc implementation of OpenMP.

The GNU Offloading and Multi Processing Runtime Library is an implementation of OpenMP for the GNU C Compiler (gcc). https://gcc.gnu.org/projects/gomp/

32 questions
1
vote
1 answer

Openacc error ibgomp: while loading libgomp-plugin-host_nonshm.so.1: libgomp-plugin-host_nonshm.so.1: cannot

I want to compile an easy openacc sample (it was attached) , it was correctly compiled but when i run it got an error : compile with : gcc-5 -fopenacc accVetAdd.c -lm run with : ./a.out got error in runtime error: libgomp: while loading…
rijisoft
  • 57
  • 2
  • 13
1
vote
1 answer

Unable to set the OpenMP threads affinity in a forked process

I am trying to run two processes on separate CPUs using openMP. In this case each CPU has 6 cores with hyper-threading (so 12 hardware threads). They need to do some synchronization which seems some what easier if they know each other's PID. So I am…
Robert Prior
  • 508
  • 4
  • 14
1
vote
1 answer

Make GCC to call pthread_exit while transforming OpenMP parallel code

I just found that gcc's OpenMP implementation (libgomp) doesn't call pthread_exit(). I need that to use perfsuite (for profiling). Is there any way to tell GCC to include pthread_exit() at the end of a parallel section of OpenMP while transforming…
Rakib
  • 791
  • 8
  • 19
1
vote
0 answers

I changed the libgomp source code of gcc. How can I install libgomp alone

I recently did some change about the libgomp of the gcc-4.7.0 source code. How can I install libgomp alone. I know I can intall the total gcc that have been changed. But maybe I will do some change about the libgomp again, and I don't want spent…
0
votes
0 answers

libgomp performance and build options

I'm working on a project to add AMD blis to a product that currently uses MKL and intel omp. Whilst I see some testcases showing improvement, there are some that are a lot worse. After profiling I see the AMD version spending more time in gomp…
Paul Floyd
  • 5,530
  • 5
  • 29
  • 43
0
votes
1 answer

Linking cython code against libiomp5 instead of libgomp

Is it possible to link cython code which uses OMP (say things like "prange" statements) against libiomp5 instead of libgomp using gcc? I am aware of several posts, e.g., like Telling GCC to *not* link libgomp so it links libiomp5 instead, and…
Mark
  • 439
  • 1
  • 5
  • 18
0
votes
1 answer

What wrong with OMP APIs?

Sorry again for my ignorance, I want to run #include for the #pragma omp parallel for command. As it didn't work for me I checked my gcc version and it is 5.1.0, I added the libgomp.a and libgomp.spec files to the mingw lib folder. From…
Dio Bello
  • 5
  • 2
0
votes
0 answers

Linking object files built by GCC with LLVM and OpenMP

I am in a situation where I have to link some object files built with GCC to my application which is based on LLVM. The problem is that the application relies on LLVM's OpenMP library while the GCC objects have references to GCC's OpenMP. Thus I am…
RegedUser00x
  • 2,313
  • 5
  • 27
  • 34
0
votes
1 answer

Multiple processes created by OpenMP

I tried out using OpenMP to parallelize a loop (using Thrust and GOMP on Ubuntu) and was surprised to see multiple processes pop up in my process list. I had thought that OpenMP would spin up multiple threads, but not multiple processes. Under what…
rgov
  • 3,516
  • 1
  • 31
  • 51
0
votes
1 answer

Build gcc with adding debugging symbol to libgomp.so

I'm studying the implementation detail of OpenMP. I'm trying to look inside the source code of libgomp.so. I have source code of gcc and I know how to build it. But I want to add debugging symbol to libgomp.so, such that, command below has…
Jiseong
  • 89
  • 6
0
votes
0 answers

f2py compilation failed: cannot find library 'gomp'

I'm trying to compile a Fortran file (zernsurf.f95) which uses GOMP with f2py. Here is my f2py call: f2py -c -m zernsurf zernsurf.f95 --f90flags=-fopenmp -lgomp This call returns an error which states that the compiler cannot find the library…
Ben Donovan
  • 199
  • 1
  • 7
0
votes
0 answers

OpenACC bitonic sort is much slower on GPU than on CPU

I have the following bit of code to sort double values on my GPU: void bitonic_sort(double *data, int length) { #pragma acc data copy(data[0:length], length) { int i,j,k; for (k = 2; k <= length; k *= 2) { for (j=k >> 1; j > 0; j =…
0
votes
1 answer

The procedure entry point GOMP_parallel could not be located in the dll

I have a QT application that uses OpenMP. (mingw, win8) I want to use the .exe file without qt creator. I have already put all dlls in the build directory, but I still get this message when I run .exe file. By the way everything works fine if I run…
Denis
  • 719
  • 2
  • 8
  • 23
0
votes
1 answer

Python error unknown: thread pool destructor

I am using python and am getting a very odd error I can't seem to find anywhere. It has to do with the libgomp library and threading. The error is: libgomp: could not create thread pool destructor. The odd thing is that the error occurs after a…
Murenrb
  • 367
  • 2
  • 12
0
votes
1 answer

Linking against libgomp.so inside LLVM

I'm using LLVM to read IR files using parseInputIR(inputIR) function; compile them and execute them similar to what is done in llvm's Kaleidoscope examples. However when doing so I get error which complains that omp_get_num_procs is not known as…
revit
  • 361
  • 1
  • 3
  • 10