<?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 ifort: error #10031 in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807244#M3503</link>
    <description>Hi all,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;First of all I have to say that I am a complete newbie when it comes to fortran on linux. I have used fortran before but not in a complex environment like a cluster and definitely not with lapack and all that.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So what I have now is a server running debian which i want to use to run some fortran code. the problem i am having is the following:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I want to compile a program called test.f90 so i write:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;ifort test.f90 -o -lmkl_lapack -lmkl_blas&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and i get the following error&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;ifort: error #10031: could not write to argument file '/tmp/ifortegHH3Earg'&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and I have ho clue why or what to do about it.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Can anyone steer me in the right direction as to how to solve this issue?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Lucian&lt;/DIV&gt;</description>
    <pubDate>Fri, 21 Oct 2011 19:12:54 GMT</pubDate>
    <dc:creator>drimago</dc:creator>
    <dc:date>2011-10-21T19:12:54Z</dc:date>
    <item>
      <title>ifort: error #10031</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807244#M3503</link>
      <description>Hi all,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;First of all I have to say that I am a complete newbie when it comes to fortran on linux. I have used fortran before but not in a complex environment like a cluster and definitely not with lapack and all that.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So what I have now is a server running debian which i want to use to run some fortran code. the problem i am having is the following:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I want to compile a program called test.f90 so i write:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;ifort test.f90 -o -lmkl_lapack -lmkl_blas&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and i get the following error&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;ifort: error #10031: could not write to argument file '/tmp/ifortegHH3Earg'&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;and I have ho clue why or what to do about it.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Can anyone steer me in the right direction as to how to solve this issue?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Lucian&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Oct 2011 19:12:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807244#M3503</guid>
      <dc:creator>drimago</dc:creator>
      <dc:date>2011-10-21T19:12:54Z</dc:date>
    </item>
    <item>
      <title>ifort: error #10031</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807245#M3504</link>
      <description>Ok it turns out that test.f90 had errors. But now I have other problems:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;it seems that the way I was trying to use lapack and blas libraries is not the right way. the command&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;ifort test.f90 -o-lmkl_lapack -lmkl_blas&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;yelds: cannot find lmkl_blas. I did a search and there is a libmkl_lapack95 and same for blas. Modified the command but the same result: cannot find...&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;What am I doing wrong?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Lucian&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Oct 2011 19:24:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807245#M3504</guid>
      <dc:creator>drimago</dc:creator>
      <dc:date>2011-10-21T19:24:23Z</dc:date>
    </item>
    <item>
      <title>ifort: error #10031</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807246#M3505</link>
      <description>The MKL libraries are in different directories than the compiler runtime and other libraries. By default, the compiler will not search for libraries in the MKL &lt;B&gt;lib&lt;/B&gt; directory. Use the &lt;B&gt;-mkl&lt;/B&gt; compiler option for simple jobs, and use the MKL Link Line Advisor for more intricate jobs.&lt;BR /&gt;&lt;BR /&gt;Do not attempt to use the LAPACK-95 and BLAS-95 libraries unless your code calls the Fortran-95 interface routines.</description>
      <pubDate>Sat, 22 Oct 2011 00:33:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807246#M3505</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-10-22T00:33:29Z</dc:date>
    </item>
    <item>
      <title>ifort: error #10031</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807247#M3506</link>
      <description>Hi mecej4,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you for your reply. After a lot of pushing and prodding I managed to figure out what the comand for ifort was supposed to be.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;ifort -mkl test.f90 -o test&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This created an executable file which ran my test program with no problem. This means that the mkl option tells the compiler to look for the libraries itself. I thought that I was supposed to tell the compiler which libraries to use like I was trying to do with the previous command. Eh well I am glad is working now.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;AS for the lapack95 and blad95 this was a desperate attempt to make it working so no worries there. I will be making code that only calls for the mkl routines since this seems like the simple option.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you very much for your help and excuse my newbie-ness!&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Lucian&lt;/DIV&gt;</description>
      <pubDate>Sat, 22 Oct 2011 06:50:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/ifort-error-10031/m-p/807247#M3506</guid>
      <dc:creator>drimago</dc:creator>
      <dc:date>2011-10-22T06:50:45Z</dc:date>
    </item>
  </channel>
</rss>

