<?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 Thanks for the reply. in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-needed-call-to-MKL-subroutine-sgesv-causes-thread-to-exit/m-p/1173501#M146641</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;

&lt;P&gt;I got the example sgesvx.f to work and then discovered what was going wrong with my application - I had copies of mkl_core.dll and mkl_intel_thread.dll in the same folder as my EXE. Without those DLLs present, my app runs just fine (under the debugger).&lt;/P&gt;

&lt;P&gt;I suspect I have the wrong DLLs in the folder.&lt;/P&gt;

&lt;P&gt;Anyway, problem solved for now.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Tue, 21 Aug 2018 16:16:11 GMT</pubDate>
    <dc:creator>Bond__Andrew</dc:creator>
    <dc:date>2018-08-21T16:16:11Z</dc:date>
    <item>
      <title>Help needed: call to MKL subroutine sgesv causes thread to exit with code 2</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-needed-call-to-MKL-subroutine-sgesv-causes-thread-to-exit/m-p/1173499#M146639</link>
      <description>&lt;P&gt;I am building a Windows app that makes use of the MKL libraries that ship with Intel Fortran 18.&lt;/P&gt;

&lt;P&gt;I have a call to the subroutine sgesv(n, nrhs, a, lda, ipiv, b, ldb, info) which causes my program to exit with the message:&lt;/P&gt;

&lt;PRE class="brush:plain; class-name:dark;"&gt;The thread 0x13458 has exited with code 2 (0x2).&lt;/PRE&gt;

&lt;P&gt;I have checked that the parameters that I pass to sgesv(...) are all correct. However, I am at a loss as to what to do now, since sgesv() does not pass an error message back to me (and the thread crashes before I can read 'info', which normally reports on the success or otherwise of the call).&lt;/P&gt;

&lt;P&gt;Any help would be much appreciated!&lt;/P&gt;

&lt;P&gt;Andrew&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:43:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-needed-call-to-MKL-subroutine-sgesv-causes-thread-to-exit/m-p/1173499#M146639</guid>
      <dc:creator>Bond__Andrew</dc:creator>
      <dc:date>2018-08-21T13:43:30Z</dc:date>
    </item>
    <item>
      <title>I'm afraid that there is</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-needed-call-to-MKL-subroutine-sgesv-causes-thread-to-exit/m-p/1173500#M146640</link>
      <description>&lt;P&gt;I'm afraid that there is nothing to offer unless you make a more specific and complete report. Consider this: the example sgesvx.f that is distributed with MKL also satisfies every attribute that you described, yet runs fine. Therefore, there is something specific to your invocation of SGESV that caused a problem.&lt;/P&gt;

&lt;P&gt;Please assemble a reproducer and submit it in the MKL forum.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:57:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-needed-call-to-MKL-subroutine-sgesv-causes-thread-to-exit/m-p/1173500#M146640</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2018-08-21T13:57:13Z</dc:date>
    </item>
    <item>
      <title>Thanks for the reply.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-needed-call-to-MKL-subroutine-sgesv-causes-thread-to-exit/m-p/1173501#M146641</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;

&lt;P&gt;I got the example sgesvx.f to work and then discovered what was going wrong with my application - I had copies of mkl_core.dll and mkl_intel_thread.dll in the same folder as my EXE. Without those DLLs present, my app runs just fine (under the debugger).&lt;/P&gt;

&lt;P&gt;I suspect I have the wrong DLLs in the folder.&lt;/P&gt;

&lt;P&gt;Anyway, problem solved for now.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;

&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 16:16:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Help-needed-call-to-MKL-subroutine-sgesv-causes-thread-to-exit/m-p/1173501#M146641</guid>
      <dc:creator>Bond__Andrew</dc:creator>
      <dc:date>2018-08-21T16:16:11Z</dc:date>
    </item>
  </channel>
</rss>

