<?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: MKL compile/link options in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876191#M8967</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/431061"&gt;jaewonj&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;I have another question. When I profile my application that calls MKL , I see a lot of kmp* calls.&lt;BR /&gt;&lt;BR /&gt;It kind of make sense what other openmp threading related calls do such as ___kmp_fork_barrier and __kmp_launch_thread, but I do not understand what kmp_print_version is for. &lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Jaewon,&lt;BR /&gt;&lt;BR /&gt;kmp_print_version is for printing of OpenMP runtime library version information during program execution. To force application to call this function you can set KMP_VERSION environment variable to 1.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 09 Sep 2009 09:59:46 GMT</pubDate>
    <dc:creator>Andrey_C_Intel1</dc:creator>
    <dc:date>2009-09-09T09:59:46Z</dc:date>
    <item>
      <title>MKL compile/link options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876188#M8964</link>
      <description>Is there a way to check how / with which options the MKL libraries have been build?</description>
      <pubDate>Tue, 08 Sep 2009 13:53:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876188#M8964</guid>
      <dc:creator>jaewonj</dc:creator>
      <dc:date>2009-09-08T13:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: MKL compile/link options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876189#M8965</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/431061"&gt;jaewonj&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;Is there a way to check how / with which options the MKL libraries have been build?&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt; Jaewonj, it's not clear how it will help you? There is no way to share this options ..&lt;BR /&gt;--Gennady&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Sep 2009 17:05:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876189#M8965</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-09-08T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: MKL compile/link options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876190#M8966</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/334681"&gt;Gennady Fedorov (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; &lt;BR /&gt; Jaewonj, it's not clear how it will help you? There is no way to share this options ..&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Gennady,&lt;BR /&gt;&lt;BR /&gt;You're right. Never mind please. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have another question. When I profile my application that calls  MKL , I see a lot of kmp* calls.&lt;BR /&gt;&lt;BR /&gt;It kind of make sense what other openmp threading related calls do such as ___kmp_fork_barrier and __kmp_launch_thread, but I do not understand what kmp_print_version is for. &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Jaewon&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Sep 2009 18:55:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876190#M8966</guid>
      <dc:creator>jaewonj</dc:creator>
      <dc:date>2009-09-08T18:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: MKL compile/link options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876191#M8967</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/431061"&gt;jaewonj&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;I have another question. When I profile my application that calls MKL , I see a lot of kmp* calls.&lt;BR /&gt;&lt;BR /&gt;It kind of make sense what other openmp threading related calls do such as ___kmp_fork_barrier and __kmp_launch_thread, but I do not understand what kmp_print_version is for. &lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Jaewon,&lt;BR /&gt;&lt;BR /&gt;kmp_print_version is for printing of OpenMP runtime library version information during program execution. To force application to call this function you can set KMP_VERSION environment variable to 1.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Sep 2009 09:59:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876191#M8967</guid>
      <dc:creator>Andrey_C_Intel1</dc:creator>
      <dc:date>2009-09-09T09:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: MKL compile/link options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876192#M8968</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/333968"&gt;Andrey Churbanov (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; Jaewon,&lt;BR /&gt;&lt;BR /&gt;kmp_print_version is for printing of OpenMP runtime library version information during program execution. To force application to call this function you can set KMP_VERSION environment variable to 1.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Andrey,&lt;BR /&gt;&lt;BR /&gt;__kmp_print_version is present and takes a substantial amount of time in a code profiles even though that KMP_VERSION is set to FALSE (which is the default)&lt;BR /&gt;&lt;BR /&gt;What are possible the reason for that and is there any way to work around this.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Sep 2009 13:10:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876192#M8968</guid>
      <dc:creator>jaewonj</dc:creator>
      <dc:date>2009-09-10T13:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: MKL compile/link options</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876193#M8969</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/431061"&gt;jaewonj&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;__kmp_print_version is present and takes a substantial amount of time in a code profiles even though that KMP_VERSION is set to FALSE (which is the default)&lt;BR /&gt;&lt;BR /&gt;What are possible the reason for that and is there any way to work around this.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Jaewon,&lt;BR /&gt;&lt;BR /&gt;The possible reason of the fact that you see __kmp_print_version takes significant time is the lack of debug information in the OpenMP library. Its internals are hidden from the profiler which tries to do its best to show you as much information as possible. But apparently the profiler mistakenly pointed you to the function which was not called actually. This often happenswhen you profile or debug binaries those don't containgebug information.&lt;BR /&gt;&lt;BR /&gt;I don't think there is a wayto get correct source location information from optimized binaries compiled without debug information. This is true not only for Intel OpenMP library but for other binaries as well.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andrey</description>
      <pubDate>Fri, 11 Sep 2009 12:15:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876193#M8969</guid>
      <dc:creator>Andrey_C_Intel1</dc:creator>
      <dc:date>2009-09-11T12:15:20Z</dc:date>
    </item>
    <item>
      <title>I have been using Lahey</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876194#M8970</link>
      <description>&lt;P&gt;I have been using Lahey Fortran 32-bit compiler&amp;nbsp;with an old version of the MKL. Recently I tried to upgrade to the 2019.5.281 version. I used the&amp;nbsp;Intel® Math Kernel Library Link Line Advisor and saw that the only fortran compiler to select was Intel's. See attached jpg showing the selections I made. However, when I link with the suggested MKL libraries I get the 2&amp;nbsp;unresolved externals:&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;security_check_cookie@4&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&amp;nbsp;security_cookie&lt;/P&gt;&lt;P&gt;When exploring how to get around this I noticed that this can be due to the&amp;nbsp;Intel compiler switch /Gs. Since I am using Lahey Fortran is there any option to resolve this issue? I don't see any switch in Lahey that accomplishes the same thing&amp;nbsp;Otherwise I will have to continue using the older MKL version 10.2.4.032&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 20:01:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-compile-link-options/m-p/876194#M8970</guid>
      <dc:creator>Case__William</dc:creator>
      <dc:date>2019-11-18T20:01:23Z</dc:date>
    </item>
  </channel>
</rss>

