<?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 Ying, H -- in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177402#M29094</link>
    <description>&lt;P&gt;Ying, H --&lt;/P&gt;

&lt;P&gt;*Thank You*&lt;/P&gt;

&lt;P&gt;Some events kept me away a few days ... so my apologies for the slow reply.&lt;/P&gt;

&lt;P&gt;The solution you provided works perfectly!&lt;/P&gt;

&lt;P&gt;I will study the "manual" linking you used and I can now progress to learn more about the MKL. :)&lt;/P&gt;

&lt;P&gt;A picture is worth a thousand words ... a "fully" working solution eliminates a thousand paths a novice might take when reading through documentation written by experts and who aim to cover every possible variation.&lt;/P&gt;

&lt;P&gt;Again, my thanks!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jan 2018 14:40:24 GMT</pubDate>
    <dc:creator>french__john</dc:creator>
    <dc:date>2018-01-01T14:40:24Z</dc:date>
    <item>
      <title>Merry Christmas E1 -- Help me find dgesv</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177398#M29090</link>
      <description>&lt;P&gt;I am trying to run this example:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Main Link&lt;/STRONG&gt; &amp;gt;&amp;gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/" target="_blank"&gt;https://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/mkl_lapack_examples/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Example Path&lt;/STRONG&gt; &amp;gt;&amp;gt;&lt;/P&gt;

&lt;P&gt;Linear Equations &amp;gt; ?gesv &amp;gt; dgesv Example &amp;gt; Example Program in C&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Windows 10 &amp;amp; VS 2017 C++. Just updated the Community version. Chose "parallel" option in Properties &amp;gt;&amp;gt; "Intel Performance Library"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;The &lt;STRONG&gt;Compilation Error&lt;/STRONG&gt; &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;MKL Test 3 - Main.obj : error LNK2019: unresolved external symbol "void __cdecl dgesv(int *,int *,double *,int *,int *,double *,int *,int *)" (?dgesv@@YAXPAH0PAN00100@Z) referenced in function _main&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I have searched the IntelSWTools to no avail. The closest I got was&amp;nbsp;dgesv.f90 in this directory &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018.1.156\windows\mkl\interfaces\lapack95\source&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;In another library (ALGLIB) using splines ... inclusion of 13 .cpp files into the project from that library worked. But within the MKL I find no such .cpp files; although MKL might be calling Fortran versions? However it is done ... I am striking out. Have spent many hours over several days trying all kinds of suggested linking techniques. I dare not dream of using the high end optimization aspects of the MKL until I can at least get a basic example working. I also need the polynomial form (with coefficients) for data curve fitting. (The ALGLIB Barrymetric format is too awkward. I need to calculate derivatives along the fitted curve and polynomials are what I understand.)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;** Merry Christmas **&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2017 14:09:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177398#M29090</guid>
      <dc:creator>french__john</dc:creator>
      <dc:date>2017-12-25T14:09:19Z</dc:date>
    </item>
    <item>
      <title>one of the reason of this</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177399#M29091</link>
      <description>&lt;P&gt;one of the reason of this problem may be &lt;A href="https://software.intel.com/en-us/articles/intel-software-development-tools-integration-to-vs2017-issue"&gt;integration to MVSC 2017.&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You may try manually link your application with mkl follow by &lt;A href="https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-compiling-and-linking-with-microsoft-visual-cc#"&gt;this KB article&lt;/A&gt; recipe, i hope this help.&lt;/P&gt;

&lt;P&gt;thanks, Gennady&lt;/P&gt;</description>
      <pubDate>Mon, 25 Dec 2017 15:34:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177399#M29091</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-12-25T15:34:22Z</dc:date>
    </item>
    <item>
      <title>Thank you Gennady.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177400#M29092</link>
      <description>&lt;P&gt;Thank you Gennady.&lt;/P&gt;

&lt;P&gt;I followed the KB article the best I could.&lt;/P&gt;

