OpenMP Process

General OpenMP discussion

OpenMP Process

Postby mlisboa » Wed Sep 24, 2008 4:36 pm

Hi all,
I would like to know how I could force, if I have a two cores processor, that each process (thread)
run on differents cores.
Thanks for your help

Re: OpenMP Process

Postby ejd » Wed Sep 24, 2008 8:15 pm

You can bind threads to cores with most of the OpenMP implementations. It is not part of the OpenMP spec, but an implementation defined extension. If you had told me the compiler and operating system you are using, I might have been able to be more specific. As it is, all I can tell you is to check the product documentation.
Posts: 1025
Joined: Wed Jan 16, 2008 7:21 am

Return to Using OpenMP

Who is online

Users browsing this forum: No registered users and 9 guests