<?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 Help to get started with MKL in Ubuntu in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875009#M8827</link>
    <description>&lt;P&gt;If you have a current MKL, you must take your linking advice from the link advisor at the top of the forum, not from advice posted for an earlier version.&lt;/P&gt;
&lt;P&gt;If you installed the MKL which comes with ifort, the include path ought to be taken care of by source'ing the ifortvars script. "check include path" means, for example, display the contents of the INCLUDE environment variable, and verify the file name. I see mkl_lapack.fi, which would require include 'mkl_lapack.fi' (not USE), and lapack95.mod, which may require either that you add to the include path or copy the .mod file into the main mkl include directory, should that be the one you want.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Mar 2010 14:33:50 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2010-03-08T14:33:50Z</dc:date>
    <item>
      <title>Help to get started with MKL in Ubuntu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875008#M8826</link>
      <description>&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;I have recently installed the intel Fortran compiler with MKL. The compiler works fine. I have set up a matrix, and now wish to find the eigenvalues of this matrix using MKL. I have the intel MKL users guide for linux, where i have found a linking example&lt;/P&gt;
&lt;P&gt;&lt;B&gt;ifort  -L$MKLPATH -lmkl_lapack -imkl_ia32 -lguide -lpthread&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;The code returns the error:&lt;/P&gt;
&lt;P&gt;&lt;B&gt;ld: cannot find -lmkl_ia32&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;My system is Ubuntu 9.04 (32bit) using an AMD Turion x2 CPU. I have run the setup script...mkl/tools/environment/mklvars32.sh.&lt;/P&gt;
&lt;P&gt;if i write&lt;/P&gt;
&lt;P&gt;&lt;B&gt;ifort  -L$MKLPATH -lmkl_lapack -mkl -lguide -lpthread&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;i get no error, altough i still cant link to the LAPACK package using "USE mkl_lapack" in my fortran program. It just says&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;SPAN class="sectionBody"&gt;error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MKL_LAPACK]&lt;BR /&gt;USE mkl_LAPACK&lt;/SPAN&gt;&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;any help would be greatly apreciated!&lt;/P&gt;
&lt;P&gt;- Mads Trolle&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2010 12:48:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875008#M8826</guid>
      <dc:creator>madstrolle</dc:creator>
      <dc:date>2010-03-08T12:48:23Z</dc:date>
    </item>
    <item>
      <title>Help to get started with MKL in Ubuntu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875009#M8827</link>
      <description>&lt;P&gt;If you have a current MKL, you must take your linking advice from the link advisor at the top of the forum, not from advice posted for an earlier version.&lt;/P&gt;
&lt;P&gt;If you installed the MKL which comes with ifort, the include path ought to be taken care of by source'ing the ifortvars script. "check include path" means, for example, display the contents of the INCLUDE environment variable, and verify the file name. I see mkl_lapack.fi, which would require include 'mkl_lapack.fi' (not USE), and lapack95.mod, which may require either that you add to the include path or copy the .mod file into the main mkl include directory, should that be the one you want.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2010 14:33:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875009#M8827</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-03-08T14:33:50Z</dc:date>
    </item>
    <item>
      <title>Help to get started with MKL in Ubuntu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875010#M8828</link>
      <description>&lt;P&gt;Hi Mads,&lt;/P&gt;
&lt;P&gt;1)you got&lt;B&gt;ld: cannot find -lmkl_ia32, &lt;/B&gt;because of typo: -&lt;B&gt;imkl_ia32. &lt;/B&gt;Please change as -&lt;B&gt;lmkl_ia32&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;2) error #7002: You have to point the path to the directory where *.mod files are stored ( see for example \include\em64t\lp64&lt;/P&gt;
&lt;P&gt;--Gennady&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2010 14:53:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875010#M8828</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2010-03-08T14:53:30Z</dc:date>
    </item>
    <item>
      <title>Help to get started with MKL in Ubuntu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875011#M8829</link>
      <description>&lt;P&gt;Thank you for the help!&lt;/P&gt;
&lt;P&gt;I managed to get the lapack 95 package working, thanks to you and the linking advisor page :).&lt;/P&gt;
&lt;P&gt;My line is now&lt;/P&gt;
&lt;P&gt;&lt;B&gt;ifort BandStruc.f90 -L(path to lib/32)  -I&lt;/B&gt;&lt;B&gt;(path to include/32)&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;(path to lib/32)&lt;/B&gt;&lt;B&gt;/&lt;/B&gt;&lt;B&gt;libmkl_solver_sequential.a -Wl,--start-group &lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;(path to lib/32)&lt;/B&gt;&lt;B&gt;/libmkl_intel.a &lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;(path to lib/32)&lt;/B&gt;&lt;B&gt;/libmkl_sequential.a &lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;(path to lib/32)&lt;/B&gt;&lt;B&gt;/libmkl_core.a&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;(path to lib/32)&lt;/B&gt;&lt;B&gt;/libkml_blas95.a &lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;(path to lib/32)&lt;/B&gt;&lt;B&gt;/libmkl_lapack95.a -Wl,--end-group -lpthread -p&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;This enables me to include the GEEV (find eigenvalues) function from LAPACK95 in my program. I also need some vector functions, why i included BLAS95. Now, as soon as i use e.g. the DOT function (dot product) from BLAS95 i get the error message&lt;/P&gt;
&lt;P&gt;&lt;B&gt;BandStruc.f90(1): catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;The same result if i use the intrinsic function DOT_PRODUCT, which should do the same thing.&lt;/P&gt;
&lt;P&gt;Again, any help is greatly appriciated!&lt;/P&gt;
&lt;P&gt;- Mads Trolle&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2010 21:48:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875011#M8829</guid>
      <dc:creator>madstrolle</dc:creator>
      <dc:date>2010-03-09T21:48:56Z</dc:date>
    </item>
    <item>
      <title>Help to get started with MKL in Ubuntu</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875012#M8830</link>
      <description>&lt;P&gt;This is an unpleasant surprise, but little can be done without a working example, preferably the smallest possible. Any such failure on a current compiler version is a reportable bug, regardless of the "legality" of your example. The instructions refer to filing a report using your support account on premier.intel.com. You could also show your example on the linux Fortran forum, in either a public or private post, depending on whether you like to have non-Intel people participate or not.&lt;/P&gt;
&lt;P&gt;I have run myself into cases where the compiler intrinsics for dot product misbehaved, but in my cases the corresponding MKL call worked well.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2010 00:19:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Help-to-get-started-with-MKL-in-Ubuntu/m-p/875012#M8830</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2010-03-10T00:19:47Z</dc:date>
    </item>
  </channel>
</rss>

