vkarageo wrote:Is there any directive which shares undoubtedly work among discrete cores instead of discrete threads?
Currently no, though this facility is planned for OpenMP 4.0.
Until then you need to use implementation-specific mechanisms: what compiler and OS are you working with?
I use gfortran compiler and Windows 7 and 8. Could you suggest any example about "implementation-specific mechanisms"?
ftinetti wrote:I think that on this installation you could use/play with GOMP_CPU_AFFINITY
I think that on this installation you could use/play with GOMP_CPU_AFFINITY
Ah, I was unsure whether this really works on Windows. If it does, then that's a much easier solution than the one I suggested.
Users browsing this forum: No registered users and 4 guests