<?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 MPI and Quantum Espresso in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1173808#M6625</link>
    <description>&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;I am having difficulty using MPI from parallel studio cluster edition 2016 in conjunction with Quantum Espresso PWSCF v 6.3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the problems may be inter-related and are to do with MPI-communicators. I compiled pw.x with Intel compilers, with Intel MPI, Intel ScaLapack and MKL, but without OpenMP.&lt;/P&gt;&lt;P&gt;I have been running pw.x with multiple processes quite successfully,&amp;nbsp;however when the number of processes is high enough, such that the space&amp;nbsp;group has more than 7 processes, where the subspace diagonalization no&amp;nbsp;longer uses a serial algorithm, the program crashes abruptly at about&amp;nbsp;the 10th iteration with the following errors;&lt;/P&gt;&lt;P&gt;Fatal error in PMPI_Cart_sub: Other MPI error, error stack: PMPI_Cart_sub(242)...................: MPI_Cart_sub(comm=0xc400fcf3, remain_dims=0x7ffe0b27a6e8, comm_new=0x7ffe0b27a640) failed PMPI_Cart_sub(178)...................: MPIR_Comm_split_impl(270)............: MPIR_Get_contextid_sparse_group(1330): Too many communicators (0/16384 free on this process; ignore_id=0) Fatal error in PMPI_Cart_sub: Other MPI error, error stack: PMPI_Cart_sub(242)...................: MPI_Cart_sub(comm=0xc400fcf3, remain_dims=0x7ffefaee7ce8, comm_new=0x7ffefaee7c40) failed PMPI_Cart_sub(178)...................: MPIR_Comm_split_impl(270)............:&lt;/P&gt;&lt;P&gt;On the pw forum, I got this response;&lt;/P&gt;&lt;P&gt;'a careful look at the error message reveals, that you are running out of space for MPI communicators for which a fixed maximum number (16k) seems to be allowed. this hints at a problem somewhere that communicators are generated with MPI_Comm_split() and not properly cleared afterwards.'&lt;/P&gt;&lt;P&gt;But I don't know how to fix this..&lt;/P&gt;&lt;P&gt;Please kindly advise,&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Alex Durie&lt;/P&gt;&lt;P&gt;PhD student&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 20:13:36 GMT</pubDate>
    <dc:creator>durie__alex</dc:creator>
    <dc:date>2018-12-10T20:13:36Z</dc:date>
    <item>
      <title>MPI and Quantum Espresso</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1173808#M6625</link>
      <description>&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;I am having difficulty using MPI from parallel studio cluster edition 2016 in conjunction with Quantum Espresso PWSCF v 6.3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the problems may be inter-related and are to do with MPI-communicators. I compiled pw.x with Intel compilers, with Intel MPI, Intel ScaLapack and MKL, but without OpenMP.&lt;/P&gt;&lt;P&gt;I have been running pw.x with multiple processes quite successfully,&amp;nbsp;however when the number of processes is high enough, such that the space&amp;nbsp;group has more than 7 processes, where the subspace diagonalization no&amp;nbsp;longer uses a serial algorithm, the program crashes abruptly at about&amp;nbsp;the 10th iteration with the following errors;&lt;/P&gt;&lt;P&gt;Fatal error in PMPI_Cart_sub: Other MPI error, error stack: PMPI_Cart_sub(242)...................: MPI_Cart_sub(comm=0xc400fcf3, remain_dims=0x7ffe0b27a6e8, comm_new=0x7ffe0b27a640) failed PMPI_Cart_sub(178)...................: MPIR_Comm_split_impl(270)............: MPIR_Get_contextid_sparse_group(1330): Too many communicators (0/16384 free on this process; ignore_id=0) Fatal error in PMPI_Cart_sub: Other MPI error, error stack: PMPI_Cart_sub(242)...................: MPI_Cart_sub(comm=0xc400fcf3, remain_dims=0x7ffefaee7ce8, comm_new=0x7ffefaee7c40) failed PMPI_Cart_sub(178)...................: MPIR_Comm_split_impl(270)............:&lt;/P&gt;&lt;P&gt;On the pw forum, I got this response;&lt;/P&gt;&lt;P&gt;'a careful look at the error message reveals, that you are running out of space for MPI communicators for which a fixed maximum number (16k) seems to be allowed. this hints at a problem somewhere that communicators are generated with MPI_Comm_split() and not properly cleared afterwards.'&lt;/P&gt;&lt;P&gt;But I don't know how to fix this..&lt;/P&gt;&lt;P&gt;Please kindly advise,&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Alex Durie&lt;/P&gt;&lt;P&gt;PhD student&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 20:13:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1173808#M6625</guid>
      <dc:creator>durie__alex</dc:creator>
      <dc:date>2018-12-10T20:13:36Z</dc:date>
    </item>
    <item>
      <title>Do you get the same error</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1173809#M6626</link>
      <description>&lt;P&gt;Do you get the same error with the 2018 or 2019 versions?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 16:22:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1173809#M6626</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2018-12-18T16:22:44Z</dc:date>
    </item>
    <item>
      <title>Apologies if this is a repost</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1173810#M6627</link>
      <description>&lt;P&gt;Apologies if this is a repost:&lt;/P&gt;&lt;P&gt;Hi James T,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm afraid I am not the administrator of this machine so am unable to put the newer software on. On my own PC I have been running Quantum Espresso with&amp;nbsp;the 2019 version without difficulty. I believe (without validation) that the errors exist as I have built the software in a directory that may not be accessible by all Intel Xeon blades. I am trying the administrators to build it in an alternative location. Do the errors included in my original post back my theory up?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 18:49:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1173810#M6627</guid>
      <dc:creator>durie__alex</dc:creator>
      <dc:date>2018-12-28T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Apologies if this is a repost</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1244196#M7590</link>
      <description>Dear alex,
Have you got a solution to the problem? I encounter the same problem with intel2018 on Quantum Espresso6.7. I'm not an expert on computer, and get no clue after googling for days. Can you give me some advice?
Best regards,
JqHuang</description>
      <pubDate>Thu, 07 Jan 2021 12:48:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-and-Quantum-Espresso/m-p/1244196#M7590</guid>
      <dc:creator>JqHuang</dc:creator>
      <dc:date>2021-01-07T12:48:58Z</dc:date>
    </item>
  </channel>
</rss>

