<?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:mkl_sparse_copy for a symetric matrix in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1311011#M31950</link>
    <description>&lt;P&gt;The issue is closing and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 31 Aug 2021 03:49:05 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2021-08-31T03:49:05Z</dc:date>
    <item>
      <title>mkl_sparse_copy for a symetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310144#M31934</link>
      <description>&lt;P&gt;I have a symmetric sparse matrix and I would like to keep only the upper triangle.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was thinking this is possible using:&lt;/P&gt;
&lt;P&gt;descr.type=SPARSE_MATRIX_TYPE_SYMMETRIC; //keep only upper triangle&lt;BR /&gt;descr.mode=SPARSE_FILL_MODE_UPPER;&lt;BR /&gt;descr.diag=SPARSE_DIAG_NON_UNIT;&lt;/P&gt;
&lt;P&gt;sparse_status_t ok=mkl_sparse_copy(matrix,descr,&amp;amp;upper_Triangle_csr);&lt;/P&gt;
&lt;P&gt;I am exporting the resulting matrix (for using in PARDISO) and it looks that the full matrix is exported. Am I understanding the documentation wrong and the full matrix is copied? Am I doing it the wrong way?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for helping.&lt;/P&gt;
&lt;P&gt;Marc&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 23:03:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310144#M31934</guid>
      <dc:creator>marcsolal</dc:creator>
      <dc:date>2021-08-26T23:03:45Z</dc:date>
    </item>
    <item>
      <title>Re:mkl_sparse_copy for a symetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310272#M31935</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;I&gt;Am I understanding the documentation wrong&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know which documentation you are referring to ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;I&gt;I am exporting the resulting matrix (for using in PARDISO) and it looks that the full matrix is exported&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us the sample reproducer and command used to compile the code so that we can work on it from our end.&lt;/P&gt;&lt;P&gt;And also provide us your environment details on which you are working.&lt;/P&gt;&lt;P&gt;OS &amp;amp; version&lt;/P&gt;&lt;P&gt;MKL version&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Aug 2021 08:35:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310272#M31935</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-08-27T08:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Re:mkl_sparse_copy for a symetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310340#M31938</link>
      <description>&lt;P&gt;I am using version 2019.5.281 of parallel studio on linux.&amp;nbsp; It is true I looked in the online documentation which should be a different version. Could you please at least confirm I am understanding this right? I am aiming to keep only the upper triangle. Am I doing this right? If the answer is yes, I will try to generate a smaller example I can share. Thanks for helping.&lt;/P&gt;
&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 13:02:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310340#M31938</guid>
      <dc:creator>marcsolal</dc:creator>
      <dc:date>2021-08-27T13:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re:mkl_sparse_copy for a symetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310432#M31941</link>
      <description>&lt;P&gt;This is a&amp;nbsp; small code example I generated. It is supposed to copy only the upper triangle but everything is copied. This looks like a bug, or I did not understand how&amp;nbsp;mkl_sparse_copy is working.&amp;nbsp; Please let me know if I am right.&lt;/P&gt;
&lt;P&gt;Thanks for helping.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Marc&lt;/P&gt;
&lt;P&gt;Results:&lt;/P&gt;
&lt;P&gt;Intel(R) Math Kernel Library Version 2019.0.5 Product Build 20190808 for Intel(R) 64 architecture applications&lt;BR /&gt;===Generating symmetric csr sparse matrix&lt;BR /&gt;(1,5)&lt;BR /&gt;(2,3)&lt;BR /&gt;(3,4)&lt;BR /&gt;(3,6)&lt;/P&gt;
&lt;P&gt;OPENMP DISPLAY ENVIRONMENT BEGIN&lt;BR /&gt;_OPENMP='201611'&lt;BR /&gt;[host] OMP_AFFINITY_FORMAT='OMP: pid %P tid %i thread %n bound to OS proc set {%A}'&lt;BR /&gt;[host] OMP_ALLOCATOR='omp_default_mem_alloc'&lt;BR /&gt;[host] OMP_CANCELLATION='FALSE'&lt;BR /&gt;[host] OMP_DEBUG='disabled'&lt;BR /&gt;[host] OMP_DEFAULT_DEVICE='0'&lt;BR /&gt;[host] OMP_DISPLAY_AFFINITY='FALSE'&lt;BR /&gt;[host] OMP_DISPLAY_ENV='TRUE'&lt;BR /&gt;[host] OMP_DYNAMIC='FALSE'&lt;BR /&gt;[host] OMP_MAX_ACTIVE_LEVELS='2'&lt;BR /&gt;[host] OMP_MAX_TASK_PRIORITY='0'&lt;BR /&gt;[host] OMP_NESTED='FALSE'&lt;BR /&gt;[host] OMP_NUM_THREADS='40'&lt;BR /&gt;[host] OMP_PLACES='cores'&lt;BR /&gt;[host] OMP_PROC_BIND='spread,close'&lt;BR /&gt;[host] OMP_SCHEDULE='static'&lt;BR /&gt;[host] OMP_STACKSIZE='32000k'&lt;BR /&gt;[host] OMP_TARGET_OFFLOAD=DEFAULT&lt;BR /&gt;[host] OMP_THREAD_LIMIT='2147483647'&lt;BR /&gt;[host] OMP_TOOL='enabled'&lt;BR /&gt;[host] OMP_TOOL_LIBRARIES: value is not defined&lt;BR /&gt;[host] OMP_WAIT_POLICY='PASSIVE'&lt;BR /&gt;OPENMP DISPLAY ENVIRONMENT END&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;=====Result after copy&lt;BR /&gt;(1,1) (1,5)&lt;BR /&gt;(2,2) (2,3)&lt;BR /&gt;(3,2) (3,3) (3,4) (3,6)&lt;BR /&gt;(4,3) (4,4)&lt;BR /&gt;(5,1) (5,5)&lt;BR /&gt;(6,3) (6,6)&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 18:48:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310432#M31941</guid>
      <dc:creator>marcsolal</dc:creator>
      <dc:date>2021-08-27T18:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: mkl_sparse_copy for a symetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310437#M31942</link>
      <description>&lt;P&gt;Here is a small example showing that the copy routine is copying the full matrix. I did not understand how this is working or this looks like a bug in the library.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for looking ad helping.&lt;/P&gt;
