<?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 OpenMP unresolved Links in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810366#M42349</link>
    <description>Yes, we are use /iface:cvf.&lt;BR /&gt;&lt;BR /&gt;I am confused in that if this is a source code issue why my colleague does not experience this issue. I have looked at the source and instead of using the OMP_LIB as you suggest, it decalrease the OMP_GET_THREAD_NUM function as an integer.&lt;BR /&gt;&lt;BR /&gt;EDIT:&lt;BR /&gt;I modified the source and removed the integer declaration and added USE OMP_LIB in the source code and the issue is resolved. For our own understanding though, I would like to know why this is not an issue with my colleagues build environment and is for mine (is it the compiler build or something else?)&lt;BR /&gt;&lt;BR /&gt;Thank you for the help.</description>
    <pubDate>Tue, 14 Feb 2012 22:25:03 GMT</pubDate>
    <dc:creator>Kelli_Hendrickson</dc:creator>
    <dc:date>2012-02-14T22:25:03Z</dc:date>
    <item>
      <title>OpenMP unresolved Links</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810363#M42346</link>
      <description>If this is a duplicate post, I apologize.&lt;BR /&gt;&lt;BR /&gt;A colleague and I have the same source code and solutions using MSV 2010. When I compile with /Qopenmp, I get the following error for only this omp call&lt;BR /&gt;&lt;BR /&gt;error LNK2001: unresolved external symbol _OMP_GET_THREAD_NUM@0&lt;BR /&gt;&lt;BR /&gt;As far as we can tell, the only difference is in the Build Environment. My colleague is using Build6 released in August and I am using Build8 released in December. The only other difference as far as I can tell is that my MSV was upgraded to SP1 for other project reasons. The details of the two installs are appended below.&lt;BR /&gt;&lt;BR /&gt;Now, MSV SP1 broke the C compilers installed with Windows SDK 7.1, so I am concerned that it might have broken something with IVF. I did try and do a repair of the installation with no change. &lt;BR /&gt;&lt;BR /&gt;Is there a specific place to look to ensure the openmp libraries are included? Or another starting point to try and determine where the installations differ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Kelli&lt;BR /&gt;&lt;BR /&gt;My installation:&lt;BR /&gt;&lt;P&gt;Microsoft Visual Studio 2010&lt;/P&gt;&lt;P&gt;Version 10.0.40219.1 SP1Rel&lt;/P&gt;&lt;P&gt;Microsoft .NET Framework&lt;/P&gt;&lt;P&gt;Version 4.0.30319 SP1Rel&lt;/P&gt;&lt;P&gt;Installed Version: IDE Standard&lt;/P&gt;&lt;P&gt;Microsoft Visual Web Developer 2010 01011-532-2002361-70757&lt;/P&gt;&lt;P&gt;Microsoft Visual Web Developer 2010&lt;/P&gt;&lt;P&gt;Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2542054) KB2542054&lt;/P&gt;&lt;P&gt;This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.&lt;/P&gt;&lt;P&gt;If you later install a more recent service pack, this hotfix will be uninstalled automatically.&lt;/P&gt;&lt;P&gt;For more information, visit &lt;A href="http://support.microsoft.com/kb/2542054" target="_blank"&gt;http://support.microsoft.com/kb/2542054&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hotfix for Visual Studio 2010 Shell (Integrated) - ENU (KB2548139) KB2548139&lt;/P&gt;&lt;P&gt;This hotfix is for Visual Studio 2010 Shell (Integrated) - ENU.&lt;/P&gt;&lt;P&gt;If you later install a more recent service pack, this hotfix will be uninstalled automatically.&lt;/P&gt;&lt;P&gt;For more information, visit &lt;A href="http://support.microsoft.com/kb/2548139" target="_blank"&gt;http://support.microsoft.com/kb/2548139&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hotfix for Visual Studio 2010 Shell (Integrated) - ENU (KB2549864) KB2549864&lt;/P&gt;&lt;P&gt;This hotfix is for Visual Studio 2010 Shell (Integrated) - ENU.&lt;/P&gt;&lt;P&gt;If you later install a more recent service pack, this hotfix will be uninstalled automatically.&lt;/P&gt;&lt;P&gt;For more information, visit &lt;A href="http://support.microsoft.com/kb/2549864" target="_blank"&gt;http://support.microsoft.com/kb/2549864&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hotfix for Visual Studio 2010 Shell (Integrated) - ENU (KB2635973) KB2635973&lt;/P&gt;&lt;P&gt;This hotfix is for Visual Studio 2010 Shell (Integrated) - ENU.&lt;/P&gt;&lt;P&gt;If you later install a more recent service pack, this hotfix will be uninstalled automatically.&lt;/P&gt;&lt;P&gt;For more information, visit &lt;A href="http://support.microsoft.com/kb/2635973" target="_blank"&gt;http://support.microsoft.com/kb/2635973&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Intel Visual Fortran Package ID: w_fcompxe_2011.8.278&lt;/P&gt;&lt;P&gt;Intel Visual Fortran Composer XE 2011 Update 8 Integration for Microsoft Visual Studio* 2010, 12.1.3520.2010, Copyright (C) 2002-2011 Intel Corporation&lt;/P&gt;&lt;P&gt;* Other names and brands may be claimed as the property of others.&lt;/P&gt;&lt;P&gt;Intel Inspector XE 2011 Update 7 &lt;/P&gt;&lt;P&gt;Intel Inspector XE 2011 Update 7, (build 189290), Copyright  2009-2011 Intel Corporation. All rights reserved.&lt;/P&gt;&lt;P&gt;Intel VTune Amplifier XE 2011 Update 5 &lt;/P&gt;&lt;P&gt;Intel VTune Amplifier XE 2011 Update 5, (build 186533), Copyright  2009-2011 Intel Corporation. All rights reserved.&lt;/P&gt;&lt;P&gt;Visual Studio 2010 Shell (Integrated) - ENU Service Pack 1 (KB983509) KB983509&lt;/P&gt;&lt;P&gt;This service pack is for Visual Studio 2010 Shell (Integrated) - ENU.&lt;/P&gt;&lt;P&gt;If you later install a more recent service pack, this service pack will be uninstalled automatically.&lt;/P&gt;&lt;P&gt;For more information, visit &lt;A href="http://support.microsoft.com/kb/983509" target="_blank"&gt;http://support.microsoft.com/kb/983509&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;His installation:&lt;/P&gt;&lt;P&gt;Microsoft Visual Studio 2010&lt;/P&gt;&lt;P&gt;Version 10.0.30319.1 RTMRel&lt;/P&gt;&lt;P&gt;Microsoft .NET Framework&lt;/P&gt;&lt;P&gt;Version 4.0.30319 RTMRel&lt;/P&gt;&lt;P&gt;Installed Version: IDE Standard&lt;/P&gt;&lt;P&gt;Microsoft Visual Web Developer 2010 01011-532-2002361-70861&lt;/P&gt;&lt;P&gt;Microsoft Visual Web Developer 2010&lt;/P&gt;&lt;P&gt;Intel Visual Fortran Package ID: w_fcompxe_2011.6.233&lt;/P&gt;&lt;P&gt;Intel Visual Fortran Composer XE 2011 Update 6 Integration for Microsoft Visual Studio* 2010, 12.1.3514.2010, Copyright (C) 2002-2011 Intel Corporation&lt;/P&gt;&lt;P&gt;* Other names and brands may be claimed as the property of others.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2012 18:54:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810363#M42346</guid>
      <dc:creator>Kelli_Hendrickson</dc:creator>
      <dc:date>2012-02-14T18:54:57Z</dc:date>
    </item>
    <item>
      <title>OpenMP unresolved Links</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810364#M42347</link>
      <description>Are you using /iface:cvf ?&lt;BR /&gt;&lt;BR /&gt;If so, please make sure that you have a USE OMP_LIB in your source program so that the correct&lt;BR /&gt;external name can be created.&lt;BR /&gt;&lt;BR /&gt; --Lorri</description>
      <pubDate>Tue, 14 Feb 2012 19:36:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810364#M42347</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2012-02-14T19:36:16Z</dc:date>
    </item>
    <item>
      <title>OpenMP unresolved Links</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810365#M42348</link>
      <description>Lorri has the right answer, I am sure. If you had a USE OMP_LIB you would get the correct references. I do note that the Intel OpenMP library did have, at one time, STDCALL entry points, but these never worked right and were removed. (Reference DPD200172492).</description>
      <pubDate>Tue, 14 Feb 2012 20:25:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810365#M42348</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-02-14T20:25:52Z</dc:date>
    </item>
    <item>
      <title>OpenMP unresolved Links</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810366#M42349</link>
      <description>Yes, we are use /iface:cvf.&lt;BR /&gt;&lt;BR /&gt;I am confused in that if this is a source code issue why my colleague does not experience this issue. I have looked at the source and instead of using the OMP_LIB as you suggest, it decalrease the OMP_GET_THREAD_NUM function as an integer.&lt;BR /&gt;&lt;BR /&gt;EDIT:&lt;BR /&gt;I modified the source and removed the integer declaration and added USE OMP_LIB in the source code and the issue is resolved. For our own understanding though, I would like to know why this is not an issue with my colleagues build environment and is for mine (is it the compiler build or something else?)&lt;BR /&gt;&lt;BR /&gt;Thank you for the help.</description>
      <pubDate>Tue, 14 Feb 2012 22:25:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810366#M42349</guid>
      <dc:creator>Kelli_Hendrickson</dc:creator>
      <dc:date>2012-02-14T22:25:03Z</dc:date>
    </item>
    <item>
      <title>OpenMP unresolved Links</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810367#M42350</link>
      <description>Common legacy usage often has a local declaration &lt;BR /&gt;integer omp_get_thread_num instead of relying on USE OMP_LIB as the standard demands. That would normally work if you didn't use /iface:cvf and took care to leave integer size at default. The compiler doesn't have a list of library functions which must not be affected by /iface:cvf unless you give it one by USE.&lt;BR /&gt;The most common way people get /iface:cvf in their projects is by automatic conversion from CVF. It's probably better to switch away from /iface:cvf as soon as the basic conversion is complete.</description>
      <pubDate>Tue, 14 Feb 2012 22:57:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810367#M42350</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-02-14T22:57:39Z</dc:date>
    </item>
    <item>
      <title>OpenMP unresolved Links</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810368#M42351</link>
      <description>Hard to say. But using /iface:cvf without the USE would get you that entry point.</description>
      <pubDate>Tue, 14 Feb 2012 23:57:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810368#M42351</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2012-02-14T23:57:37Z</dc:date>
    </item>
    <item>
      <title>OpenMP unresolved Links</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810369#M42352</link>
      <description>Thank you everyone. Including the library with the use statementresolved our issues and opened up an internal discussion for us on the requirement to continue to use /iface:cvf.</description>
      <pubDate>Wed, 15 Feb 2012 16:39:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/OpenMP-unresolved-Links/m-p/810369#M42352</guid>
      <dc:creator>Kelli_Hendrickson</dc:creator>
      <dc:date>2012-02-15T16:39:46Z</dc:date>
    </item>
  </channel>
</rss>

