<?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: Anyone have OpenMP working on MS Visual Studio 2008 SP1 x64 in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904474#M4353</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/448925"&gt;mike56&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;
Have you made it working? I tried it and it works fine on my computer. &lt;BR /&gt;&lt;BR /&gt;It sounds like that you might have not installed vc redistribution package. You might want to use static library instead of dynamic link library under "code generation-&amp;gt;run time library"&lt;BR /&gt;</description>
    <pubDate>Mon, 16 Nov 2009 18:58:30 GMT</pubDate>
    <dc:creator>Hanyou_Chu</dc:creator>
    <dc:date>2009-11-16T18:58:30Z</dc:date>
    <item>
      <title>Anyone have OpenMP working on MS Visual Studio 2008 SP1 x64?</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904470#M4349</link>
      <description>I'm trying to run some basic openmp examples with MS Visual Studio 2008 SP1 x64. My next step is to install the intel c++ compiler but I'd rather get it working with VS2008 only because then I'm sure I will have problems when I write Matlab MEX files with openMP x64.&lt;BR /&gt;&lt;BR /&gt;I start a new Win32 console project with VS2008 SP1. I then add the x64 configuration in the configuration manager. I then add under Project Properties/Configuration Properties/C/C++/Langauage and change OpenMP Support to "Yes /openmp"&lt;BR /&gt;&lt;BR /&gt;The application compiles fine but when I run it I get the error: &lt;BR /&gt;"Unable to start program ....&lt;BR /&gt;This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors."&lt;BR /&gt;&lt;BR /&gt;What am I doing wrong? Does microsoft visual c++ 2008 doesn't support x64 openmp and it's win32 only?&lt;BR /&gt;&lt;BR /&gt;#include "stdafx.h"&lt;BR /&gt;#include &lt;OMP.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main (int argc, char *argv[]) {&lt;BR /&gt;int th_id, nthreads;&lt;BR /&gt;#pragma omp parallel private(th_id)&lt;BR /&gt;{&lt;BR /&gt;th_id = omp_get_thread_num();&lt;BR /&gt;printf("Hello World from thread %d\n", th_id);&lt;BR /&gt;#pragma omp barrier&lt;BR /&gt;if ( th_id == 0 ) {&lt;BR /&gt;nthreads = omp_get_num_threads();&lt;BR /&gt;printf("There are %d threads\n",nthreads);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;/STDIO.H&gt;&lt;/OMP.H&gt;</description>
      <pubDate>Fri, 23 Oct 2009 22:43:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904470#M4349</guid>
      <dc:creator>mike56</dc:creator>
      <dc:date>2009-10-23T22:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have OpenMP working on MS Visual Studio 2008 SP1 x64</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904471#M4350</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
These topics have been covered on the Intel Windows Fortran and, to some extent, the C++ forum. If you haven't installed both the C++ option and its sub-option for X64 in the Visual Studio install configuration, then, yes, you will be limited to 32-bit development. You may want to return to the VS installation modification to fix this. I don't know if the SP1 modifications will come in automatically, but it's worth the effort to assure they are added afterwards.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Oct 2009 23:05:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904471#M4350</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-10-23T23:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have OpenMP working on MS Visual Studio 2008 SP1 x64</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904472#M4351</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;I have installed the C++ option and I explicitly chose to install the X64 Compiler and Tools. I can compile and run x64 applications fine. I can compile x64 OPENMP applications but not run them.&lt;BR /&gt;&lt;BR /&gt;I installed Intel C++ for x64 and openmp is now working fine but I select Visual C++ then x64 doesn't work.&lt;BR /&gt;&lt;BR /&gt;Do other people have OpenMP x64 working with Visual C++ only? Thanks.&lt;BR /&gt;&lt;BR /&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/367365"&gt;tim18&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; These topics have been covered on the Intel Windows Fortran and, to some extent, the C++ forum. If you haven't installed both the C++ option and its sub-option for X64 in the Visual Studio install configuration, then, yes, you will be limited to 32-bit development. You may want to return to the VS installation modification to fix this. I don't know if the SP1 modifications will come in automatically, but it's worth the effort to assure they are added afterwards.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Oct 2009 18:42:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904472#M4351</guid>
      <dc:creator>mike56</dc:creator>
      <dc:date>2009-10-26T18:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have OpenMP working on MS Visual Studio 2008 SP1 x64</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904473#M4352</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
