<?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 Thanks for the reply. in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156451#M27615</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;

&lt;P&gt;Just to confirm, do you recommend, on Windows x64, link against ilp64 (not lp64), and use MKL_INT as data type for the internal data array (pt) ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2017 11:30:14 GMT</pubDate>
    <dc:creator>Dinesh_S_</dc:creator>
    <dc:date>2017-08-01T11:30:14Z</dc:date>
    <item>
      <title>Pardiso pointer (pt) type</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156448#M27612</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I am using pardiso solver in c++ under visual studio 2012 (x64). What should be the proper type of pt (int or long int). I cam currently using it as void *. Also I am linking with interface layer &amp;nbsp;lp64. Should I be using ilp64?&lt;/P&gt;

&lt;P&gt;When I used it as long int, my run would crash in Release mode, but not in debug mode. However it seems to run fine if I use void *&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Dinesh&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 13:48:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156448#M27612</guid>
      <dc:creator>Dinesh_S_</dc:creator>
      <dc:date>2017-07-28T13:48:17Z</dc:date>
    </item>
    <item>
      <title>   /* Internal solver memory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156449#M27613</link>
      <description>&lt;P&gt;&amp;nbsp; &amp;nbsp;/* Internal solver memory pointer pt, */&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; /* 32-bit: int pt[64]; 64-bit: long int pt[64] */&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; /* or void *pt[64] should be OK on both architectures */&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 06:01:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156449#M27613</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2017-08-01T06:01:46Z</dc:date>
    </item>
    <item>
      <title>In x86 platform, the size of</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156450#M27614</link>
      <description>&lt;P&gt;In x86 platform, the size of void* 4 bytes, but in x64 platform is 8 bytes. In windows, for x86, int is same as long(4 bytes); for x64 platform/ 64bits integer(ilp64), please use long long int(8 bytes). But in Linux, long is 8 bytes in x64.&lt;/P&gt;

&lt;P&gt;I recommend to use MKL_INT, it's 4 bytes for x86/x64 with lp64; and 8 bytes for x86/x64 with ilp64.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 06:33:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156450#M27614</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-08-01T06:33:26Z</dc:date>
    </item>
    <item>
      <title>Thanks for the reply.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156451#M27615</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;

&lt;P&gt;Just to confirm, do you recommend, on Windows x64, link against ilp64 (not lp64), and use MKL_INT as data type for the internal data array (pt) ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 11:30:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156451#M27615</guid>
      <dc:creator>Dinesh_S_</dc:creator>
      <dc:date>2017-08-01T11:30:14Z</dc:date>
    </item>
    <item>
      <title>The datatype of pt is</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156452#M27616</link>
      <description>&lt;P&gt;The datatype of pt is actually not about lp64 or ilp64, it only about program on which platform. If your program is build with x86, the void* is 4 bytes, if your problem is build with x64 platform, the void* is 8 bytes. According to your problem, void* would be the best solution. If you insist to use integer datatype to define pt, please write your code like below in windows:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;#if defined (_WIN64)
#define INTEGER long long int
#elif defined (_WIN32)
#define INTEGER int
#endif
....
INTEGER pt[64];
....&lt;/PRE&gt;

&lt;P&gt;If your program is for 64bit integer which means all integer data are saved and calculated as 64bits, then you could use MKL_INT and call 64bits interface pardiso_64 and link with ilp64, otherwise, please use lp64 library.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
	Fiona&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 08:24:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Pardiso-pointer-pt-type/m-p/1156452#M27616</guid>
      <dc:creator>Zhen_Z_Intel</dc:creator>
      <dc:date>2017-08-02T08:24:10Z</dc:date>
    </item>
  </channel>
</rss>

