<?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 Solving a system of equation  in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818202#M4462</link>
    <description>You have posted a fragment of a program. There is no point in listing all the possible ways in which that fragment could be expanded into a runnable program that causes a runtime error. Nor is there much to gain from posting one example of code that runs correctly, even though this is quite a bit easier to do.&lt;BR /&gt;&lt;BR /&gt;Present a complete example and you will improve the chances that someone will tell you what the mistakes are.</description>
    <pubDate>Sun, 23 Jan 2011 05:15:51 GMT</pubDate>
    <dc:creator>mecej4</dc:creator>
    <dc:date>2011-01-23T05:15:51Z</dc:date>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818201#M4461</link>
      <description>I'm a beginner in using MKL library , Actually I want to solve a system of equation by calling dgetf and dgetrs function , but the segmentation fault error always appear when I run my program. The equation is Ax=B, which A is a dim*dim array and B is a dim array. Here is the part of my program which solves the system of equation&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;void Solve(int dim, double* A, double* B)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;{&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; int* piv = new int [dim];&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; int info = 0;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; int nhrs = 1;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; char p = 'T';&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;dgetrf(&amp;amp;dim, &amp;amp;dim, A, &amp;amp;dim, piv, &amp;amp;info);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;if(info)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; {  &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;   printf("Fact failed -- %d\\n", info);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;   &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;   for(int i = 0; i &amp;lt; dim; i ++)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;   {&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;     for(int j = 0; j &amp;lt; dim; j ++)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;       printf("%e\\t", A[i*dim+j]);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;     printf("\\n");&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;   }&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;  exit(0);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; }&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; &lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; cout&amp;lt;&amp;lt;"\\n","\\n";&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;dgetrs(&amp;amp;p, &amp;amp;dim, &amp;amp;nhrs, A,&amp;amp;dim, piv, B, &amp;amp;dim, &amp;amp;info);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; if(info)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; {&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;   printf("Solve failed -- %d\\n", info);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;   exit(0);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; }&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; free(piv);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;}&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;It would be highly appreciated if you can hel me .&lt;/DIV&gt;</description>
      <pubDate>Sun, 23 Jan 2011 00:04:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818201#M4461</guid>
      <dc:creator>majides</dc:creator>
      <dc:date>2011-01-23T00:04:42Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818202#M4462</link>
      <description>You have posted a fragment of a program. There is no point in listing all the possible ways in which that fragment could be expanded into a runnable program that causes a runtime error. Nor is there much to gain from posting one example of code that runs correctly, even though this is quite a bit easier to do.&lt;BR /&gt;&lt;BR /&gt;Present a complete example and you will improve the chances that someone will tell you what the mistakes are.</description>
      <pubDate>Sun, 23 Jan 2011 05:15:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818202#M4462</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-01-23T05:15:51Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818203#M4463</link>
      <description>Thanksfor your comment , I didn't get your meaning , here is the function which should solve my system of equation Ax=B, where A is the Matrix ofcoefficient, and in a n*n array , and b is the right side of my equation which is a n array . This is a complete example forexampleif youputA={1,2,1,2,1,1,1,1,0} and B={230} and send it ti the Sole the error segmentation fault appears.</description>
      <pubDate>Sun, 23 Jan 2011 19:36:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818203#M4463</guid>
      <dc:creator>majides</dc:creator>
      <dc:date>2011-01-23T19:36:55Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818204#M4464</link>
      <description>I checked the problem with the version 10.2 Update7. win7. 32bit. No exceptions were found with the inputs you pointed.&lt;DIV&gt;for example - see the results after dgetrf&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;dgetrf passed -- 0&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;2.000000e+000  5.000000e-001  5.000000e-001&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;1.000000e+000  1.500000e+000  3.333333e-001&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;1.000000e+000  5.000000e-001  -6.666667e-001&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Sun, 23 Jan 2011 20:13:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818204#M4464</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-01-23T20:13:58Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818205#M4465</link>
      <description>Thanks for your reply , can you please say me the libraries you have linked ?</description>
      <pubDate>Mon, 24 Jan 2011 02:00:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818205#M4465</guid>
      <dc:creator>majides</dc:creator>
      <dc:date>2011-01-24T02:00:43Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818206#M4466</link>
      <description>&lt;I&gt;B={230} and send it ti the Sole the error segmentation fault appears&lt;BR /&gt;&lt;BR /&gt;&lt;/I&gt;B={230} initializes only B[0], leaving B[1] and B[2] unset.&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;send it ti the Sole&lt;BR /&gt;&lt;/I&gt;&lt;BR /&gt;????&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jan 2011 02:26:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818206#M4466</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2011-01-24T02:26:22Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818207#M4467</link>
      <description>sorry I mean B={2,3,0} not {230}.</description>
      <pubDate>Mon, 24 Jan 2011 02:33:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818207#M4467</guid>
      <dc:creator>majides</dc:creator>
      <dc:date>2011-01-24T02:33:25Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818208#M4468</link>
      <description>"mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib"&lt;DIV&gt;if you need I can send the VS2008 project with yourexample.&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Jan 2011 06:10:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818208#M4468</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-01-24T06:10:05Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818209#M4469</link>
      <description>Thank you so much, my question is that do you know which libraries are equal to this library in linux version , I'm using a linux version of mkl library so I don't know which library I should link for this new version because the guide library for last version is omitted in this version .</description>
      <pubDate>Tue, 25 Jan 2011 22:28:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818209#M4469</guid>
      <dc:creator>majides</dc:creator>
      <dc:date>2011-01-25T22:28:36Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818210#M4470</link>
      <description>Enough has changed since the MKL which had libguide, and enough depends on input from you, that the link advisor at the top of this forum would be better than taking a guess, although basically there's a direct correspondence between libraries needed for Windows and those for linux.</description>
      <pubDate>Tue, 25 Jan 2011 23:47:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818210#M4470</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-01-25T23:47:04Z</dc:date>
    </item>
    <item>
      <title>Solving a system of equation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818211#M4471</link>
      <description>See here the direct link to &lt;A href="http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;the adviser&lt;/A&gt;</description>
      <pubDate>Wed, 26 Jan 2011 08:58:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Solving-a-system-of-equation/m-p/818211#M4471</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2011-01-26T08:58:47Z</dc:date>
    </item>
  </channel>
</rss>