&lt;P&gt;Errors from first compilation of exact example &amp;gt;&amp;gt;&lt;/P&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;MKL Test 5.cpp&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;g:\jtfre\visual studio 2017\mkl test 5\mkl test 5\mkl test 5.cpp(142): error C2664: 'void print_matrix(char *,int,int,double *,int)': cannot convert argument 1 from 'const char [9]' to 'char *'&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;g:\jtfre\visual studio 2017\mkl test 5\mkl test 5\mkl test 5.cpp(142): note: Conversion from string literal loses const qualifier (see /Zc:strictStrings)&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;g:\jtfre\visual studio 2017\mkl test 5\mkl test 5\mkl test 5.cpp(144): error C2664: 'void print_matrix(char *,int,int,double *,int)': cannot convert argument 1 from 'const char [28]' to 'char *'&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;g:\jtfre\visual studio 2017\mkl test 5\mkl test 5\mkl test 5.cpp(144): note: Conversion from string literal loses const qualifier (see /Zc:strictStrings)&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;g:\jtfre\visual studio 2017\mkl test 5\mkl test 5\mkl test 5.cpp(146): error C2664: 'void print_int_vector(char *,int,int *)': cannot convert argument 1 from 'const char [14]' to 'char *'&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;g:\jtfre\visual studio 2017\mkl test 5\mkl test 5\mkl test 5.cpp(146): note: Conversion from string literal loses const qualifier (see /Zc:strictStrings)&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;Done building project "MKL Test 5.vcxproj" -- FAILED.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I modified the function prototypes by adding "const" as follows and the above errors appear resolved; however, the previous error has returned (see below.)&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;//*original*/&amp;nbsp; &amp;nbsp;extern void print_matrix( char* desc, int m, int n, double* a, int lda );&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;//*original*/&amp;nbsp; &amp;nbsp;extern void print_int_vector( char* desc, int n, int* a );&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;/*fixed*/&amp;nbsp; &amp;nbsp;extern void print_matrix( &lt;STRONG&gt;const &lt;/STRONG&gt;char* desc, int m, int n, double* a, int lda );&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;/*fixed*/&amp;nbsp; &amp;nbsp;extern void print_int_vector( &lt;STRONG&gt;const &lt;/STRONG&gt;char* desc, int n, int* a );&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;After above modification ... Same missing dgesv error &amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;
	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;MKL Test 5.cpp&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;MKL Test 5.obj : error LNK2019: unresolved external symbol "void __cdecl dgesv(int *,int *,double *,int *,int *,double *,int *,int *)" (?dgesv@@YAXPAH0PAN00100@Z) referenced in function _main&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;G:\jtfre\Visual Studio 2017\MKL Test 5\Debug\MKL Test 5.exe : fatal error LNK1120: 1 unresolved externals&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;1&amp;gt;Done building project "MKL Test 5.vcxproj" -- FAILED.&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;When I view the directories in project settings ... the "evaluated value" reflects the recommended paths even when the manual input field is blank.&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;The Link Advisor for guessed at values give this compiler setting &amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;-I"%MKLROOT%"\include&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;Where within the Configuration Properties does one find "compiler setting" so that I can add the above setting?&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;To avoid the novice "guessing" ... would be wonderful if the basic examples provided the values to input into the link advisor with some explanation.&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;Seems providing a working solution to the examples would be beneficial?&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;One tutorial suggested up and running in 20 minutes ... I have been struggling with this for days!&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;All help appreciated !!&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Dec 2017 13:01:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177400#M29092</guid>
      <dc:creator>french__john</dc:creator>
      <dc:date>2017-12-26T13:01:00Z</dc:date>
    </item>
    <item>
      <title>Hi John, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177401#M29093</link>
      <description>&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hope you had Merry Chrismas.&lt;/P&gt;

&lt;P&gt;Sorry for hear this. The compiler error seems related to the C code and C++ code.(*.cpp). you may change&amp;nbsp;&lt;/P&gt;

&lt;P&gt;the cpp file to c file, and rebuild&lt;/P&gt;

&lt;P&gt;&amp;nbsp;or add mkl.h head files.&amp;nbsp;&lt;/P&gt;

&lt;DIV&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;/DIV&gt;

&lt;DIV&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/DIV&gt;

&lt;DIV&gt;#include &amp;lt;mkl.h&amp;gt;&lt;/DIV&gt;

&lt;DIV&gt;/* SGESV prototype */&lt;/DIV&gt;

&lt;DIV&gt;//extern void sgesv(int* n, int* nrhs, float* a, int* lda, int* ipiv,&lt;/DIV&gt;

&lt;DIV&gt;//&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;float* b, int* ldb, int* info);&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;I upload one solution. with manual setting :&amp;nbsp; for example , link mkl_intel_lp64.lib mkl_sequential.lib mkl_core.lib&amp;nbsp; and library path , include file path manually. You will see them in project configuration.&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;Best Regards,&lt;/DIV&gt;

&lt;DIV&gt;Ying&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Dec 2017 06:21:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177401#M29093</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2017-12-27T06:21:28Z</dc:date>
    </item>
    <item>
      <title>Ying, H --</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177402#M29094</link>
      <description>&lt;P&gt;Ying, H --&lt;/P&gt;

&lt;P&gt;*Thank You*&lt;/P&gt;

&lt;P&gt;Some events kept me away a few days ... so my apologies for the slow reply.&lt;/P&gt;

&lt;P&gt;The solution you provided works perfectly!&lt;/P&gt;

&lt;P&gt;I will study the "manual" linking you used and I can now progress to learn more about the MKL. :)&lt;/P&gt;

&lt;P&gt;A picture is worth a thousand words ... a "fully" working solution eliminates a thousand paths a novice might take when reading through documentation written by experts and who aim to cover every possible variation.&lt;/P&gt;

&lt;P&gt;Again, my thanks!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jan 2018 14:40:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Merry-Christmas-E1-Help-me-find-dgesv/m-p/1177402#M29094</guid>
      <dc:creator>french__john</dc:creator>
      <dc:date>2018-01-01T14:40:24Z</dc:date>
    </item>
  </channel>
</rss>

