Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

KMP_AFFINITY not working

id_eddy
Beginner
825 Views

Hello guys,

I've been struggeling myself for almost on day I still can't figure out how to make it work so i decided to ask for some professional help.

I have installed Intel Fortran Compiler (10.1.4156.2005) with Microsoft Visual Studio 2005, on Windows xp platform with 2xIntel xeon x5482.

I've put in Control Panel->System->Advanced->Environment Variables a new variable with the filed "variable name:" KMP_AFFINITY and the field "variable value:" verbose,none just to get a system topology map. But when i'm compiling my project i get no information in the output regarding KMP_AFFINITY of my system.

I also put it (KMP_AFFINITY=verbose,none) in visual studio in Project->Properties->Debugging->Environment and i've got the same result: no information regarding KMP_AFFINITY.

Does anyone know what is the problem? Thank you very much for your reply.

Regards,

Eddy

0 Kudos
1 Solution
TimP
Honored Contributor III
825 Views
KMP_AFFINITY=verbose has no effect at compile time. It puts data to the screen when you run a .exe built with /Qopenmp.

View solution in original post

0 Kudos
2 Replies
TimP
Honored Contributor III
826 Views
KMP_AFFINITY=verbose has no effect at compile time. It puts data to the screen when you run a .exe built with /Qopenmp.
0 Kudos
id_eddy
Beginner
825 Views
Quoting - tim18
KMP_AFFINITY=verbose has no effect at compile time. It puts data to the screen when you run a .exe built with /Qopenmp.
You saved my day. All the time i thought that it should be in the output. Thank TIM
0 Kudos
Reply