<?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: Problems in linking to MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-in-linking-to-MKL/m-p/988463#M17894</link>
    <description>Hi
AFAIK just linking lapack32.so is not enough. You should
also link libmkl_def.so or libmkl_p4.so 
Please read MKL's documentation to get more information on this.

Regarding
usr/lib/crt1.o:In function '_start':***
/usr/lib/crt1.o(.text+0x18): unidentified reference to 'main'
error - you will get this error if you try to create an executable with file without the main function.
Use -c option to just compile the file (without main function).

cp</description>
    <pubDate>Tue, 17 Jun 2003 18:56:08 GMT</pubDate>
    <dc:creator>cp_jain</dc:creator>
    <dc:date>2003-06-17T18:56:08Z</dc:date>
    <item>
      <title>Problems in linking to MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-in-linking-to-MKL/m-p/988462#M17893</link>
      <description>I have recently downloaded Intel's MKL and installed it. But I am having problems in trying to link to the lapack32 library. Any help is appriciated. Here is sample of what I did.
&lt;I&gt;
ifc -Vaxlib -L/opt/intel/mkl60/lib/32/ -lmkl_lapack32 -lpthreads -openmp variablesize.f

9 Lines Compiled 
&lt;B&gt;/usr/lib/crt1.o:In function '_start':***
/usr/lib/crt1.o(.text+0x18): unidentified reference to 'main'&lt;/B&gt;
/opt/intel/mkl60/lib32/libmkl_lapack32.so: undefined reference to 'chemm'
/opt/intel/mkl60/lib32/libmkl_lapack32.so: undefined reference to 'sspr'
/opt/intel/mkl60/lib32/libmkl_lapack32.so: undefined reference to 'strsm'
/opt/intel/mkl60/lib32/libmkl_lapack32.so: undefined reference to 'ctrmm'
&lt;/I&gt;
etc, etc

&lt;B&gt;The above bolded errors I always get, I think this is due to not linking to the proper library&lt;/B&gt; The other errors are occuring when I try to link to lapack32 library in the mkl package. I've read through a lot of support material but to no avail any help is appriciated. Thanks</description>
      <pubDate>Tue, 10 Jun 2003 23:49:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-in-linking-to-MKL/m-p/988462#M17893</guid>
      <dc:creator>newguy</dc:creator>
      <dc:date>2003-06-10T23:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in linking to MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-in-linking-to-MKL/m-p/988463#M17894</link>
      <description>Hi
AFAIK just linking lapack32.so is not enough. You should
also link libmkl_def.so or libmkl_p4.so 
Please read MKL's documentation to get more information on this.

Regarding
usr/lib/crt1.o:In function '_start':***
/usr/lib/crt1.o(.text+0x18): unidentified reference to 'main'
error - you will get this error if you try to create an executable with file without the main function.
Use -c option to just compile the file (without main function).

cp</description>
      <pubDate>Tue, 17 Jun 2003 18:56:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-in-linking-to-MKL/m-p/988463#M17894</guid>
      <dc:creator>cp_jain</dc:creator>
      <dc:date>2003-06-17T18:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in linking to MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-in-linking-to-MKL/m-p/988464#M17895</link>
      <description>Thanks my Desi friend, it works now.</description>
      <pubDate>Tue, 17 Jun 2003 19:29:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problems-in-linking-to-MKL/m-p/988464#M17895</guid>
      <dc:creator>newguy</dc:creator>
      <dc:date>2003-06-17T19:29:05Z</dc:date>
    </item>
  </channel>
</rss>

