<?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 Hi Victor, in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974884#M3390</link>
    <description>&lt;P&gt;Hi Victor,&lt;/P&gt;

&lt;P&gt;Since you have the Intel® Trace Analyzer and Collector, my first recommendation is to run with -check_mpi to link to the correctness checking library.&amp;nbsp; This will check your MPI calls for errors.&amp;nbsp; If this doesn't find the problem, please send me the reproducer code and I can take a look at it.&lt;/P&gt;

&lt;P&gt;Sincerely,&lt;BR /&gt;
	James Tullos&lt;BR /&gt;
	Technical Consulting Engineer&lt;BR /&gt;
	Intel® Cluster Tools&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2014 19:12:16 GMT</pubDate>
    <dc:creator>James_T_Intel</dc:creator>
    <dc:date>2014-02-07T19:12:16Z</dc:date>
    <item>
      <title>Segmentation fault in MPIU_Handle_obj_alloc_unsafe</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974883#M3389</link>
      <description>&lt;P&gt;Dear Developers,&lt;/P&gt;&lt;P&gt;I am struggling with the following problem:&lt;/P&gt;&lt;P&gt;[2] [2] ERROR: LOCAL:EXIT:SIGNAL: fatal error&lt;BR /&gt;[2] [2] ERROR:&amp;nbsp;&amp;nbsp;&amp;nbsp; Fatal signal 11 (SIGSEGV) raised.&lt;BR /&gt;[2] [2] ERROR:&amp;nbsp;&amp;nbsp;&amp;nbsp; Signal was encountered at:&lt;BR /&gt;[2] [2] ERROR:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MPIU_Handle_obj_alloc_unsafe (/tmp/7b663e0dc22b2304e487307e376dc132.xtmpdir.nnlmpicl211.16412_32e/mpi4.32e.nnlmpibld05.20130522/dev/src/util/mem/x86_64/debug_dynamic/../../handlemem.c:353)&lt;BR /&gt;[2] [2] ERROR:&amp;nbsp;&amp;nbsp;&amp;nbsp; While processing:&lt;BR /&gt;[2] [2] ERROR:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MPI_Win_lock(lock_type=234, rank=2, assert=0, win=0xffffffffa0000002)&lt;BR /&gt;[0] [0] WARNING: starting premature shutdown&lt;/P&gt;&lt;P&gt;I got this diagnostic message by using the Intel ITAC. In our application we do a lot of 1sided passive "put" and "get" operations across working MPI processes. The memory attached to MPI's windows is allocated via 'malloc'. The program is running on the HP SL230s compute server equipped with two Intel E5-2660 (2.2 GHz Sandybridge) processors with 8 cores each (i.e. 16 cores per compute server).&amp;nbsp; The problem starts only when I start using more than 4 cores on a single node, regardless 'I_MPI_FABRICS' (=shm,dssm) setting and compiler's optimization leve used.&amp;nbsp; The software stack is listed below:&lt;/P&gt;&lt;P&gt;intel/14.0.1&lt;/P&gt;&lt;P&gt;impi/4.1.1.036&lt;/P&gt;&lt;P&gt;itac/8.1.3.037&lt;/P&gt;&lt;P&gt;I am wondering if there is a quick solution to this problem?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2014 15:08:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974883#M3389</guid>
      <dc:creator>Victor_V_</dc:creator>
      <dc:date>2014-02-03T15:08:11Z</dc:date>
    </item>
    <item>
      <title>Hi Victor,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974884#M3390</link>
      <description>&lt;P&gt;Hi Victor,&lt;/P&gt;

&lt;P&gt;Since you have the Intel® Trace Analyzer and Collector, my first recommendation is to run with -check_mpi to link to the correctness checking library.&amp;nbsp; This will check your MPI calls for errors.&amp;nbsp; If this doesn't find the problem, please send me the reproducer code and I can take a look at it.&lt;/P&gt;

&lt;P&gt;Sincerely,&lt;BR /&gt;
	James Tullos&lt;BR /&gt;
	Technical Consulting Engineer&lt;BR /&gt;
	Intel® Cluster Tools&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2014 19:12:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974884#M3390</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-02-07T19:12:16Z</dc:date>
    </item>
    <item>
      <title>Dear James,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974885#M3391</link>
      <description>&lt;P style="margin-bottom: 0in"&gt;Dear James,&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;I have localized the problem. The memory corruption (memory underflow) was due to wrong array indexing caused by using the MPI_ALLREDUCE function. More specifically, when our program runs on 16 cores on a single node, then the following call gives us wrong results:&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;MPI_Allreduce(MPI_IN_PLACE, X,N, MPI_LONG,MPI_SUM,MPI_COMM_WORLD)&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;However, if I preallocate array Y for receiving and accumulating results, then results are correct:&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;MPI_Allreduce(X,Y, N, MPI_LONG,MPI_SUM,MPI_COMM_WORLD)&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;Moreover, the two-step MPI_Reduce/MPI_Bcast approach works out even with the MPI_IN_PLACE used.&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;The typical dimension of N in our case is ~500000-800000.&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;In principle, I might try to check whether this problem is related to the default I_MPI_ADJUST_ALLREDUCE setting. What do you think?&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;With best regards,&lt;/P&gt;

&lt;P style="margin-bottom: 0in"&gt;Victor.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2014 10:38:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974885#M3391</guid>
      <dc:creator>Victor_V_</dc:creator>
      <dc:date>2014-02-13T10:38:58Z</dc:date>
    </item>
    <item>
      <title>Changing I_MPI_ADJUST</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974886#M3392</link>
      <description>&lt;P&gt;Changing I_MPI_ADJUST_ALLREDUCE only changes the algorithm used for MPI_Allreduce.&amp;nbsp; If it is related to the algorithm used, then there is another problem we need to resolve.&amp;nbsp; Can you provide a reproducer code?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 20:53:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Segmentation-fault-in-MPIU-Handle-obj-alloc-unsafe/m-p/974886#M3392</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2014-03-05T20:53:16Z</dc:date>
    </item>
  </channel>
</rss>

