<?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:MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1519096#M35006</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing the details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try executing your code using the latest version of Intel oneMKL under the supported environment as mentioned in the below system requirements link and let us know if the issue persists?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/system-requirements/oneapi-math-kernel-library-system-requirements.html" rel="noopener noreferrer" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/system-requirements/oneapi-math-kernel-library-system-requirements.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, please find the below link for the supported Intel oneAPI versions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/release-notes/oneapi-supported-product-versions.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/release-notes/oneapi-supported-product-versions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 30 Aug 2023 17:10:38 GMT</pubDate>
    <dc:creator>VarshaS_Intel</dc:creator>
    <dc:date>2023-08-30T17:10:38Z</dc:date>
    <item>
      <title>MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1516761#M34978</link>
      <description>&lt;P&gt;The make command is:&lt;/P&gt;&lt;P&gt;cmake -DBLA_STATIC=ON ..（no error）&lt;/P&gt;&lt;P&gt;make install（error）&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;opt/intel/mkl/lib&lt;/SPAN&gt;/intel64/libmkl_core.a(dsytrf.o): In function 'mkl_lapack_dsytrf':&lt;/P&gt;&lt;P&gt;dsytrf_gen.f:(.test+0x430): undefined reference to "mkl_lapack_dlasyf"&lt;/P&gt;&lt;P&gt;dsytrf_gen.f:(.test+0x6a5): undefined reference to "mkl_lapack_dlasyf"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;opt/intel/mkl/lib&lt;/SPAN&gt;/intel64libmkl_core.a(dsygst.o): In function 'mkl_lapack_dsygst':&lt;/P&gt;&lt;P&gt;dsygst_gen.f:(.test+0x320): undefined reference to "mkl_blas_dsyr2k"&lt;/P&gt;&lt;P&gt;dsygst_gen.f:(.test+0x675): undefined reference to "mkl_blas_dsyr2k"&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not p&lt;SPAN&gt;asted all error functions. All the errors point to the same static lib file:opt/intel/mkl/intel64/libmkl_core.a.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have obtained some help from&amp;nbsp;&lt;A href="https://www.intel.cn/content/www/cn/zh/developer/tools/oneapi/onemkl-link-line-advisor.html" target="_blank" rel="noopener"&gt;https://www.intel.cn/content/www/cn/zh/developer/tools/oneapi/onemkl-link-line-advisor.html&lt;/A&gt;. After many attempts, cmake(cmake -DBLA_STATIC=ON ..) and make still exists error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am very confused that I have added&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Wl,--start-group&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;opt/intel/mkl/lib/intel64/libmkl_intel_ilp64.a &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;opt/intel/mkl/lib/intel64/libmkl_sequential.a &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;opt/intel/mkl/lib/intel64/libmkl_core.a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Wl,--end-group&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in the function target_link_libraries(object lib) in the CMakeLists.txt of the object file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it possible that I should add the MKLROOT file to other sub-objects linked by the current top-object? In fact I have added the three MKLROOT file into&amp;nbsp;target_link_libraries(sub-objects MKLROOT.a) of all sub-objects. And the error still occurs.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't know what happens and which file should I review or recheck to find the error comes from?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 07:15:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1516761#M34978</guid>
      <dc:creator>Junru_Zhang</dc:creator>
      <dc:date>2023-08-23T07:15:44Z</dc:date>
    </item>
    <item>
      <title>Re:MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1517230#M34992</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel Communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know the OS details, and Intel MKL version you are using?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, could you please provide us with a sample reproducer code and CMakeLists you are using to reproduce your issue at our end?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2023 13:58:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1517230#M34992</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-08-24T13:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1517557#M34993</link>
      <description>&lt;P&gt;The OS detail I use is Red Hat Enterprise Linux Server release 7.5 (Maipo).&amp;nbsp;&lt;SPAN&gt;Intel MKL version I use is 2019.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Later I will produce one simple sample later to test the static lib linking and if error still occur, I will tell you about it.&lt;/P&gt;&lt;P&gt;Now can you tell me&amp;nbsp;&lt;SPAN&gt;which file should I review or recheck to find the error comes from when error happens?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or maybe you have found something from above error under the given OS detail or MKL version?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you have any idea, you can tell me to try. And I will feedback to you as soon as possible.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 07:20:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1517557#M34993</guid>
      <dc:creator>Junru_Zhang</dc:creator>
      <dc:date>2023-08-25T07:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1518988#M35004</link>
      <description>&lt;P&gt;My codes will also link dynamic .so files. I want my codes to link the specified static dynamic .a files. It seems that it is invalid to set target_link_libraries(objects MKLROOT.a).&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 10:19:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1518988#M35004</guid>
      <dc:creator>Junru_Zhang</dc:creator>
      <dc:date>2023-08-30T10:19:20Z</dc:date>
    </item>
    <item>
      <title>Re:MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1519096#M35006</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing the details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try executing your code using the latest version of Intel oneMKL under the supported environment as mentioned in the below system requirements link and let us know if the issue persists?&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/system-requirements/oneapi-math-kernel-library-system-requirements.html" rel="noopener noreferrer" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/system-requirements/oneapi-math-kernel-library-system-requirements.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Also, please find the below link for the supported Intel oneAPI versions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/release-notes/oneapi-supported-product-versions.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/release-notes/oneapi-supported-product-versions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Aug 2023 17:10:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1519096#M35006</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-08-30T17:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1519579#M35014</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Varsha，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apart from downloading the newest oneAPI toolkit including MKL packages,&amp;nbsp;Is there any other way to ensure my program to successfully link static library files?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2023 04:40:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1519579#M35014</guid>
      <dc:creator>Junru_Zhang</dc:creator>
      <dc:date>2023-09-01T04:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1520940#M35050</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be great if you could provide us with the sample reproducer code and CMakeLists.txt to investigate more from our end. Also, for static linking, you can use &lt;A href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html" target="_blank" rel="noopener"&gt;Intel Link Line Advisor &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For more details regarding linking with Intel Architecture, please find the below link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2023-2/linking-on-intel-r-64-architecture-systems.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/docs/onemkl/developer-guide-windows/2023-2/linking-on-intel-r-64-architecture-systems.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Varsha&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 03:49:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1520940#M35050</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-09-06T03:49:01Z</dc:date>
    </item>
    <item>
      <title>Re:MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1522864#M35102</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please provide us with an update on your issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Sep 2023 07:18:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1522864#M35102</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-09-12T07:18:38Z</dc:date>
    </item>
    <item>
      <title>Re:MAKE return error: libmkl_core.a(dsytrf.a): undefined reference to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1525725#M35145</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Could you please provide us with an update on your issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Varsha&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Sep 2023 09:19:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MAKE-return-error-libmkl-core-a-dsytrf-a-undefined-reference-to/m-p/1525725#M35145</guid>
      <dc:creator>VarshaS_Intel</dc:creator>
      <dc:date>2023-09-20T09:19:52Z</dc:date>
    </item>
  </channel>
</rss>

