<?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 static link to IMSL in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915573#M84161</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have IVF Pro 10.0 with IMSL. I want static link to IMSL since IMSL_DLL.dll is too big. So in the .f90 file, I have:&lt;BR /&gt;USE imsl_libraries &lt;BR /&gt;INCLUDE 'link_fnl_static.h'&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;It compiled OK, but the linker gives the following errors, please help! Thx in advance.&lt;BR /&gt;&lt;BR /&gt;imsls_err.lib(e1inpl.obj) : error LNK2019: unresolved external symbol ___kmpc_global_thread_num referenced in function _E1INPL&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1prt.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(n1rgb.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1sti.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1std.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(umach.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1stl.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(n1rcd.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1pop.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1mes.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1inpl.obj) : error LNK2019: unresolved external symbol ___kmpc_threadprivate_cached referenced in function _E1INPL&lt;BR /&gt;imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1prt.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(n1rgb.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1sti.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1std.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(umach.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1stl.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(n1rcd.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1pop.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1mes.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_critical referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_flush referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_end_critical referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___
kmpc_set_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_set_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_unset_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_unset_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_init_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_init_nest_lock referenced in function _E1LOCK&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 28 Feb 2008 16:55:52 GMT</pubDate>
    <dc:creator>fred_ivf</dc:creator>
    <dc:date>2008-02-28T16:55:52Z</dc:date>
    <item>
      <title>static link to IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915573#M84161</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have IVF Pro 10.0 with IMSL. I want static link to IMSL since IMSL_DLL.dll is too big. So in the .f90 file, I have:&lt;BR /&gt;USE imsl_libraries &lt;BR /&gt;INCLUDE 'link_fnl_static.h'&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;It compiled OK, but the linker gives the following errors, please help! Thx in advance.&lt;BR /&gt;&lt;BR /&gt;imsls_err.lib(e1inpl.obj) : error LNK2019: unresolved external symbol ___kmpc_global_thread_num referenced in function _E1INPL&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1prt.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(n1rgb.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1sti.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1std.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(umach.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1stl.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(n1rcd.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1pop.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1mes.obj) : error LNK2001: unresolved external symbol ___kmpc_global_thread_num&lt;BR /&gt;imsls_err.lib(e1inpl.obj) : error LNK2019: unresolved external symbol ___kmpc_threadprivate_cached referenced in function _E1INPL&lt;BR /&gt;imsls_err.lib(e1init.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1prt.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(n1rgb.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1ucs.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1sti.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1std.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(umach.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1stl.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1psh.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(n1rcd.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1pop.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1mes.obj) : error LNK2001: unresolved external symbol ___kmpc_threadprivate_cached&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_critical referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_flush referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_end_critical referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___
kmpc_set_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_set_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_unset_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_unset_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol ___kmpc_init_nest_lock referenced in function _E1LOCK&lt;BR /&gt;imsls_err.lib(e1lock.obj) : error LNK2019: unresolved external symbol _omp_init_nest_lock referenced in function _E1LOCK&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Feb 2008 16:55:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915573#M84161</guid>
      <dc:creator>fred_ivf</dc:creator>
      <dc:date>2008-02-28T16:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: static link to IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915574#M84162</link>
      <description>Either add the option /Qopenmp or (and I would recomemnd) add this line after the INCLUDE in one source:&lt;BR /&gt;&lt;BR /&gt;!DEC$ OBJCOMMENT lib:"libguide.lib"&lt;BR /&gt;&lt;BR /&gt;The reason for this is that the IMSL library uses OpenMP, but for some reason they chose to recommend that users add /Qopenmp rather than adding the library to the include file.&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Feb 2008 18:23:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915574#M84162</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2008-02-28T18:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: static link to IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915575#M84163</link>
      <description>Thanks, Steve! That did the trick.&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Feb 2008 19:11:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915575#M84163</guid>
      <dc:creator>fred_ivf</dc:creator>
      <dc:date>2008-02-28T19:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: static link to IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915576#M84164</link>
      <description>Hi Steve and all, &lt;BR /&gt;I had the same problem using &lt;STRONG&gt;IMSL.&lt;BR /&gt;&lt;/STRONG&gt;I did the trick of using &lt;STRONG&gt;/QopenMP&lt;/STRONG&gt; on the project properties.&lt;BR /&gt;It did compile however, now I am having meaningless result. When I use a basic function without IMSL and without openMP the results are fine.&lt;BR /&gt;DO you have an idea of where this is coming from?&lt;BR /&gt;I saw one thread about &lt;STRONG&gt;"Roundoff error in OpenMP"&lt;/STRONG&gt; but I do not know how to implement it since I do not have an idea of which variables need to be made private.&lt;BR /&gt;Also when I uses &lt;STRONG&gt;!DEC$ OBJCOMMENT lib:"libguide.lib"&lt;/STRONG&gt; it says that it cannot find the lib.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help,&lt;BR /&gt;Samba.</description>
      <pubDate>Thu, 23 Dec 2010 11:11:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915576#M84164</guid>
      <dc:creator>Samba_Ba1</dc:creator>
      <dc:date>2010-12-23T11:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: static link to IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915577#M84165</link>
      <description>Samba, your problem description is too generic for me to help with. As for libguide.lib, as of version 11.0 that should be libiomp5mt.lib (if you want to always link statically), or use /Qopenmp /Qopenmp-link:static</description>
      <pubDate>Thu, 23 Dec 2010 18:47:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915577#M84165</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-12-23T18:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: static link to IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915578#M84166</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;I indeed saw in one of the thread a replacement of libguide.lib by libiomp5mt.lib. &lt;BR /&gt;It did compile but I still have meaningless values.&lt;BR /&gt;I will try to reproduce the error with a shorter version of the code that I can post.&lt;BR /&gt;&lt;BR /&gt;THanks in advance</description>
      <pubDate>Thu, 23 Dec 2010 18:54:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915578#M84166</guid>
      <dc:creator>Samba_Ba1</dc:creator>
      <dc:date>2010-12-23T18:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: static link to IMSL</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915579#M84167</link>
      <description>&lt;P&gt;Hi Steve,&lt;BR /&gt;&lt;BR /&gt;I managed to reproduce the code in a simple example.&lt;BR /&gt;Note that I am using an intel dual core machine on windows XP.&lt;BR /&gt;The project was a visual studio 2010 project using intel composer 12.&lt;BR /&gt;When you run the code with /QopenMP (properties &amp;gt; Fortran&amp;gt; Language &amp;gt; Process OpenMP Directives)&lt;BR /&gt;and without it, you do not have the same answer on the local matrix.&lt;BR /&gt;&lt;BR /&gt;THanks for your help,&lt;BR /&gt;Samba.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Dec 2010 15:20:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/static-link-to-IMSL/m-p/915579#M84167</guid>
      <dc:creator>Samba_Ba1</dc:creator>
      <dc:date>2010-12-24T15:20:47Z</dc:date>
    </item>
  </channel>
</rss>

