Cant profile OpenMP code

Cant profile OpenMP code

When trying to profile some OpenMP code using "Intel Parallel Amplifier 2011 Update 1, (build 127928)", in Studio 2008, Windows XP 64,

I am getting.....

OMP: Error #134: Cannot set thread affinity mask.
OMP: System error #87: The parameter is incorrect.
OMP: Error #134: Cannot set thread affinity mask.
OMP: System error #87: The parameter is incorrect.

And the profile operation stops at that point.

The code runs fine outside of Amplifier.
I am not trying to set affinity flags in my code , it is "vanilla omp"
I do not have any KMP_ variables set.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hello,Could you please provide some more info about the problem:- Is the issue seen when application runs from Amplifier only? Is there a problem if it is started standalone?- Please set environment variables KMP_SETTINGS=1 and KMP_VERSION=1. Than reproduce the issue. There should be more detailed error output.- Can you attach a reproducer sample? Well try to reproduce it in our lab.

Two more questions:

What
compiler do you use: MSVS of Intel?

And do
you use Intel openMP runtime? If Microsoft compiler is used, Intel openMP
should be explicitly set.

Regards,

Kirill

Leave a Comment

Please sign in to add a comment. Not a member? Join today