<?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 Re: OpenMP Tasks not working. in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743219#M1228</link>
    <description>Frank,&lt;BR /&gt;I don't see a problem with your code. However, I don't have a Visual Studio* 2005 Academic version available right now; I builtthe code onVisual Studio* 2008 Team SuiteEdition under Vista x64, but I don't think that this makes a difference.&lt;BR /&gt;Which is your Composer version? The neweset is Intel Parallel Composer Update 1.063 (in the Visual Studio About dialog). &lt;BR /&gt;Could youcheck if the path to the Intel libraries (including the Intel OpenMP* runtime library libiomp5md.dll) is set correctly (look at: Tools -&amp;gt; Options -&amp;gt; Intel Parallel Composer -&amp;gt; Compilers). It should be(default): C:Program Files (x86)IntelParallel StudioComposerlibintel64 Regards,&lt;BR /&gt;Hubert.&lt;BR /&gt;</description>
    <pubDate>Fri, 28 Aug 2009 08:22:51 GMT</pubDate>
    <dc:creator>Hubert_H_Intel</dc:creator>
    <dc:date>2009-08-28T08:22:51Z</dc:date>
    <item>
      <title>OpenMP Tasks not working.</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743218#M1227</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;The following simple example does not work on my OS. I am evaluating the Parallel Studio.&lt;/P&gt;
