<?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 Same link error with : &amp;quot;.. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164297#M28126</link>
    <description>&lt;P&gt;Same link error with : "...intel64_&lt;STRONG&gt;ia32&lt;/STRONG&gt;\xilink.exe"&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 15:01:37 GMT</pubDate>
    <dc:creator>Guillaume_A_</dc:creator>
    <dc:date>2019-03-05T15:01:37Z</dc:date>
    <item>
      <title>Composer 2019 up2 -- Link error: _powf already defined in mkl_core.lib</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164294#M28123</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Since I upgraded Composer from 2018 up3 to 2019 up2 I am getting&amp;nbsp;linker errors such as:&amp;nbsp;&lt;EM&gt;libmmd.lib(libmmd.dll) : : error LNK2005: _powf already defined in mkl_core.lib(_avx512_dgetri_small.obj).&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;It appears&amp;nbsp;when I am try to compile with &lt;STRONG&gt;ICC&lt;/STRONG&gt; in &lt;STRONG&gt;32bit (/Qm32) &lt;/STRONG&gt;and disable optimization (&lt;STRONG&gt;/QOd&lt;/STRONG&gt;). It compiles and links well with&amp;nbsp;&lt;STRONG&gt;/Qm32 &lt;/STRONG&gt;and optimization options (&lt;STRONG&gt;/O3, or /O2&lt;/STRONG&gt;, ...). It also compiles and links fine in 64bit (&lt;STRONG&gt;/Qm64&lt;/STRONG&gt;) with or without optimization.&lt;/P&gt;&lt;P&gt;You may reproduce with this simple code:&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;void AvxCopulaFunction::claytonCopulaIterationF(float* correlatedUniforms,const float* notCorrelatedUniforms,const float coeff1,const int length)
{
  __pragma(ivdep)
  for (int i = 0; i &amp;lt; length; i++)
  {
    correlatedUniforms&lt;I&gt; = pow(1.0f + notCorrelatedUniforms&lt;I&gt;, coeff1);
    // double precision version of "pow" works fine !
    //correlatedUniforms&lt;I&gt; = pow(1.0 + (double)notCorrelatedUniforms&lt;I&gt;, (double)coeff1);
  }
}

int AvxCopulaFunction::inverseLUFactoredSquareMatrix(double* matrixToOverwrite,int* inputPivotVector,const int matrixRank)
{
  return LAPACKE_dgetri( LAPACK_ROW_MAJOR, matrixRank, matrixToOverwrite, matrixRank, inputPivotVector );
}&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;

&lt;P&gt;Could you please have a look ?&lt;/P&gt;
&lt;P&gt;My command lines are in attachment, let me know if you need more information.&lt;/P&gt;
&lt;P&gt;I found this topic, it is maybe related:&amp;nbsp;&lt;A href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/802037"&gt;Linker errors with Visual Fortran Compiler 19.0.1.144&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;My config: Win10 x64, Visual Studio 2013, Composer 2019 up2&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Guillaume A.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 09:51:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164294#M28123</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-03-05T09:51:29Z</dc:date>
    </item>
    <item>
      <title>Guillaume, are you linking</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164295#M28124</link>
      <description>&lt;P&gt;Guillaume, are you linking with 32 bit version of MKL?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 12:49:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164295#M28124</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-03-05T12:49:41Z</dc:date>
    </item>
    <item>
      <title>Hello Gennady,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164296#M28125</link>
      <description>&lt;P&gt;Hello Gennady,&lt;/P&gt;&lt;P&gt;According to my command line (in attachment of my first post), I use xilink from "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019\windows\bin\&lt;STRONG&gt;intel64&lt;/STRONG&gt;\xilink.exe". I guess it is the 64bit version indeed.&amp;nbsp;But I set the Path to the 32bit libs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;/LIBPATH:"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.2.190\windows\mkl\lib\&lt;STRONG&gt;ia32_win&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;I will try to link with "C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019\windows\bin\&lt;STRONG&gt;intel64_ia32&lt;/STRONG&gt;\xilink.exe"&lt;/P&gt;&lt;P&gt;Guillaume A.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 13:09:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164296#M28125</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-03-05T13:09:50Z</dc:date>
    </item>
    <item>
      <title>Same link error with : "..</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164297#M28126</link>
      <description>&lt;P&gt;Same link error with : "...intel64_&lt;STRONG&gt;ia32&lt;/STRONG&gt;\xilink.exe"&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 15:01:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164297#M28126</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-03-05T15:01:37Z</dc:date>
    </item>
    <item>
      <title>as a work around this problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164298#M28127</link>
      <description>&lt;P&gt;as a work around this problem, could you please try to uncomment the following definitions in math.h:&lt;/P&gt;&lt;P&gt;//# define ldexpf _MS_ldexpf&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;//#define powf _MS_powf&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 05:04:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164298#M28127</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-03-06T05:04:19Z</dc:date>
    </item>
    <item>
      <title>Thanks, your workaround works</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164299#M28128</link>
      <description>&lt;P&gt;Thanks, your workaround works fine&amp;nbsp;Gennady. But it is unsuitable&amp;nbsp;for&amp;nbsp;an industrial usage :)&lt;/P&gt;&lt;P&gt;Could you please confirm that there is something to fix on your (Intel) side ?&lt;/P&gt;&lt;P&gt;Guillaume A.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 09:36:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164299#M28128</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-03-06T09:36:05Z</dc:date>
    </item>
    <item>
      <title>this compiler related problem</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164300#M28129</link>
      <description>&lt;P&gt;this compiler related problem has been escalated and we will update this thread as soon as the problem will be fixed.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 03:17:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164300#M28129</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-03-08T03:17:16Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164301#M28130</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The&amp;nbsp;exact same problem appears now with Composer &lt;STRONG&gt;2019 &lt;/STRONG&gt;update &lt;STRONG&gt;5&lt;/STRONG&gt; and Visual &lt;STRONG&gt;2017&lt;/STRONG&gt; (BasePlatformToolset = &lt;STRONG&gt;V141&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;Could you fix it again please ?&lt;/P&gt;&lt;P&gt;My config: Win10 x64,&amp;nbsp;Visual Studio 2017, Composer 2019 up5. MKL on sequential Mode.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Guillaume A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 16:11:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164301#M28130</guid>
      <dc:creator>Guillaume_A_</dc:creator>
      <dc:date>2019-12-02T16:11:41Z</dc:date>
    </item>
    <item>
      <title>Guillaume,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164302#M28131</link>
      <description>&lt;P&gt;Guillaume,&lt;/P&gt;&lt;P&gt;the fix of the problem is targeted to be fixed the nearest MKL 2020 coming very soon. We will announce this release at the top of this forum.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 04:01:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1164302#M28131</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2019-12-03T04:01:21Z</dc:date>
    </item>
    <item>
      <title>PSXE 2020 up0 link error: _powf already defined in mkl_core.lib</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1207209#M30006</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;Gennady,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I'm having this error in a Fortran project. I've updated from Parallel Studio XE 2019 to 2020 up0, but the error is still there. Has it been fixed afterwards? And if not, how can I apply the workaround?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Riccardo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 06:48:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Composer-2019-up2-Link-error-powf-already-defined-in-mkl-core/m-p/1207209#M30006</guid>
      <dc:creator>Riccardo</dc:creator>
      <dc:date>2020-09-07T06:48:37Z</dc:date>
    </item>
  </channel>
</rss>

