<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Times New Roman \(Body CS\)";
        panose-1:2 2 6 3 5 4 5 2 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Consolas;
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:12.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:Consolas">Greetings MVAPICH List,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">It was about time for my yearly "Try my code GEOS with MVAPICH2" (Hi Hari! :) ) and so I built up an MVAPICH2 2.3.6 stack. I encountered the same error as last time (dies in MPI_Put), but since then, one
 of our in-house MPI gurus created a different IO path that avoids the MPI_Put call. I try that and it works. Huzzah!
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">But at the end of a simulation day when our checkpoints write, I get:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Exhausted 1048576 MQ irecv request descriptors, which usually indicates a user program error or insufficient request descriptors (PSM2_MQ_RECVREQS_MAX=1048576)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Obviously I can do what it says in the message and up PSM2_MQ_RECVREQS_MAX (and I'm trying that now), but a bit of Googling around led to a page on the Intel MPI Forum:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><a href="https://urldefense.com/v3/__https://community.intel.com/t5/Intel-oneAPI-HPC-Toolkit/PSM2-MQ-RECVREQS-MAX-limit-reached/m-p/1087818__;!!KGKeukY!i1OtU098CxepUnnbIYeuybpbxu0e4yEPUxyQAfRTWNmKuLAYL7kB5y8OQlTQ5g2vlxoc5vNILQ$">https://community.intel.com/t5/Intel-oneAPI-HPC-Toolkit/PSM2-MQ-RECVREQS-MAX-limit-reached/m-p/1087818</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">where the proposed solution there was to use I_MPI_ADJUST_GATHERV=3. And guess what setting we have to run with when using Intel MPI? Yup, I_MPI_ADJUST_GATHERV=3!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">So, while I'm looking at increasing PSM2_MQ_RECVREQS_MAX, I was wondering if there is a similar GATHERV tune for MVAPICH2? I don't see anything explicit in the User's Guide, but I figured I'd ask the experts
 here as maybe there is some setting that does something similar (or maybe a more "MVAPICH-y" way to change that PSM2 variable)?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">Matt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">-- <o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas">Matt Thompson, SSAI, Ld Scientific Programmer/Analyst<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas">NASA GSFC,    Global Modeling and Assimilation Office<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas">Code 610.1,  8800 Greenbelt Rd,  Greenbelt,  MD 20771<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas">Phone: 301-614-6712                 Fax: 301-614-6246<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><u><span style="font-family:Consolas;color:#0000E9"><a href="https://urldefense.com/v3/__http://science.gsfc.nasa.gov/sed/bio/matthew.thompson__;!!KGKeukY!i1OtU098CxepUnnbIYeuybpbxu0e4yEPUxyQAfRTWNmKuLAYL7kB5y8OQlTQ5g2vlxpFO49wjg$">http://science.gsfc.nasa.gov/sed/bio/matthew.thompson</a></span></u><o:p></o:p></p>
</div>
</body>
</html>