<?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 PS: If I select the Microsoft in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problems-of-using-LAPACKE-dgesv-in-c/m-p/1054157#M21320</link>
    <description>&lt;P&gt;&lt;STRONG&gt;PS:&lt;/STRONG&gt; If I select the Microsoft Visual C++ instead of the Intel C++ in the Visual studio, it works in the release mode.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Nov 2014 06:14:34 GMT</pubDate>
    <dc:creator>haijunwu</dc:creator>
    <dc:date>2014-11-12T06:14:34Z</dc:date>
    <item>
      <title>problems of using LAPACKE_dgesv in c++</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problems-of-using-LAPACKE-dgesv-in-c/m-p/1054156#M21319</link>
      <description>&lt;P&gt;I am using the&amp;nbsp;LAPACKE_dgesv in visual studio Ultimate 2012 Version 11.0.61030.00 Update 4 with &amp;nbsp;Intel C++ 14.0 as&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;info = LAPACKE_dgesv(LAPACK_ROW_MAJOR, n, nrhs, *a, lda, ipiv, *b, ldb);&lt;/PRE&gt;

&lt;P&gt;LAPACKE_degsv &lt;STRONG&gt;works in the debug mode, but got crashed in the release mode &lt;/STRONG&gt;with the following errors:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;"Unhandled exception at 0x00007ff714da0888 in MyProg.exe: 0xC0000005: Access violation at location 0x00007ff714da0888."&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;It is hard to post a sample codes for my program. Command lines are supplied below. Are there any problems for invoking the MKL library? I appreciate any&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;suggestions for this type of problem. Thanks! &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;&lt;SPAN style="font-weight: 700;"&gt;Compile Command line:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;/Yu"stdafx.h" /GS /W3 /Gy /Zc:wchar_t /I"C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\include" /Zi /O2 /Fd"Release\vc110.pdb" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Qipo /Zc:forScope /Gd /Oi /MD /Fa"Release\" /EHsc /nologo /Fo"Release\" /Fp"Release\&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;MyProg&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;.pch"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;&lt;SPAN style="font-weight: 700;"&gt;Liner Command line:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;/OUT:"D:\Release\&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;MyProg&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;.exe" /MANIFEST /NXCOMPAT /PDB:"D:\Release\&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;MyProg&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;.pdb" /DYNAMICBASE "mkl_intel_c.lib" "mkl_core.lib" "mkl_sequential.lib" "mkl_lapack95.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /DEBUG /MACHINE:X86 /OPT:REF /SAFESEH /INCREMENTAL:NO /SUBSYSTEM:CONSOLE /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /ManifestFile:"Release\&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;MyProg&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.8000001907349px; line-height: 15.609601020813px;"&gt;.exe.intermediate.manifest" /OPT:ICF /NOLOGO /LIBPATH:"C:\Program Files (x86)\Intel\Composer XE 2013 SP1\mkl\lib\ia32" /TLBID:1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 06:09:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problems-of-using-LAPACKE-dgesv-in-c/m-p/1054156#M21319</guid>
      <dc:creator>haijunwu</dc:creator>
      <dc:date>2014-11-12T06:09:14Z</dc:date>
    </item>
    <item>
      <title>PS: If I select the Microsoft</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problems-of-using-LAPACKE-dgesv-in-c/m-p/1054157#M21320</link>
      <description>&lt;P&gt;&lt;STRONG&gt;PS:&lt;/STRONG&gt; If I select the Microsoft Visual C++ instead of the Intel C++ in the Visual studio, it works in the release mode.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 06:14:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problems-of-using-LAPACKE-dgesv-in-c/m-p/1054157#M21320</guid>
      <dc:creator>haijunwu</dc:creator>
      <dc:date>2014-11-12T06:14:34Z</dc:date>
    </item>
    <item>
      <title>There is an example (lapacke</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problems-of-using-LAPACKE-dgesv-in-c/m-p/1054158#M21321</link>
      <description>&lt;P&gt;There is an example (lapacke_dgesv_row.c) in the MKL distribution with the same argument list as in #1. It can be built with Intel C (32 and 64 bit) with the command icl /Qmkl /MD, and runs correctly. Note that the command line builds a "release mode" EXE (humorous aside: a famous computer scientist wrote that "release mode" could be compared to a fast car that had no seat-belts and was expected to be operated only by expert drivers).&lt;/P&gt;

&lt;P&gt;I suspect one or more errors in the arguments that your call to the &lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14.3999996185303px; line-height: 16.0974006652832px;"&gt;LAPACKE_&lt;/SPAN&gt;dgesv routine. Try to construct a demonstrator program and post it here.&lt;/P&gt;

&lt;P&gt;If your caller is in C++ rather than C, there are more opportunities for errors in the linkage to MKL.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2014 11:42:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/problems-of-using-LAPACKE-dgesv-in-c/m-p/1054158#M21321</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2014-11-12T11:42:53Z</dc:date>
    </item>
  </channel>
</rss>