If you're asking for a guess as to why VC9 might compile with /openmp but not run, it might be that you didn't set /openmp at link step, or otherwise link against vcomp.lib or vcompd.lib. You're not giving even minimum information. If you do&lt;BR /&gt;dumpbin /dependents yourbuild.exe&lt;BR /&gt;you would see which dlls are required at run time (vcomp90.dll expected). Then, if (64-bit, if that's your /machine setting) vcomp90.dll isn't on path, when you run you should get "...VCOMP90.DLL: cannot open ....."&lt;BR /&gt;You should find both 32- and 64-bit versions of that dll in your Visual Studio installation, under VC9redist, both non-debug vcomp90 and non-redistributable vcomp90d.&lt;BR /&gt;I'll leave it up to you to deal with why redist libraries don't get on the search path automatically. I give up and copy vcomp90.dll to where I need it, when comparing its performance to libiomp5.dll. It's far off topic here how to make Microsoft alternatives work as conveniently as Intel ones.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Oct 2009 19:39:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904473#M4352</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-10-26T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have OpenMP working on MS Visual Studio 2008 SP1 x64</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904474#M4353</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/448925"&gt;mike56&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;
Have you made it working? I tried it and it works fine on my computer. &lt;BR /&gt;&lt;BR /&gt;It sounds like that you might have not installed vc redistribution package. You might want to use static library instead of dynamic link library under "code generation-&amp;gt;run time library"&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Nov 2009 18:58:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904474#M4353</guid>
      <dc:creator>Hanyou_Chu</dc:creator>
      <dc:date>2009-11-16T18:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have OpenMP working on MS Visual Studio 2008 SP1 x64</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904475#M4354</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/445551"&gt;Hanyou Chu&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;
Have you made it working? I tried it and it works fine on my computer. &lt;BR /&gt;&lt;BR /&gt;It sounds like that you might have not installed vc redistribution package. You might want to use static library instead of dynamic link library under "code generation-&amp;gt;run time library"&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 26 Nov 2009 14:07:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904475#M4354</guid>
      <dc:creator>mahmoudgalal1985</dc:creator>
      <dc:date>2009-11-26T14:07:54Z</dc:date>
    </item>
    <item>
      <title>Anyone have OpenMP working on MS Visual Studio 2008 SP1 x64?</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904476#M4355</link>
      <description>Spent a lot of time solving the same problem... and found that the solution is available and&lt;A href="http://webcache.googleusercontent.com/search?q=cache:B3rTlIzJ0_YJ:blog.johanseland.com/2010/08/running-64-bit-openmp-debug-builds.html+visual+studio+2008+64+bit+openmp+manifest+problem&amp;amp;cd=1&amp;amp;hl=en&amp;amp;ct=clnk&amp;amp;source=www.google.com"&gt;described here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Hope it will be found by anyone looking for it.&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Aug 2011 15:16:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904476#M4355</guid>
      <dc:creator>Victoria_Z_Intel</dc:creator>
      <dc:date>2011-08-17T15:16:14Z</dc:date>
    </item>
    <item>
      <title>&gt;&gt;What am I doing wrong? Does</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904477#M4356</link>
      <description>&amp;gt;&amp;gt;What am I doing wrong? Does microsoft visual c++ 2008 doesn't support x64 openmp and it's win32 only?

I've been working with VS 2008 PE ( Professional Edition ) since 2008 and I've been using OpenMP a lot in my codes. It works regardless of configuration selected, that is 32-bit or 64-bit.

So, for all developers who could experience that problem I would suggest to verify how VS 2008 PE was installed.

There is another problem, however related to VS 2008 EE ( Express Edition ), but it is a different story. In VS 2008 EE OpenMP libraries are Not available for Debug configuration ( OpenMP functionality is Not available at Run-Time ) , but everything is perfect in Release configuration.</description>
      <pubDate>Sat, 16 Jan 2016 18:17:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Anyone-have-OpenMP-working-on-MS-Visual-Studio-2008-SP1-x64/m-p/904477#M4356</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2016-01-16T18:17:32Z</dc:date>
    </item>
  </channel>
</rss>

