<?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 Evarist,  thankyou very much in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070669#M22244</link>
    <description>&lt;P&gt;Evarist, &amp;nbsp;thankyou very much for that advice.&lt;/P&gt;

&lt;P&gt;I could use the Intel MPI.&lt;/P&gt;

&lt;P&gt;What would I use for options then please?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2015 07:41:05 GMT</pubDate>
    <dc:creator>John_H_19</dc:creator>
    <dc:date>2015-11-17T07:41:05Z</dc:date>
    <item>
      <title>HPCC - use mkl=cluster  and crashing in</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070667#M22242</link>
      <description>&lt;P&gt;I am trying to run the HPCC benchmark on our cluster.&lt;/P&gt;

&lt;P&gt;The system has Intel compilers and MKL release 2015.5.223&lt;/P&gt;

&lt;P&gt;I am compiling with Openmpi version 1.8.5 also (though I do not think this is the problem)&lt;/P&gt;

&lt;P&gt;I am following&amp;nbsp;&lt;A href="https://software.intel.com/en-us/articles/performance-tools-for-software-developers-use-of-intel-mkl-in-hpcc-benchmark"&gt;https://software.intel.com/en-us/articles/performance-tools-for-software-developers-use-of-intel-mkl-in-hpcc-benchmark&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I have compiled OK. This seems a bit out of date though.&lt;/P&gt;

&lt;P&gt;With up to date MKL should I compile with &amp;nbsp; &amp;nbsp;-mkl=cluster &amp;nbsp; &amp;nbsp; for HPCC?&lt;/P&gt;

&lt;P&gt;Are there some more up to date writeups please?&lt;/P&gt;

&lt;P&gt;When I run it crashes in the MPIFFT portion of the run.&lt;/P&gt;

&lt;P&gt;For what its worth:&lt;/P&gt;

&lt;DIV&gt;[comp06:10941] *** Process received signal ***&lt;/DIV&gt;

&lt;DIV&gt;[comp06:10941] Signal: Segmentation fault (11)&lt;/DIV&gt;

&lt;DIV&gt;[comp06:10941] Signal code: Address not mapped (1)&lt;/DIV&gt;

&lt;DIV&gt;[comp06:10941] Failing at address: 0x9b&lt;/DIV&gt;

&lt;DIV&gt;[comp12:10910] [comp09:10876] [ 0] /lib64/libpthread.so.0(+0xf130)[0x2aaaaacde130]&lt;/DIV&gt;

&lt;DIV&gt;[comp09:10876] [ 1] [comp12:10928] [ 0] /lib64/libpthread.so.0(+0xf130)[0x2aaaaacde130]&lt;/DIV&gt;

&lt;DIV&gt;[comp12:10928] [ 1] [comp09:10890] [ 0] /lib64/libpthread.so.0(+0xf130)[0x2aaaaacde130]&lt;/DIV&gt;

&lt;DIV&gt;[comp09:10890] [ 1] [comp13:10948] Signal: Segmentation fault (11)&lt;/DIV&gt;

&lt;DIV&gt;[comp13:10948] Signal code: Address not mapped (1)&lt;/DIV&gt;

&lt;DIV&gt;[comp13:10948] Failing at address: 0x9b&lt;/DIV&gt;

&lt;DIV&gt;[comp07:10876] [ 0] /lib64/libpthread.so.0(+0xf130)[0x2aaaaacde130]&lt;/DIV&gt;

&lt;DIV&gt;[comp07:10876] [ 1] [comp06:10945] *** Process received signal ***&lt;/DIV&gt;

&lt;DIV&gt;[comp06:10945] Signal: Segmentation fault (11)&lt;/DIV&gt;

&lt;DIV&gt;[comp06:10945] Signal code: Address not mapped (1)&lt;/DIV&gt;

&lt;DIV&gt;[comp06:10945] Failing at address: 0x9b&lt;/DIV&gt;

&lt;DIV&gt;/cm/shared/apps/openmpi/intel/64/1.8.5/lib64/libmpi.so.1(MPI_Comm_size+0x59)[0x2aaaab250969]&lt;/DIV&gt;

&lt;DIV&gt;[comp12:10928] [ 2] ./hpcc[0x198e560]&lt;/DIV&gt;

&lt;DIV&gt;[comp12:10928] [ 3] ./hpcc[0x4537f4]&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 04:04:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070667#M22242</guid>
      <dc:creator>John_H_19</dc:creator>
      <dc:date>2015-11-17T04:04:18Z</dc:date>
    </item>
    <item>
      <title>Hi John,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070668#M22243</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;

