<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error : Cannot set thread affinity mask in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802505#M3385</link>
    <description>Hi Mahantest, &lt;BR /&gt;&lt;BR /&gt;Could you please provide us a test sample to reproduce the problem? &lt;BR /&gt;&lt;BR /&gt;(for example, including the parallel (multi-thread)structure add ippresize call, remove the UIC part?).&lt;BR /&gt;&lt;BR /&gt;I check therewas same reports before in forum:&lt;A href="http://secure-software.intel.com/en-us/forums/showthread.php?t=81551"&gt;http://secure-software.intel.com/en-us/forums/showthread.php?t=81551&lt;/A&gt;. and &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=76294"&gt;http://software.intel.com/en-us/forums/showthread.php?t=76294&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;(Ifthe codeis confident, you can use Private post. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying</description>
    <pubDate>Fri, 02 Mar 2012 03:47:25 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2012-03-02T03:47:25Z</dc:date>
    <item>
      <title>Error : Cannot set thread affinity mask</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802500#M3380</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;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.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;OMP : Error # 134 Cannot set thread affinity mask.&lt;/DIV&gt;&lt;DIV&gt;OMP : System error #87 : The parameter is incorrect.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Can someone explain why these errors occur and the ways the solve these. Also these erros we have seen in 32 bit Win7.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 Feb 2012 10:11:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802500#M3380</guid>
      <dc:creator>mahantesh</dc:creator>
      <dc:date>2012-02-24T10:11:18Z</dc:date>
    </item>
    <item>
      <title>Error : Cannot set thread affinity mask</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802501#M3381</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1330092779718="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=434307" href="https://community.intel.com/en-us/profile/434307/" class="basic"&gt;mahantesh&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;...&lt;BR /&gt;OMP : &lt;STRONG&gt;System error #87&lt;/STRONG&gt; : The parameter is incorrect&lt;BR /&gt;...&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;'&lt;STRONG&gt;Parameter is incorrect&lt;/STRONG&gt;' - ERROR_INVALID_PARAMETER&lt;BR /&gt;&lt;BR /&gt;It is returned by '&lt;STRONG&gt;GetLastError&lt;/STRONG&gt;' &lt;STRONG&gt;Win32&lt;/STRONG&gt; API function and take a look at &lt;STRONG&gt;MSDN&lt;/STRONG&gt; for more technical details.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2012 14:15:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802501#M3381</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-24T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Error : Cannot set thread affinity mask</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802502#M3382</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1330130825328="58" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=434307" href="https://community.intel.com/en-us/profile/434307/" class="basic"&gt;mahantesh&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;...&lt;BR /&gt;OMP : Error # 134 Cannot set thread affinity mask.&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;OMP : System error #87 : The parameter is incorrect.&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt; &lt;STRONG&gt;1&lt;/STRONG&gt;. &lt;STRONG&gt;Error #134&lt;/STRONG&gt; -A'&lt;STRONG&gt;SetThreadAffinityMask&lt;/STRONG&gt;' &lt;STRONG&gt;Win32&lt;/STRONG&gt; API function could fail if a &lt;SPAN style="text-decoration: underline;"&gt;thread handle&lt;/SPAN&gt; is&lt;BR /&gt;  invalid or a &lt;SPAN style="text-decoration: underline;"&gt;thread affinity mask&lt;/SPAN&gt; is wrong/incorrect. I think that a &lt;SPAN style="text-decoration: underline;"&gt;thread handle&lt;/SPAN&gt; was invalid.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;EM&gt;Can someone explain why these errors occur and the ways the solve these.&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;How much &lt;STRONG&gt;RAM&lt;/STRONG&gt; and &lt;STRONG&gt;VM&lt;/STRONG&gt; ( Virtual Memory )do you have on your system? Did you try to increase a size of&lt;BR /&gt;&lt;STRONG&gt;VM&lt;/STRONG&gt;? I'll try to reproduce the problem on my system.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2012 01:05:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802502#M3382</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-25T01:05:52Z</dc:date>
    </item>
    <item>
      <title>Error : Cannot set thread affinity mask</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802503#M3383</link>
      <description>Hi!&lt;DIV&gt;Try to play with KMP_AFFINITY environment variable (&lt;A href="http://software.intel.com/sites/products/documentation/studio/composer/en-us/2011/compiler_c/optaps/common/optaps_openmp_thread_affinity.htm"&gt;http://software.intel.com/sites/products/documentation/studio/composer/en-us/2011/compiler_c/optaps/common/optaps_openmp_thread_affinity.htm&lt;/A&gt;). According to description you can even disable affinity control. UIC itself does nothing with thread affinity.&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;BR /&gt;Sergey&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 26 Feb 2012 14:41:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802503#M3383</guid>
      <dc:creator>Sergey_K_Intel</dc:creator>
      <dc:date>2012-02-26T14:41:27Z</dc:date>
    </item>
    <item>
      <title>Error : Cannot set thread affinity mask</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802504#M3384</link>
      <description>&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;Quoting &lt;A jquery1330393486953="59" rel="/en-us/services/profile/quick_profile.php?is_paid=&amp;amp;user_id=353541" href="https://community.intel.com/en-us/profile/353541/" class="basic"&gt;Sergey Kostrov&lt;/A&gt;&lt;/DIV&gt;&lt;DIV style="background-color: #e5e5e5; margin-left: 2px; margin-right: 2px; border: 1px inset; padding: 5px;"&gt;&lt;I&gt;&lt;DIV id="tiny_quote"&gt;&lt;DIV style="margin-left: 2px; margin-right: 2px;"&gt;...I'll try to reproduce the problem on my system...&lt;/DIV&gt;&lt;/DIV&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;I've spent some time today and I couldn't reproduce it in an &lt;STRONG&gt;OpenMP&lt;/STRONG&gt; test application.&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Feb 2012 01:46:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802504#M3384</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2012-02-28T01:46:44Z</dc:date>
    </item>
    <item>
      <title>Error : Cannot set thread affinity mask</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802505#M3385</link>
      <description>Hi Mahantest, &lt;BR /&gt;&lt;BR /&gt;Could you please provide us a test sample to reproduce the problem? &lt;BR /&gt;&lt;BR /&gt;(for example, including the parallel (multi-thread)structure add ippresize call, remove the UIC part?).&lt;BR /&gt;&lt;BR /&gt;I check therewas same reports before in forum:&lt;A href="http://secure-software.intel.com/en-us/forums/showthread.php?t=81551"&gt;http://secure-software.intel.com/en-us/forums/showthread.php?t=81551&lt;/A&gt;. and &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=76294"&gt;http://software.intel.com/en-us/forums/showthread.php?t=76294&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;(Ifthe codeis confident, you can use Private post. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying</description>
      <pubDate>Fri, 02 Mar 2012 03:47:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802505#M3385</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2012-03-02T03:47:25Z</dc:date>
    </item>
    <item>
      <title>Error : Cannot set thread affinity mask</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802506#M3386</link>
      <description>Hello,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The fix should be available inComposer XE 2011 update 9.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hope this helps,&lt;/DIV&gt;&lt;DIV&gt;--Vladimir&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Mar 2012 11:50:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Error-Cannot-set-thread-affinity-mask/m-p/802506#M3386</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2012-03-06T11:50:18Z</dc:date>
    </item>
  </channel>
</rss>

