<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="Title" content="">
<meta name="Keywords" content="">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:Calibri;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">I have been using mpiexec.hydra for launching non-MPI applications that communicate via ZeroMQ.  I use the configfile parameter, one line per application.  Here’s an example:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -env FNCS_BROKER tcp://*:5570 fncs_broker 10<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_12_47_1_feeder_6 gridlabd R1_12_47_1_feeder_6.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_12_47_1_feeder_7 gridlabd R1_12_47_1_feeder_7.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_12_47_2_feeder_0 gridlabd R1_12_47_2_feeder_0.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_12_47_2_feeder_1 gridlabd R1_12_47_2_feeder_1.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_12_47_2_feeder_2 gridlabd R1_12_47_2_feeder_2.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_12_47_3_feeder_4 gridlabd R1_12_47_3_feeder_4.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_12_47_3_feeder_5 gridlabd R1_12_47_3_feeder_5.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_12_47_4_feeder_8 gridlabd R1_12_47_4_feeder_8.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir R1_25_00_1_feeder_3 gridlabd R1_25_00_1_feeder_3.glm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-n 1 -wdir matpower ./start_MATPOWER case9.m real_power_demand.txt 18000 3600<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">This worked well for this smaller case.  I then tried a case with 15002 lines in my configfile, but I got a backtrace from mpiexec
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">*** glibc detected *** mpiexec: free(): invalid pointer: 0x0000000000736b10 ***<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’m guessing there is some size limit for the configfile?  Can anyone confirm and suggest a patch?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Jeff<o:p></o:p></span></p>
</div>
</body>
</html>