<?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 when executing example from MKL Reference Manual in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886896#M10086</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
How (and which libraries) do you link? Example is OK and produces no error.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Aug 2009 00:31:44 GMT</pubDate>
    <dc:creator>ArturGuzik</dc:creator>
    <dc:date>2009-08-26T00:31:44Z</dc:date>
    <item>
      <title>Error when executing example from MKL Reference Manual</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886895#M10085</link>
      <description>I am evaluating Intel Visual Fortran 11.1.038 and a MKL 10.2 licenses and I have tried to run the following program which is exactly the Example C-1 provided in Appendix C of  Intel MKL Reference Manual (Version:August 2008):&lt;BR /&gt;&lt;BR /&gt;program dot_main&lt;BR /&gt;real x(10), y(10), res&lt;BR /&gt;integer n, incx, incy, i&lt;BR /&gt;external sdot&lt;BR /&gt;n = 5&lt;BR /&gt;incx = 2&lt;BR /&gt;incy = 1&lt;BR /&gt;do i = 1, 10&lt;BR /&gt;x(i) = 2.0e0&lt;BR /&gt;y(i) = 1.0e0&lt;BR /&gt;end do&lt;BR /&gt;res = 0&lt;BR /&gt;res = sdot (n, x, incx, y, incy)&lt;BR /&gt;print*, 'SDOT = ', res&lt;BR /&gt;end&lt;BR /&gt;&lt;BR /&gt;However the following error occurred:&lt;BR /&gt;&lt;BR /&gt;forrtl: severe (157): Program Exception - access violation&lt;BR /&gt;Image              PC        Routine            Line        Source&lt;BR /&gt;ExampleC1.exe      00408520  Unknown               Unknown  Unknown&lt;BR /&gt;ExampleC1.exe      0040125D  _MAIN__                    14  c1.F90&lt;BR /&gt;ExampleC1.exe      004A9973  Unknown               Unknown  Unknown&lt;BR /&gt;ExampleC1.exe      0044C6B7  Unknown               Unknown  Unknown&lt;BR /&gt;ExampleC1.exe      0044C58F  Unknown               Unknown  Unknown&lt;BR /&gt;kernel32.dll       7C817077  Unknown               Unknown  Unknown&lt;BR /&gt;&lt;BR /&gt;It seems that the problem is inside the sdot routine because when I remove this line the error disappears. Does somebody know what could be happening?&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Aug 2009 19:23:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886895#M10085</guid>
      <dc:creator>ricardormartins</dc:creator>
      <dc:date>2009-08-25T19:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error when executing example from MKL Reference Manual</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886896#M10086</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
How (and which libraries) do you link? Example is OK and produces no error.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Aug 2009 00:31:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886896#M10086</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-08-26T00:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error when executing example from MKL Reference Manual</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886897#M10087</link>
      <description>&lt;DIV style="margin:0px;"&gt;Please look at the &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;article&lt;/A&gt; related what libraries are recommended for linking your application.&lt;BR /&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Aug 2009 05:28:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886897#M10087</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-08-26T05:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when executing example from MKL Reference Manual</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886898#M10088</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Please look at the &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;article&lt;/A&gt; related what libraries are recommended for linking your application.&lt;BR /&gt;--Gennady&lt;/DIV&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Dear Gennady and A.&lt;BR /&gt;&lt;BR /&gt;Thank you for the prompt response.&lt;BR /&gt;&lt;BR /&gt;I was linking the MKL library using&lt;BR /&gt;&lt;BR /&gt;Project &amp;gt; Properties &amp;gt; Fortran &amp;gt; Libraries &amp;gt;Use Intel MKL Library &amp;gt; Sequential(/Qmkl:sequential)&lt;BR /&gt;&lt;BR /&gt;There was no linking error message when I built the solution, then I supposed that the problem was not related to link issues. However I read the article that you recommended and linked the suggested libraries and the program worked fine.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Ricardo&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Aug 2009 10:50:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-executing-example-from-MKL-Reference-Manual/m-p/886898#M10088</guid>
      <dc:creator>ricardormartins</dc:creator>
      <dc:date>2009-08-26T10:50:01Z</dc:date>
    </item>
  </channel>
</rss>

