- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are using some functions from UIC_transcoder for decoding jpeg frames and converting these frames to RBG frames. Randomly we are getting the below mentioned errors. Also we use some of the functions from IPP to resize the frame.
OMP : Error # 134 Cannot set thread affinity mask.
OMP : System error #87 : The parameter is incorrect.
Can someone explain why these errors occur and the ways the solve these. Also these erros we have seen in 32 bit Win7.
Thanks,
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting mahantesh
...
OMP : System error #87 : The parameter is incorrect
...
OMP : System error #87 : The parameter is incorrect
...
'Parameter is incorrect' - ERROR_INVALID_PARAMETER
It is returned by 'GetLastError' Win32 API function and take a look at MSDN for more technical details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting mahantesh
...
OMP : Error # 134 Cannot set thread affinity mask.
OMP : Error # 134 Cannot set thread affinity mask.
OMP : System error #87 : The parameter is incorrect.
1. Error #134 -A'SetThreadAffinityMask' Win32 API function could fail if a thread handle is
invalid or a thread affinity mask is wrong/incorrect. I think that a thread handle was invalid.
1. Error #134 -A'SetThreadAffinityMask' Win32 API function could fail if a thread handle is
invalid or a thread affinity mask is wrong/incorrect. I think that a thread handle was invalid.
Can someone explain why these errors occur and the ways the solve these.
How much RAM and VM ( Virtual Memory )do you have on your system? Did you try to increase a size of
VM? I'll try to reproduce the problem on my system.
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
Try to play with KMP_AFFINITY environment variable (http://software.intel.com/sites/products/documentation/studio/composer/en-us/2011/compiler_c/optaps/common/optaps_openmp_thread_affinity.htm). According to description you can even disable affinity control. UIC itself does nothing with thread affinity.
Regards,
Sergey
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Sergey Kostrov
...I'll try to reproduce the problem on my system...
I've spent some time today and I couldn't reproduce it in an OpenMP test application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mahantest,
Could you please provide us a test sample to reproduce the problem?
(for example, including the parallel (multi-thread)structure add ippresize call, remove the UIC part?).
I check therewas same reports before in forum:http://secure-software.intel.com/en-us/forums/showthread.php?t=81551. and http://software.intel.com/en-us/forums/showthread.php?t=76294.
Iguess there is mix threadmodel conflict (i.e C# thread and OpenMP thread) or OpenMP nest loops in program, but no evidence. So ifpossible, please provide us a test case.
(Ifthe codeis confident, you can use Private post.
Best Regards,
Ying
Could you please provide us a test sample to reproduce the problem?
(for example, including the parallel (multi-thread)structure add ippresize call, remove the UIC part?).
I check therewas same reports before in forum:http://secure-software.intel.com/en-us/forums/showthread.php?t=81551. and http://software.intel.com/en-us/forums/showthread.php?t=76294.
Iguess there is mix threadmodel conflict (i.e C# thread and OpenMP thread) or OpenMP nest loops in program, but no evidence. So ifpossible, please provide us a test case.
(Ifthe codeis confident, you can use Private post.
Best Regards,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The fix should be available inComposer XE 2011 update 9.
Hope this helps,
--Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page