<?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 Problem while calling sparse matrix routines in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-while-calling-sparse-matrix-routines/m-p/830323#M5488</link>
    <description>&lt;PRE&gt;[bash]       
        double csr_values = {5,1,2,8,3,5,9,4};
        double x = {1,3,1,2};

        int csr_j = {2,3,1,3,4,3,2,3};
        int csr_i= {1,3,6,7,9};
     
        double *y = (double *) malloc(4*sizeof(double));
        int i;
        for(i=0;i&amp;lt;4;i++)
                y&lt;I&gt; = 0.0;
        int my_size = 4;
        mkl_dcsrgemv("N", my_size, csr_values, csr_i, csr_j, x, y);[/bash]&lt;/I&gt;&lt;/PRE&gt;


I'm just getting started with MKL. I'm getting a segmentation fault when I execute the code</description>
    <pubDate>Sun, 15 Jan 2012 17:07:30 GMT</pubDate>
    <dc:creator>jaidotsh</dc:creator>
    <dc:date>2012-01-15T17:07:30Z</dc:date>
    <item>
      <title>Problem while calling sparse matrix routines</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-while-calling-sparse-matrix-routines/m-p/830323#M5488</link>
      <description>&lt;PRE&gt;[bash]       
        double csr_values = {5,1,2,8,3,5,9,4};
        double x = {1,3,1,2};

        int csr_j = {2,3,1,3,4,3,2,3};
        int csr_i= {1,3,6,7,9};
     
        double *y = (double *) malloc(4*sizeof(double));
        int i;
        for(i=0;i&amp;lt;4;i++)
                y&lt;I&gt; = 0.0;
        int my_size = 4;
        mkl_dcsrgemv("N", my_size, csr_values, csr_i, csr_j, x, y);[/bash]&lt;/I&gt;&lt;/PRE&gt;


I'm just getting started with MKL. I'm getting a segmentation fault when I execute the code</description>
      <pubDate>Sun, 15 Jan 2012 17:07:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-while-calling-sparse-matrix-routines/m-p/830323#M5488</guid>
      <dc:creator>jaidotsh</dc:creator>
      <dc:date>2012-01-15T17:07:30Z</dc:date>
    </item>
    <item>
      <title>Problem while calling sparse matrix routines</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-while-calling-sparse-matrix-routines/m-p/830324#M5489</link>
      <description>The second argument should be &amp;amp;my_size. To catch such errors, use the provided prototypes.</description>
      <pubDate>Mon, 16 Jan 2012 02:32:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Problem-while-calling-sparse-matrix-routines/m-p/830324#M5489</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-01-16T02:32:25Z</dc:date>
    </item>
  </channel>
</rss>

