<?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 Link LAPACK into Fortran 90 with ifort in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-LAPACK-into-Fortran-90-with-ifort/m-p/906048#M11700</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this is probably a simple question but I just don't get it right.&lt;BR /&gt;I want to use the lapack routines coming with the intel compiler for linux. Using the IA32 version I try&lt;BR /&gt;
&lt;PRE&gt;[plain]ifort -L/opt/intel/Compiler/11.1/046/mkl/lib/32/ /opt/intel/Compiler/11.1/046/mkl/lib/32/libmkl_solver_sequential.a -I/opt/intel/Compiler/11.1/046/mkl/include/32 -I/opt/intel/Compiler/11.1/046/mkl/include  -lmkl_intel -lmkl_sequential -lmkl_core -lmkl_lapack95 -lmkl_blas95 -lmkl_lapack -lpthread test.f90[/plain]&lt;/PRE&gt;
but I get the error&lt;BR /&gt;
&lt;PRE&gt;[plain]/tmp/ifortuKuHag.o: In function `MAIN__':
test.f90:(.text+0x15e): undefined reference to `dgetrf_f95_'[/plain]&lt;/PRE&gt;
The code is just a testing one and really simple:&lt;BR /&gt;
&lt;PRE&gt;[plain]PROGRAM test

  USE lapack95

  REAL(kind=8), DIMENSION(4,4) :: x

  x = RESHAPE (source =(/34, 23, 12, 24, 14, 64, 235, 34, 23, 67, 233&amp;amp;
    , 124/), shape = (/4,4/))

  CALL getrf(x)

END PROGRAM test[/plain]&lt;/PRE&gt;
&lt;BR /&gt;What can I do? I tried to understand the documentation but I did not find any further information!&lt;BR /&gt;cheers</description>
    <pubDate>Thu, 30 Jul 2009 13:50:51 GMT</pubDate>
    <dc:creator>sebschub</dc:creator>
    <dc:date>2009-07-30T13:50:51Z</dc:date>
    <item>
      <title>Link LAPACK into Fortran 90 with ifort</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-LAPACK-into-Fortran-90-with-ifort/m-p/906048#M11700</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this is probably a simple question but I just don't get it right.&lt;BR /&gt;I want to use the lapack routines coming with the intel compiler for linux. Using the IA32 version I try&lt;BR /&gt;
&lt;PRE&gt;[plain]ifort -L/opt/intel/Compiler/11.1/046/mkl/lib/32/ /opt/intel/Compiler/11.1/046/mkl/lib/32/libmkl_solver_sequential.a -I/opt/intel/Compiler/11.1/046/mkl/include/32 -I/opt/intel/Compiler/11.1/046/mkl/include  -lmkl_intel -lmkl_sequential -lmkl_core -lmkl_lapack95 -lmkl_blas95 -lmkl_lapack -lpthread test.f90[/plain]&lt;/PRE&gt;
but I get the error&lt;BR /&gt;
&lt;PRE&gt;[plain]/tmp/ifortuKuHag.o: In function `MAIN__':
test.f90:(.text+0x15e): undefined reference to `dgetrf_f95_'[/plain]&lt;/PRE&gt;
The code is just a testing one and really simple:&lt;BR /&gt;
&lt;PRE&gt;[plain]PROGRAM test

  USE lapack95

  REAL(kind=8), DIMENSION(4,4) :: x

  x = RESHAPE (source =(/34, 23, 12, 24, 14, 64, 235, 34, 23, 67, 233&amp;amp;
    , 124/), shape = (/4,4/))

  CALL getrf(x)

END PROGRAM test[/plain]&lt;/PRE&gt;
&lt;BR /&gt;What can I do? I tried to understand the documentation but I did not find any further information!&lt;BR /&gt;cheers</description>
      <pubDate>Thu, 30 Jul 2009 13:50:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-LAPACK-into-Fortran-90-with-ifort/m-p/906048#M11700</guid>
      <dc:creator>sebschub</dc:creator>
      <dc:date>2009-07-30T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Link LAPACK into Fortran 90 with ifort</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-LAPACK-into-Fortran-90-with-ifort/m-p/906049#M11701</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
To make it simple, use only shared object MKL libraries. Don't try to mix static and shared. &lt;BR /&gt;To me also, the link advisor is confusing if you want to use shared objects. If you use static libraries, follow its advice more carefully.&lt;BR /&gt;Sorry if ifort doesn't complain about your RESHAPE source line. If you can't get a diagnostic with ifort -diag-enable sc, it would be worth a problem report.&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jul 2009 15:57:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Link-LAPACK-into-Fortran-90-with-ifort/m-p/906049#M11701</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-07-30T15:57:59Z</dc:date>
    </item>
  </channel>
</rss>