&lt;P&gt;The project properties have OpenMP enabled.&lt;/P&gt;
&lt;P&gt;My OS is Vista x64 and the Composer is integrated into VS 2005 Academic Edition.&lt;/P&gt;
&lt;P&gt;After starting the console application it goes into an infinite loop forcing me to reboot the OS.&lt;/P&gt;
&lt;P&gt;It seems that no synchronisation points (taskwait) and termination conditions are considered.&lt;/P&gt;
&lt;P&gt;Any tips on how to solve the issue are welcome.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Frank&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;#include "stdafx.h"&lt;/P&gt;
#include &lt;CRTDBG.H&gt;&lt;BR /&gt;#include &lt;OMP.H&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;int fib(int n)&lt;BR /&gt;{&lt;BR /&gt; int i, j;&lt;BR /&gt; _RPTF1(_CRT_WARN, "Fib no = %d\n", n);&lt;BR /&gt; if (n&amp;lt;2)&lt;BR /&gt; return n;&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; #pragma omp task shared(i)&lt;BR /&gt; i=fib(n-1);&lt;BR /&gt; #pragma omp task shared(j)&lt;BR /&gt; j=fib(n-2);&lt;BR /&gt; #pragma omp taskwait&lt;BR /&gt; return i+j;&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;int _tmain(int argc, _TCHAR* argv[])&lt;BR /&gt;{&lt;BR /&gt; #pragma omp parallel&lt;BR /&gt; {&lt;BR /&gt; #pragma omp single&lt;BR /&gt; {&lt;BR /&gt; fib(20);&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OMP.H&gt;&lt;/CRTDBG.H&gt;</description>
      <pubDate>Thu, 27 Aug 2009 18:13:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743218#M1227</guid>
      <dc:creator>minimax2000</dc:creator>
      <dc:date>2009-08-27T18:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP Tasks not working.</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743219#M1228</link>
      <description>Frank,&lt;BR /&gt;I don't see a problem with your code. However, I don't have a Visual Studio* 2005 Academic version available right now; I builtthe code onVisual Studio* 2008 Team SuiteEdition under Vista x64, but I don't think that this makes a difference.&lt;BR /&gt;Which is your Composer version? The neweset is Intel Parallel Composer Update 1.063 (in the Visual Studio About dialog). &lt;BR /&gt;Could youcheck if the path to the Intel libraries (including the Intel OpenMP* runtime library libiomp5md.dll) is set correctly (look at: Tools -&amp;gt; Options -&amp;gt; Intel Parallel Composer -&amp;gt; Compilers). It should be(default): C:Program Files (x86)IntelParallel StudioComposerlibintel64 Regards,&lt;BR /&gt;Hubert.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Aug 2009 08:22:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743219#M1228</guid>
      <dc:creator>Hubert_H_Intel</dc:creator>
      <dc:date>2009-08-28T08:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP Tasks not working.</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743220#M1229</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334798"&gt;Hubert Haberstock (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Frank,&lt;BR /&gt;I don't see a problem with your code. However, I don't have a Visual Studio* 2005 Academic version available right now; I builtthe code onVisual Studio* 2008 Team SuiteEdition under Vista x64, but I don't think that this makes a difference.&lt;BR /&gt;Which is your Composer version? The neweset is Intel Parallel Composer Update 1.063 (in the Visual Studio About dialog). &lt;BR /&gt;Could youcheck if the path to the Intel libraries (including the Intel OpenMP* runtime library libiomp5md.dll) is set correctly (look at: Tools -&amp;gt; Options -&amp;gt; Intel Parallel Composer -&amp;gt; Compilers). It should be(default): C:Program Files (x86)IntelParallel StudioComposerlibintel64 Regards,&lt;BR /&gt;Hubert.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;Hello Hubert, thanks for your reply. I will check this as soon as I am at home. Furthermore I will install the Composer on my Windows XP 32-bit system and check how the application behaves there. Frank&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Aug 2009 08:31:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743220#M1229</guid>
      <dc:creator>minimax2000</dc:creator>
      <dc:date>2009-08-28T08:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP Tasks not working.</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743221#M1230</link>
      <description>&lt;DIV style="margin:0px;"&gt;Frank,&lt;BR /&gt;I don't see a problem on Windows XP* 32-bit under Visual Studio* 2005 or 2008 either.&lt;BR /&gt;You may have a look at the OpenMP* features of the Parallel Composer, the Intel Parallel Debugger Extension. In debug mode you will see a couple of OpenMP windows active (tasks, locks, barriers, teams, taskwaits).&lt;BR /&gt;Under Visual Studio 2005 you need to enable the exceptions manually, due to a technical restriction that cannot be solved:&lt;BR /&gt;Select Debug &amp;gt; Exceptions, expand the Win32 Exceptions tree, and enable items:&lt;BR /&gt;a1a01db0 Intel Parallel Debugger Extension Exception 0&lt;BR /&gt;a1a01db1 Intel Parallel Debugger Extension Exception 1&lt;BR /&gt;a1a01db2 Intel Parallel Debugger Extension Exception 2&lt;BR /&gt;This needs to be done once per project. &lt;BR /&gt;Hubert.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Aug 2009 09:08:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743221#M1230</guid>
      <dc:creator>Hubert_H_Intel</dc:creator>
      <dc:date>2009-08-28T09:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP Tasks not working.</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743222#M1231</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Hello Hubert&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Please find below my configuration.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Moreover the dependency walker reported some errors:&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.&lt;BR /&gt;Error: Modules with different CPU types were found.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Please have a look at the attachments.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Thanks for your time.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Regards&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Frank&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;-------------------------------------------------------------------------------------&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Microsoft Visual Studio 2005&lt;BR /&gt;Version 8.0.50727.867  (vsvista.050727-8600)&lt;BR /&gt;Microsoft .NET Framework&lt;BR /&gt;Version 2.0.50727 SP2&lt;BR /&gt;&lt;BR /&gt;Installed Edition: Standard&lt;BR /&gt;&lt;BR /&gt;Microsoft Visual C++ 2005   &lt;BR /&gt;&lt;BR /&gt;Version 8.0.50727.867&lt;BR /&gt;&lt;BR /&gt;Intel Parallel Composer   Update 1&lt;BR /&gt;Intel Parallel Composer Update 1 (Package ID: composer_update1.063), Copyright 2002-2009 Intel Corporation&lt;BR /&gt;&lt;BR /&gt;Microsoft Visual Studio 2005 Standard Edition - ENU Service Pack 1 (KB926601)  &lt;BR /&gt;This service pack is for Microsoft Visual Studio 2005 Standard Edition - ENU.&lt;BR /&gt;If you later install a more recent service pack, this service pack will be uninstalled automatically.&lt;BR /&gt;For more information, visit &lt;A href="http://support.microsoft.com/kb/926601" target="_blank"&gt;http://support.microsoft.com/kb/926601&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Update for Microsoft Visual Studio 2005 Standard Edition - ENU (KB932232)  &lt;BR /&gt;This Update is for Microsoft Visual Studio 2005 Standard Edition - ENU.&lt;BR /&gt;If you later install a more recent service pack, this Update will be uninstalled automatically.&lt;BR /&gt;For more information, visit &lt;A href="http://support.microsoft.com/kb/932232" target="_blank"&gt;http://support.microsoft.com/kb/932232&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Aug 2009 16:36:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743222#M1231</guid>
      <dc:creator>minimax2000</dc:creator>
      <dc:date>2009-08-28T16:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP Tasks not working.</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743223#M1232</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Hello&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;On Windows XP 32-bit the same project runs correctly. Results are correct too. Dependency walker reported no errors.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Frank&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/440063"&gt;minimax2000&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Aug 2009 13:21:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743223#M1232</guid>
      <dc:creator>minimax2000</dc:creator>
      <dc:date>2009-08-29T13:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP Tasks not working.</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743224#M1233</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Hi&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;I have some news. If I disable my firewall the debugger can connect to the win32 and x64 version of my application.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Otherwise I get an error message that the debugger cannot connect to the remote computer when trying to debug the x64 version. But what baffles me is that I want to debug locally and not remotely.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;This thread covers the same problem.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;A href="http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/945d20ae-6a48-4376-b44a-ff479d4836d6"&gt;http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/945d20ae-6a48-4376-b44a-ff479d4836d6&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;So what settings of my firewall do I have to enable to get this working? I don't want to turn off my firewall during debug sessions. I have NetBios disabled by the way.&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Frank&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/440063"&gt;minimax2000&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Sep 2009 20:05:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743224#M1233</guid>
      <dc:creator>minimax2000</dc:creator>
      <dc:date>2009-09-02T20:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: OpenMP Tasks not working.</title>
      <link>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743225#M1234</link>
      <description>&lt;DIV style="margin:0px;"&gt;Frank,&lt;BR /&gt;You can of course locally debug your application by choosing the local debugger instead of remote.&lt;BR /&gt;Project Properties -&amp;gt; Configuration Properties -&amp;gt; Debugging -&amp;gt; Choose 'Local Windows Debugger' from the Debugger to launch: drop-down menu.&lt;BR /&gt;Hubert.&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Sep 2009 06:42:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/OpenMP-Tasks-not-working/m-p/743225#M1234</guid>
      <dc:creator>Hubert_H_Intel</dc:creator>
      <dc:date>2009-09-03T06:42:31Z</dc:date>
    </item>
  </channel>
</rss>