&lt;P&gt;Marc&lt;/P&gt;
&lt;P&gt;Intel(R) Math Kernel Library Version 2019.0.5 Product Build 20190808 for Intel(R) 64 architecture applications&lt;BR /&gt;===Generating symmetric csr sparse matrix&lt;BR /&gt;(1,5)&lt;BR /&gt;(2,3)&lt;BR /&gt;(3,4)&lt;BR /&gt;(3,6)&lt;/P&gt;
&lt;P&gt;OPENMP DISPLAY ENVIRONMENT BEGIN&lt;BR /&gt;_OPENMP='201611'&lt;BR /&gt;[host] OMP_AFFINITY_FORMAT='OMP: pid %P tid %i thread %n bound to OS proc set {%A}'&lt;BR /&gt;[host] OMP_ALLOCATOR='omp_default_mem_alloc'&lt;BR /&gt;[host] OMP_CANCELLATION='FALSE'&lt;BR /&gt;[host] OMP_DEBUG='disabled'&lt;BR /&gt;[host] OMP_DEFAULT_DEVICE='0'&lt;BR /&gt;[host] OMP_DISPLAY_AFFINITY='FALSE'&lt;BR /&gt;[host] OMP_DISPLAY_ENV='TRUE'&lt;BR /&gt;[host] OMP_DYNAMIC='FALSE'&lt;BR /&gt;[host] OMP_MAX_ACTIVE_LEVELS='2'&lt;BR /&gt;[host] OMP_MAX_TASK_PRIORITY='0'&lt;BR /&gt;[host] OMP_NESTED='FALSE'&lt;BR /&gt;[host] OMP_NUM_THREADS='40'&lt;BR /&gt;[host] OMP_PLACES='cores'&lt;BR /&gt;[host] OMP_PROC_BIND='spread,close'&lt;BR /&gt;[host] OMP_SCHEDULE='static'&lt;BR /&gt;[host] OMP_STACKSIZE='32000k'&lt;BR /&gt;[host] OMP_TARGET_OFFLOAD=DEFAULT&lt;BR /&gt;[host] OMP_THREAD_LIMIT='2147483647'&lt;BR /&gt;[host] OMP_TOOL='enabled'&lt;BR /&gt;[host] OMP_TOOL_LIBRARIES: value is not defined&lt;BR /&gt;[host] OMP_WAIT_POLICY='PASSIVE'&lt;BR /&gt;OPENMP DISPLAY ENVIRONMENT END&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;=====Result after copy&lt;BR /&gt;(1,1) (1,5)&lt;BR /&gt;(2,2) (2,3)&lt;BR /&gt;(3,2) (3,3) (3,4) (3,6)&lt;BR /&gt;(4,3) (4,4)&lt;BR /&gt;(5,1) (5,5)&lt;BR /&gt;(6,3) (6,6)&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 19:03:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310437#M31942</guid>
      <dc:creator>marcsolal</dc:creator>
      <dc:date>2021-08-27T19:03:22Z</dc:date>
    </item>
    <item>
      <title>Re:mkl_sparse_copy for a symetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310749#M31947</link>
      <description>&lt;P&gt;Marc,&lt;/P&gt;&lt;P&gt;You are right, at the current moment mkl_sparse_copy is copying the full matrixes. &lt;/P&gt;&lt;P&gt;The MKL’s documentation has to be updated. We will do that asap. &lt;/P&gt;&lt;P&gt;Regarding copying upper triangle part of the matrix, we would recommend You submitting the Feature Request query to the &lt;A href="https://supporttickets.intel.com/servicecenter?lang=en-US" rel="noopener noreferrer" target="_blank"&gt;Intel online Service Center&lt;/A&gt; &amp;nbsp;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Aug 2021 04:56:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1310749#M31947</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-08-30T04:56:06Z</dc:date>
    </item>
    <item>
      <title>Re:mkl_sparse_copy for a symetric matrix</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1311011#M31950</link>
      <description>&lt;P&gt;The issue is closing and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Aug 2021 03:49:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/mkl-sparse-copy-for-a-symetric-matrix/m-p/1311011#M31950</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-08-31T03:49:05Z</dc:date>
    </item>
  </channel>
</rss>

