<?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 In my case, it was necessary in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-cluster-sparse-solver-with-64-bit-integers/m-p/1058962#M21592</link>
    <description>&lt;P&gt;In my case, it was necessary to change `-lmkl` to `-lmkl_intel_ilp64 -lmkl_core`.&lt;/P&gt;

&lt;P&gt;Thank you very much, Gennady!&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2015 14:20:14 GMT</pubDate>
    <dc:creator>Ivan_K_6</dc:creator>
    <dc:date>2015-08-24T14:20:14Z</dc:date>
    <item>
      <title>Using cluster_sparse_solver with 64 bit integers</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-cluster-sparse-solver-with-64-bit-integers/m-p/1058960#M21590</link>
      <description>&lt;P&gt;I am trying to use `cluster_sparse_solver` with 64-bit integers (longs) for extended matrix sizes.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The first thing that I have tried is compiling my code with `-DMKL_ILP64`, which changed the `MKL_INT` type size, but had `cluster_sparse_solver` return `-2` (insufficient memory, as per docs here: &lt;A href="https://software.intel.com/en-us/node/521694)" target="_blank"&gt;https://software.intel.com/en-us/node/521694)&lt;/A&gt;. I assume this means that under the hood, `cluster_sparse_solver` is casting `MKL_INT` into an `int` (or is linked with standard integer size), which results in a bogus number, which in turn results in the error.&lt;/P&gt;

&lt;P&gt;I know that the call sequence for `cluster_sparse_solver` is similar to `PARDISO` (is based on it?), and I assume that `cluster_sparse_solver` used to be called `CPARDISO`. If I am correct, `PARDISO` should support extended integer sizes.&lt;/P&gt;

&lt;P&gt;I wonder if there is an easy way to have `cluster_sparse_solver` work with larger integers.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 19.5120010375977px;"&gt;The version of MKL in question is mkl 11.2u3, which was bundled with composer_xe 2015 3.187. My compiler flags are: `&lt;/SPAN&gt;-m64 -mkl -lm -openmp -lmkl_blacs_intelmpi_ilp64 -lmkl_scalapack_ilp64 -DMKL_ILP64`&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 20:50:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-cluster-sparse-solver-with-64-bit-integers/m-p/1058960#M21590</guid>
      <dc:creator>Ivan_K_6</dc:creator>
      <dc:date>2015-08-21T20:50:03Z</dc:date>
    </item>
    <item>
      <title>Ivan,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-cluster-sparse-solver-with-64-bit-integers/m-p/1058961#M21591</link>
      <description>&lt;P&gt;Ivan,&lt;/P&gt;

&lt;P&gt;yes,&amp;nbsp;cluster_sparse_solver works with ILP64 API - you need explicitly link your application with ILP64 binaries ( you may better to use MKL Linker adviser -&amp;nbsp;&lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/"&gt;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/&lt;/A&gt;&amp;nbsp; to take which libraries you need to link.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Into your case – you tried to use &amp;nbsp;option –mkl, This option says compiler to link with LP64 interfaces by the default.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 08:44:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-cluster-sparse-solver-with-64-bit-integers/m-p/1058961#M21591</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2015-08-24T08:44:07Z</dc:date>
    </item>
    <item>
      <title>In my case, it was necessary</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-cluster-sparse-solver-with-64-bit-integers/m-p/1058962#M21592</link>
      <description>&lt;P&gt;In my case, it was necessary to change `-lmkl` to `-lmkl_intel_ilp64 -lmkl_core`.&lt;/P&gt;

&lt;P&gt;Thank you very much, Gennady!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:20:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Using-cluster-sparse-solver-with-64-bit-integers/m-p/1058962#M21592</guid>
      <dc:creator>Ivan_K_6</dc:creator>
      <dc:date>2015-08-24T14:20:14Z</dc:date>
    </item>
  </channel>
</rss>

