<?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: Error in compiling a program written in Fortran90 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856379#M7026</link>
    <description>If you have the 32-bit linux (uname shows i386), you can't use the 64-bit libraries. Those libraries work only with 64-bit linux and the 64-bit compilers (ifort fce version).&lt;BR /&gt;</description>
    <pubDate>Sun, 03 Feb 2008 14:12:35 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-02-03T14:12:35Z</dc:date>
    <item>
      <title>Error in compiling a program written in Fortran90</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856376#M7023</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;I am Takanobu Yamanobe. Recently, I have installed the Math Kernel Library 10.0.1.014 and ifort. I made a program to compute the solution to the system of linear equations with a square matrix A and multiple right-hand sides using gesv. The program is written in Fortran90. Thus I tried to compile the program by following command:&lt;/P&gt;
&lt;P&gt;ifort dgesv.f90 -L/opt/intel/mkl/10.0.1.014/lib/em64t/ -I/opt/intel/mkl/10.0.1.014/include/ -lmkl_lapack95 -lmkl_blas95&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;However, this command returns following error&lt;/P&gt;
&lt;P&gt;/tmp/ifortGlTLhE.o(.text+0xda): In function `MAIN__':&lt;BR /&gt;dgesv.f90: undefined reference to `gesv_'&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;It is very helpful that somebody tells me the source of this error. I am using Pentium4 processor machine (Dell Precision 350) and the installed OS is Suse Linux 9.3.&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Takanobu Yamanobe&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2008 07:56:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856376#M7023</guid>
      <dc:creator>yamanobe</dc:creator>
      <dc:date>2008-02-01T07:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in compiling a program written in Fortran90</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856377#M7024</link>
      <description>You would still require, in addition, the same libraries which would be needed if you didn't use lapack95 and blas95 (ilp64 or lp64, libcore, libsequential or libthread). &lt;BR /&gt;</description>
      <pubDate>Fri, 01 Feb 2008 13:46:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856377#M7024</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-02-01T13:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in compiling a program written in Fortran90</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856378#M7025</link>
      <description>&lt;P&gt;Thanks for your reply to my question.&lt;/P&gt;
&lt;P&gt;Since I am a beginner of the Math Kernel Library, Imight notunderstand how to set the linking in Intel MKL 10.0 still. I am reading the User's guide and I am trying to select the options for the linking based on figure5-1 in User's guide. It seems that the adequate libraries to link is libmkl_lapack.so libmkl.so (for Lapack, dynamic case). So, I have tried the following command:&lt;/P&gt;
&lt;P&gt;ifort dgesv.f90 -L/opt/intel/mkl/10.0.1.014/lib/em64t/ -I/opt/intel/mkl/10.0.1.014/include/ -lmkl_lapack95 -lmkl_blas95 -lmkl_lapack -lmkl_em64t&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;However, it returns the following errors:&lt;/P&gt;
&lt;P&gt;ld: skipping incompatible /opt/intel/mkl/10.0.1.014/lib/em64t//libmkl_lapack.so when searching for -lmkl_lapack&lt;BR /&gt;ld: skipping incompatible /opt/intel/mkl/10.0.1.014/lib/em64t//libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a&lt;BR /&gt;ld: skipping incompatible /opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a&lt;BR /&gt;ld: skipping incompatible /opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a&lt;BR /&gt;ld: cannot find libmkl_intel_lp64.a&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;What is wrong with this command? Which part should I read in User's guide to understandthe selection ofthelibraries? Since I spentmany days onthis problem, I acknowledge for any advices on these problems.&lt;/P&gt;
&lt;P&gt;Sincerely yours&lt;/P&gt;
&lt;P&gt;T. Yamanobe&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2008 07:51:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856378#M7025</guid>
      <dc:creator>yamanobe</dc:creator>
      <dc:date>2008-02-02T07:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error in compiling a program written in Fortran90</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856379#M7026</link>
      <description>If you have the 32-bit linux (uname shows i386), you can't use the 64-bit libraries. Those libraries work only with 64-bit linux and the 64-bit compilers (ifort fce version).&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Feb 2008 14:12:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856379#M7026</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-02-03T14:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in compiling a program written in Fortran90</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856380#M7027</link>
      <description>&lt;P&gt;&lt;FONT face="Verdana" size="1"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="1"&gt;You mention you're using a Pentium 4 so you'll need to be linking libraries from the lib/32 directory instead of lib/em64t directory.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="1"&gt;Also, to use the Fortran-95 interface you will need to build the wrapper first. Take a look at chapter 7 of the User Guide titled "Language Usage Options". It has a section with information on this interface.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Verdana" size="1"&gt;Todd&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2008 23:36:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-in-compiling-a-program-written-in-Fortran90/m-p/856380#M7027</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2008-02-06T23:36:54Z</dc:date>
    </item>
  </channel>
</rss>