&lt;P&gt;compiler option -mkl=cluster works for Intel MPI only, since it links an application with -lmkl_blacs_intelmpi_lp64. Since you are using OpenMPI, please specify mkl libraries explicitly, i.e. instead of -mkl=cluster use&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;-L$MKLROOT/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_openmpi_lp64 ...&lt;/PRE&gt;

&lt;P&gt;Please take a look at Intel MKL Link-line adviser: &lt;A href="https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor" target="_blank"&gt;https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 07:13:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070668#M22243</guid>
      <dc:creator>Evarist_F_Intel</dc:creator>
      <dc:date>2015-11-17T07:13:05Z</dc:date>
    </item>
    <item>
      <title>Evarist,  thankyou very much</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070669#M22244</link>
      <description>&lt;P&gt;Evarist, &amp;nbsp;thankyou very much for that advice.&lt;/P&gt;

&lt;P&gt;I could use the Intel MPI.&lt;/P&gt;

&lt;P&gt;What would I use for options then please?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 07:41:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070669#M22244</guid>
      <dc:creator>John_H_19</dc:creator>
      <dc:date>2015-11-17T07:41:05Z</dc:date>
    </item>
    <item>
      <title>Also, one other bit of advice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070670#M22245</link>
      <description>&lt;P&gt;Also, one other bit of advice.&lt;/P&gt;

&lt;P&gt;When building HPCC should I use the ilp64 &amp;nbsp;or the lp64 interface?&lt;/P&gt;

&lt;P&gt;There seems to be some conflicting advice! &amp;nbsp;I have 380 cores to run on.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 07:42:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070670#M22245</guid>
      <dc:creator>John_H_19</dc:creator>
      <dc:date>2015-11-17T07:42:39Z</dc:date>
    </item>
    <item>
      <title>Hi John, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070671#M22246</link>
      <description>&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;By default, it is LP64. &amp;nbsp;(ILP64 is int64)&amp;nbsp;&lt;/P&gt;

&lt;P&gt;could you please let me know what is conflicting advice?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Ying&lt;/P&gt;

&lt;P&gt;${MKLROOT}/lib/intel64/libmkl_scalapack_lp64.a -Wl,--start-group ${MKLROOT}/lib/intel64/libmkl_cdft_core.a ${MKLROOT}/lib/intel64/libmkl_intel_lp64.a ${MKLROOT}/lib/intel64/libmkl_core.a ${MKLROOT}/lib/intel64/libmkl_intel_thread.a ${MKLROOT}/lib/intel64/libmkl_blacs_openmpi_lp64.a -Wl,--end-group -lpthread -lm&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 08:46:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070671#M22246</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-11-17T08:46:56Z</dc:date>
    </item>
    <item>
      <title>Ying,, thankyou for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070672#M22247</link>
      <description>&lt;P&gt;Ying,, thankyou for your reply.&lt;/P&gt;

&lt;P&gt;Please have a look at the comments at the end of this article - it does say ilp64 !&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/287304"&gt;https://software.intel.com/en-us/forums/intel-math-kernel-library/topic/287304&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 09:49:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070672#M22247</guid>
      <dc:creator>John_H_19</dc:creator>
      <dc:date>2015-11-17T09:49:45Z</dc:date>
    </item>
    <item>
      <title>Hi John, </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070673#M22248</link>
      <description>&lt;P&gt;Hi John,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I see the problem. LP64 is 32bit integer, Long64bit Pointer64bit. &amp;nbsp;In most of case, we use &amp;nbsp;32bit integer, so LP64 library are used usually.&lt;/P&gt;

&lt;P&gt;If you do set the option explicitly like the article &lt;A href="https://origin-software.intel.com/en-us/articles/performance-tools-for-software-developers-use-of-intel-mkl-in-hpcc-benchmark" target="_blank"&gt;https://origin-software.intel.com/en-us/articles/performance-tools-for-software-developers-use-of-intel-mkl-in-hpcc-benchmark&lt;/A&gt; ,&lt;/P&gt;

&lt;P&gt;, &lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 14px; line-height: 15.4px;"&gt;-DMKL_INT=long -DLONG_IS_64BITS&lt;/SPAN&gt;&amp;nbsp;. &amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;where MKL_INT=long is 64bit,&amp;nbsp;&lt;/SPAN&gt; then yes, the correct library should be &lt;STRONG&gt;ILP64. &amp;nbsp;(all LP64 should be ILP64).&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;/P&gt;

&lt;P&gt;Ying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 06:18:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/HPCC-use-mkl-cluster-and-crashing-in/m-p/1070673#M22248</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2015-11-18T06:18:03Z</dc:date>
    </item>
  </channel>
</rss>

