Re: Problem with an openMP and pthread program compiled with gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I tried my code on another machine with 4 processors. It works when I put
omp_set_num_threads(2) but only with omp_set_dynamic(true) and I noticed on
htop that only one processor is used per request. When I force the use of 2
processors with omp_set_dynamic(false), it segfaults or deadlocks, as it
does with 3 or 4 processors and on my 2 processors machine. So I didn't
solve the problem yet :-((.

So, anyone has an idea of the problem?
Thanks

-- 
View this message in context: http://old.nabble.com/Problem-with-an-openMP-and-pthread-program-compiled-with-gcc-tp29173546p29235078.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux