<?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:'undefined reference to...' Error when compling inlinux in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-Error-when-compling-in-linux/m-p/1412975#M33621</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;I solved it. Thank you very much for taking a look!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved. Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Sep 2022 06:15:20 GMT</pubDate>
    <dc:creator>VidyalathaB_Intel</dc:creator>
    <dc:date>2022-09-06T06:15:20Z</dc:date>
    <item>
      <title>'undefined reference to...' Error when compling in linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-Error-when-compling-in-linux/m-p/1412737#M33615</link>
      <description>&lt;P&gt;My program is just simple, calculate inverse matrix by using mkl libraries.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the following ifort command to compile:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ifort -c -qopenmp -I$/openmp/intel/oneapi/mkl/2022.1.0/include/intel64/ilb64-m64 -DMKL_ILP64 -i8  -I"$/opt/intel/oneapi/mkl/2022.1.0/include" -fpp -nologo -O3 -Os -parallel -heap-arrays[0] -qopenmp testmkl.f90
ifort -o testmkl testmkl.o
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following error appears:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;testmkl.o: In function `inversematrixd_': testmkl.f90:(.text+0x97):

undefined reference to `dgetrf_' testmkl.f90:(.text+0xbc):

undefined reference to `dgetri_' testmkl.o: In function `MAIN__': testmkl.f90:(.text+0x12f): undefined reference to `__kmpc_begin' testmkl.f90:(.text+0x149):

undefined reference to `__kmpc_ok_to_fork' testmkl.f90:(.text+0x17d):

undefined reference to `__kmpc_fork_call' testmkl.f90:(.text+0x1c0):

undefined reference to `__kmpc_end' testmkl.f90:(.text+0x262):

undefined reference to `__kmpc_for_static_init_8' testmkl.f90:(.text+0x2b5):

undefined reference to `__kmpc_for_static_fini'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me! Sorry, I am just a beginner so please instruct me step by step!&lt;/P&gt;
&lt;P&gt;Thank you very much!&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 08:33:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-Error-when-compling-in-linux/m-p/1412737#M33615</guid>
      <dc:creator>nvh10</dc:creator>
      <dc:date>2022-09-05T08:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: 'undefined reference to...' Error when compling in linux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-Error-when-compling-in-linux/m-p/1412936#M33620</link>
      <description>&lt;P&gt;I solved it. Thank you very much for taking a look!&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ifort -qopenmp -I$/openmp/intel/oneapi/mkl/2022.1.0/include/intel64/ilb64-m64 -DMKL_ILP64 -i8  -I"$/opt/intel/oneapi/mkl/2022.1.0/include" -fpp -qmkl -nologo -O3 -Os -parallel -heap-arrays[0] testmkl.f90 -o testmkl&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 06 Sep 2022 01:30:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-Error-when-compling-in-linux/m-p/1412936#M33620</guid>
      <dc:creator>nvh10</dc:creator>
      <dc:date>2022-09-06T01:30:57Z</dc:date>
    </item>
    <item>
      <title>Re:'undefined reference to...' Error when compling inlinux</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-Error-when-compling-in-linux/m-p/1412975#M33621</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;I solved it. Thank you very much for taking a look!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved. Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Nice Day!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Sep 2022 06:15:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-Error-when-compling-in-linux/m-p/1412975#M33621</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2022-09-06T06:15:20Z</dc:date>
    </item>
  </channel>
</rss>

