<?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 Unexpected EOF while reading module lapack95 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unexpected-EOF-while-reading-module-lapack95/m-p/1061916#M21704</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to run examples in $(MKLROOT)/examples directory (specifically examples_f95.tgz). I have problem with lapack.&lt;/P&gt;

&lt;P&gt;As the user guide suggest if I want to use &lt;STRONG&gt;gfortran&lt;/STRONG&gt; compiler I should build lapack and blas libraries located in $(MKLROOT)/interfaces. This is what I did:&lt;/P&gt;

&lt;P&gt;1) In $(MKLROOT)/interfaces/blas95&lt;/P&gt;

&lt;P&gt;sudo make libintel64 FC=gfrotran interface=lp64 INSTALL_DIR=/opt/intel/mkl/gfortran&lt;/P&gt;

&lt;P&gt;2) In $(MKLROOT)/interfaces/lapack95&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;sudo make libintel64 FC=gfrotran interface=lp64 INSTALL_DIR=/opt/intel/mkl/gfortran&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Everything compiled without errors. However, after this procedure only&lt;STRONG&gt; blas95.mod &lt;/STRONG&gt;and &lt;STRONG&gt;f95_precision.mod&lt;/STRONG&gt; were located in &lt;/SPAN&gt;/opt/intel/mkl/gfortran/include/intel64/lp64. Examples from blas95 directory are working, but those from lapack95 don't beacuse there is no lapack95.mod file. Somewhere in this forum I found that .mod files can be included manually just by running:&lt;/P&gt;

&lt;P&gt;sudo gfortran -J/opt/intel/mkl/include/intel64/lp64 -c lapack.f90 blas.f90&amp;nbsp;&lt;/P&gt;

&lt;P&gt;from $(MKLROOT)/include directory. After this procedure .mod files were present, but compilation of lapack example produces error:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Fatal Error: Reading module lapack95 at line 2 column 1: Unexpected EOF&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I don't have this problem with blas although I have the same options in make.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 14 May 2016 09:16:26 GMT</pubDate>
    <dc:creator>Dariusz_K_</dc:creator>
    <dc:date>2016-05-14T09:16:26Z</dc:date>
    <item>
      <title>Unexpected EOF while reading module lapack95</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unexpected-EOF-while-reading-module-lapack95/m-p/1061916#M21704</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to run examples in $(MKLROOT)/examples directory (specifically examples_f95.tgz). I have problem with lapack.&lt;/P&gt;

&lt;P&gt;As the user guide suggest if I want to use &lt;STRONG&gt;gfortran&lt;/STRONG&gt; compiler I should build lapack and blas libraries located in $(MKLROOT)/interfaces. This is what I did:&lt;/P&gt;

&lt;P&gt;1) In $(MKLROOT)/interfaces/blas95&lt;/P&gt;

&lt;P&gt;sudo make libintel64 FC=gfrotran interface=lp64 INSTALL_DIR=/opt/intel/mkl/gfortran&lt;/P&gt;

&lt;P&gt;2) In $(MKLROOT)/interfaces/lapack95&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;sudo make libintel64 FC=gfrotran interface=lp64 INSTALL_DIR=/opt/intel/mkl/gfortran&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Everything compiled without errors. However, after this procedure only&lt;STRONG&gt; blas95.mod &lt;/STRONG&gt;and &lt;STRONG&gt;f95_precision.mod&lt;/STRONG&gt; were located in &lt;/SPAN&gt;/opt/intel/mkl/gfortran/include/intel64/lp64. Examples from blas95 directory are working, but those from lapack95 don't beacuse there is no lapack95.mod file. Somewhere in this forum I found that .mod files can be included manually just by running:&lt;/P&gt;

&lt;P&gt;sudo gfortran -J/opt/intel/mkl/include/intel64/lp64 -c lapack.f90 blas.f90&amp;nbsp;&lt;/P&gt;

&lt;P&gt;from $(MKLROOT)/include directory. After this procedure .mod files were present, but compilation of lapack example produces error:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Fatal Error: Reading module lapack95 at line 2 column 1: Unexpected EOF&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I don't have this problem with blas although I have the same options in make.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2016 09:16:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Unexpected-EOF-while-reading-module-lapack95/m-p/1061916#M21704</guid>
      <dc:creator>Dariusz_K_</dc:creator>
      <dc:date>2016-05-14T09:16:26Z</dc:date>
    </item>
  </channel>
</rss>

