<?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: Problem Linking VC++.NET with MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958969#M15707</link>
    <description>&lt;DIV&gt;Thanks for the example. We will take a look at this and try to find out what is the problem.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Bruce&lt;/DIV&gt;</description>
    <pubDate>Fri, 14 May 2004 21:35:46 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2004-05-14T21:35:46Z</dc:date>
    <item>
      <title>Problem Linking VC++.NET with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958966#M15704</link>
      <description>&lt;DIV&gt;Hello,&lt;/DIV&gt;
&lt;DIV&gt;Iam trying to use the LAPACK routines in my MS VC++.NET program.&lt;/DIV&gt;
&lt;DIV&gt;Iam using Visual Studio .NET 2003.&lt;/DIV&gt;
&lt;DIV&gt;Included files : mkl_cblas.h, mkl.h, mkl_lapack.h&lt;/DIV&gt;
&lt;DIV&gt;Included libs : mkl_c.lib.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Many of the routines work fine. Problem is with routines that take the first argument as character.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Any suggestions ?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Many Thanks.,&lt;/DIV&gt;
&lt;DIV&gt;vikrant&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 May 2004 02:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958966#M15704</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-05-11T02:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Linking VC++.NET with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958967#M15705</link>
      <description>&lt;P&gt;First of all you should need to include only mkl.h as it includes all the other include files.&lt;/P&gt;
&lt;P&gt;Can you create a small example showing the issue in which one routine is called that has a character in the parameter list? We will look at that and try to solve the issue. All of our LAPACK examples are Fortran.&lt;/P&gt;
&lt;P&gt;On the other hand, can you call BLAS functions such as dgemm via the cblas interface? If you can then the issue is just how to handle the characters in your program.&lt;/P&gt;
&lt;P&gt;Bruce&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 May 2004 22:58:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958967#M15705</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-05-12T22:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Linking VC++.NET with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958968#M15706</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Here is the example :&lt;/P&gt;
&lt;P&gt;The appropriate headers are included. The first call to lapack routine dgetrf works just fine. The call to dgetrs doesnt work.&lt;/P&gt;
&lt;P&gt;Also note that the same piece of code works fine with MS VC ++ 6.0, i.e. both functions dgetrf and dgetrs work fine.&lt;/P&gt;
&lt;P&gt;After I copy it to MS VC++.NET (with managed extensions) it doesnt work anymore and crashes at the second function call.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;FONT size="2"&gt;
&lt;P&gt;Int32 CBLAS::Test()&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;double&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; *a = &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;new&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;double&lt;/FONT&gt;&lt;FONT size="2"&gt;[4];&lt;P&gt;&lt;/P&gt;
&lt;P&gt;a[0] = 4.0000063240007506;&lt;/P&gt;
&lt;P&gt;a[1] = 6.0000000000099609;&lt;/P&gt;
&lt;P&gt;a[2] = 10.000015811350039;&lt;/P&gt;
&lt;P&gt;a[3] = 2.0000000000033205;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;int&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; m = 2, n = 2;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;int&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; lda = 2;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;int&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; *ipiv = &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;new&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;int&lt;/FONT&gt;&lt;FONT size="2"&gt;[2];&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;int&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; info;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DGETRF(&amp;amp;m,&amp;amp;n, a,&amp;amp;lda,ipiv,&amp;amp;info);&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;double&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; *b = &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;new&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;double&lt;/FONT&gt;&lt;FONT size="2"&gt;[2];&lt;P&gt;&lt;/P&gt;
&lt;P&gt;b[0] = 56.0;&lt;/P&gt;
&lt;P&gt;b[1] = 13.0;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;
&lt;P&gt;char&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt; trans = 'N';&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;int&lt;/FONT&gt;&lt;FONT size="2"&gt; ldb = 2, nrhs = 1;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DGETRS(&amp;amp;trans, &amp;amp;n,&amp;amp;nrhs, a, &amp;amp;lda,ipiv, b, &amp;amp;ldb,&amp;amp;info);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;return&lt;/FONT&gt;&lt;FONT size="2"&gt;(0);&lt;P&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 May 2004 20:14:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958968#M15706</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-05-14T20:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Linking VC++.NET with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958969#M15707</link>
      <description>&lt;DIV&gt;Thanks for the example. We will take a look at this and try to find out what is the problem.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Bruce&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 May 2004 21:35:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958969#M15707</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-05-14T21:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Linking VC++.NET with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958970#M15708</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have checked this example. Test work fine with any MKL versions. &lt;/DIV&gt;
&lt;DIV&gt;Can you send whole projectto me ?&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 May 2004 11:43:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958970#M15708</guid>
      <dc:creator>Andrey_Shemyakin</dc:creator>
      <dc:date>2004-05-20T11:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Linking VC++.NET with MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958971#M15709</link>
      <description>&lt;DIV&gt;Hello,&lt;/DIV&gt;
&lt;DIV&gt;Thank you for the response.&lt;/DIV&gt;
&lt;DIV&gt;The test works fine I know - it doesnt work when you create a class library in managed c++ and then call it from other programs.&lt;/DIV&gt;
&lt;DIV&gt;Attached is the source project.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;vikrant&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 May 2004 02:47:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958971#M15709</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-05-21T02:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Linking VC++.NET with MKL - Solution</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958972#M15710</link>
      <description>&lt;DIV&gt;Hello,&lt;/DIV&gt;
&lt;DIV&gt;Thank you for all the responses. I found the solution its a compiler issue discussed in KB 814472.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;vikrant&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 May 2004 19:51:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958972#M15710</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-05-21T19:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Linking VC++.NET with MKL - Solution</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958973#M15711</link>
      <description>&lt;DIV&gt;
&lt;P&gt;I have investigate this problem. The problem in the libguide (OMP). The very simple solution is using mkl_c_dll.lib insteadof mkl_c.lib. &lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 May 2004 13:24:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-Linking-VC-NET-with-MKL/m-p/958973#M15711</guid>
      <dc:creator>Andrey_Shemyakin</dc:creator>
      <dc:date>2004-05-25T13:24:23Z</dc:date>
    </item>
  </channel>
</rss>

