<?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 MKL library in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832104#M5719</link>
    <description>PLease find attached the whole project files. It is a rar file.</description>
    <pubDate>Sat, 17 Sep 2011 19:40:35 GMT</pubDate>
    <dc:creator>raminkh</dc:creator>
    <dc:date>2011-09-17T19:40:35Z</dc:date>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832093#M5708</link>
      <description>I am very new to MKL, I wanted to solve a linear system using "getrs" command in Intel Fortran 11.1 running in windows 7 (64 bit). Please let me know how I can do it.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Sep 2011 00:25:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832093#M5708</guid>
      <dc:creator>raminkh</dc:creator>
      <dc:date>2011-09-13T00:25:09Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832094#M5709</link>
      <description>Read the MKL documentation, and look through some of the example source codes. In fact, in the IFort 12.x and MKL 10.3 distribution there are examples of using subroutines sgetrs and dgetrs in the ...\mkl\examples\lapack\source directory.</description>
      <pubDate>Tue, 13 Sep 2011 02:04:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832094#M5709</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-13T02:04:19Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832095#M5710</link>
      <description>Could you tell me where these examples are? I have been trying to link fortran 11.1 with MKL 10.1 but have not been successful yet. Could you please add more details on how to create a link btween intel fortran 11.1 abd MKL 10.1?&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Sep 2011 02:52:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832095#M5710</guid>
      <dc:creator>raminkh</dc:creator>
      <dc:date>2011-09-13T02:52:13Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832096#M5711</link>
      <description>I cannot comment on older versions of IFort and MKL other than to say that older versions of MKL did come with plenty examples. Where they are installed depends on where you installed MKL. Below the location where MKL was installed you will find an "examples" sub-directory.&lt;BR /&gt;&lt;BR /&gt;It is particularly simple to use the Lapack-95 interfaces. With some older versions of MKL, these interfaces were not provided in pre-built form, but one could use a supplied makefile to build them. Here is an example:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[fortran]program linsolx

  use lapack95, only : getrf, getrs

  integer ipiv(3)
  double precision :: a(3,3)=reshape([2.,-1.,0.,-1.,2.,-1.,0.,-1.,2.],[3,3])
  double precision :: b(3) = ([4., 5., 6.])

  call getrf( a ,ipiv)        ! Factorize A
  call getrs( a, ipiv, b)     ! Solve A.x = b

  write(*,'(3g15.5)') b

end program linsolx
[/fortran]&lt;/PRE&gt; Compiling and linking:&lt;BR /&gt;&lt;PRE&gt;[bash]S:LANG&amp;gt; ifort /Qmkl getsX.f90 mkl_lapack95.lib
[/bash]&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Sep 2011 05:46:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832096#M5711</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-13T05:46:17Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832097#M5712</link>
      <description>&lt;P&gt;&lt;B&gt;Could you tell me where these examples are? I have been trying to link fortran 11.1 with MKL 10.1 but have not been successful yet. Could you please add more details on how to create a link btween intel fortran 11.1 abd MKL 10.1?&lt;/B&gt;&lt;/P&gt;&lt;P&gt;please see &lt;A href="http://software.intel.com/en-us/articles/which-version-of-ipp--mkl--tbb-is-installed-with-intel-compiler-professional-edition/"&gt;here &lt;/A&gt;the KB article to find outwhich versions of the Intel IPP, Intel MKL and Intel TBB libraries are included as part of theIntel Compiler Probund les V11.* based&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2011 07:44:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832097#M5712</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-09-13T07:44:04Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832098#M5713</link>
      <description>I want to use MKL library for IA 64 (Intel Fortran 11.1, MKL10.2 and Windows 7). What should I enter in input (Additional Dependencies) to be able to write "use lapack95"? and How can I find it out on my own for other functions of MKL?</description>
      <pubDate>Thu, 15 Sep 2011 02:39:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832098#M5713</guid>
      <dc:creator>raminkh</dc:creator>
      <dc:date>2011-09-15T02:39:44Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832099#M5714</link>
      <description>(Let us not confuse IA64 and Intel64).&lt;BR /&gt;&lt;BR /&gt;Add the paths corresponding to your installation and target architecture to the following configuration items in VS:&lt;BR /&gt;&lt;BR /&gt;Project:Properties:Fortran:Additional Include Directories &lt;B&gt;c:\LANG\Compiler\11.1\070\mkl\include\em64t\lp64&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;Project:Properties:Fortran:Libraries:Use Intel Math Kernel Library: &lt;B&gt;Sequential (/Qmkl:sequential)&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Project:Properties:Linker:Additional Library Directories &lt;B&gt;c:\LANG\Compiler\11.1\070\mkl\em64t\lib&lt;BR /&gt;&lt;BR /&gt;&lt;/B&gt;Note that I have installed the compiler in a different location than the default.&lt;BR /&gt;&lt;BR /&gt;How do I know? I simply look for the directory where the file &lt;B&gt;lapack95.mod&lt;/B&gt; (the module that you want to USE) exists, since the compiler has to read module files to do its job. Likewise, I look for the directory where the MKL libraries exist since the linker needs to read the library files to build the application.</description>
      <pubDate>Thu, 15 Sep 2011 10:29:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832099#M5714</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-15T10:29:35Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832100#M5715</link>
      <description>I wanted to rund the following code:&lt;BR /&gt;&lt;BR /&gt;program Console1&lt;BR /&gt;USE mkl95_LAPACK , only : getrf, getrs 
     &lt;BR /&gt;! Variables
    &lt;BR /&gt;! Body of Console1
    &lt;BR /&gt;integer ipiv(3) &lt;BR /&gt; 
    double precision :: a(3,3)=reshape([2.,-1.,0.,-1.,2.,-1.,0.,-1.,2.],[3,3])  
    &lt;BR /&gt;double precision :: b(3) = ([4., 5., 6.]) 
    &lt;BR /&gt;call getrf( a ,ipiv)        ! Factorize A  
    &lt;BR /&gt;call getrs( a, ipiv, b)     ! Solve A.x = b
    &lt;BR /&gt;print *, 'Hello World'
   &lt;BR /&gt;end program Console1

&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have done the followings:


&lt;BR /&gt;&lt;BR /&gt;fortran, general, additional include directories: c:\program files (x86)\intel\compiler\11.1\048\mkl\include\ia32\

&lt;BR /&gt;&lt;BR /&gt;fortran, preprocessor, Preprocess Source File:  Yes (/fpp)&lt;BR /&gt;&lt;BR /&gt;linker, general, additional library directives: C:\Program Files\Intel\MKL\10.2.7.040\em64t\lib

&lt;BR /&gt;&lt;BR /&gt;linker, input, additional dependencies:  mkl_lapack95_lp64.lib mkl_solver_lp64_sequential.lib mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib


&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I try to compile this code, I get the following errors, please let me know what I need to do. Please write it in the simplest way as you can:&lt;BR /&gt;&lt;BR /&gt;Error	1	 error LNK2019: unresolved external symbol _DGETRF_MKL95 referenced in function _MAIN__	Console1.obj	
&lt;BR /&gt;&lt;BR /&gt;Error	2	 error LNK2019: unresolved external symbol _DGETRS1_MKL95 referenced in function _MAIN__	Console1.obj&lt;BR /&gt;&lt;BR /&gt;Error	3	 fatal error LNK1120: 2 unresolved externals	Debug\Console1.exe</description>
      <pubDate>Fri, 16 Sep 2011 21:20:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832100#M5715</guid>
      <dc:creator>raminkh</dc:creator>
      <dc:date>2011-09-16T21:20:30Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832101#M5716</link>
      <description>&lt;I&gt;&amp;gt; fortran, general, additional include directories: c:\program files (x86)\intel\compiler\11.1\048\mkl\include\&lt;B&gt;ia32&lt;/B&gt;\&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;Do not mix 32-bit modules and 64-bit projects. The unresolved external symbols that you reported have the 32-bit decoration (leading underscore).</description>
      <pubDate>Sat, 17 Sep 2011 00:00:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832101#M5716</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-17T00:00:47Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832102#M5717</link>
      <description>I have editted the following line to be:&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt; fortran, general, additional include directories: &lt;/I&gt;C:\Program Files\Intel\MKL\10.2.7.040\include&lt;BR /&gt;&lt;BR /&gt;I am still getting the same error. Could you please let me know why?</description>
      <pubDate>Sat, 17 Sep 2011 00:14:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832102#M5717</guid>
      <dc:creator>raminkh</dc:creator>
      <dc:date>2011-09-17T00:14:49Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832103#M5718</link>
      <description>Please attach your build log file, which will help find out what went wrong. Or, display the linker command line -- it should have mkl_lapack95_lp64.lib as a library to link against.&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Sep 2011 12:24:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832103#M5718</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-17T12:24:39Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832104#M5719</link>
      <description>PLease find attached the whole project files. It is a rar file.</description>
      <pubDate>Sat, 17 Sep 2011 19:40:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832104#M5719</guid>
      <dc:creator>raminkh</dc:creator>
      <dc:date>2011-09-17T19:40:35Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832105#M5720</link>
      <description>As I suspected, you have mixed up 32-bit and 64-bit project dependencies. &lt;BR /&gt;&lt;BR /&gt;You have only Win32 targets in your project file, but you have specified the MKL 64 bit libraries as additional dependencies for that target.&lt;BR /&gt;&lt;BR /&gt;I suggest that you delete the messed up project files, and make a clean start again.&lt;BR /&gt;&lt;BR /&gt;Here are the steps:&lt;BR /&gt;&lt;BR /&gt; 1. Create a new project, type console application. Add your source file to the project.&lt;BR /&gt;&lt;BR /&gt; 2. Choose the configuration as x64, debug.&lt;BR /&gt;&lt;BR /&gt; 3. Click Project =&amp;gt; Properties =&amp;gt; Fortran =&amp;gt; Libraries, and elect to use MKL. Click "OK".&lt;BR /&gt;&lt;BR /&gt; 4. Click Project =&amp;gt; Properties =&amp;gt; Linker =&amp;gt; Input =&amp;gt; Additional Dependencies, and specify mkl_lapack95_lp64.lib. Click "OK".&lt;BR /&gt;&lt;BR /&gt; 5. Build</description>
      <pubDate>Sat, 17 Sep 2011 20:37:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832105#M5720</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-17T20:37:12Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832106#M5721</link>
      <description>Thanks alot. I just changed the configuration to X64 in my project and every thing got fixed. One last questions: Can I use MKL and IMSL at the same time?</description>
      <pubDate>Sat, 17 Sep 2011 21:27:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832106#M5721</guid>
      <dc:creator>raminkh</dc:creator>
      <dc:date>2011-09-17T21:27:11Z</dc:date>
    </item>
    <item>
      <title>MKL library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832107#M5722</link>
      <description>You can use any number of libraries, including MKL and IMSL, as appropriate. &lt;BR /&gt;&lt;BR /&gt;Note that there is considerable overlap in functionality between MKL and IMSL, e.g., routines for computing eigenvalues. In such cases, note that the interfaces and arguments can be quite different. Furthermore, many routines modify input arguments; thus, if you want to use both, you may need to save and restore such arguments as required.</description>
      <pubDate>Sat, 17 Sep 2011 21:49:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-library/m-p/832107#M5722</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-09-17T21:49:26Z</dc:date>
    </item>
  </channel>
</rss>

