<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@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="blue" vlink="#954F72"><div class="WordSection1"><p class="MsoNormal">I have a system, that can start and stop machines depending on fleet’s current load. Essentially, it must be the one to decide, which machine will receive a new task, and optionally start acquire a new one from some pool for it.</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">For example, I can have two hosts of six currently executing something (might be not related to MPICH), and my load balancer machine is aware of it. Other 4 are in low-power state to conserve costs. So when I call mpiexec, I want to tell it to send all the tasks to the load balancer, requesting 2 hosts, so that load balancer then could start two new hosts to handle that request. If the initial hosts would not be busy with some other task, load balancer would send incoming jobs to them, and kept all other four deallocated.</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">- Victor</p><p class="MsoNormal"><o:p> </o:p></p><div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:aamer@anl.gov">Halim Amer</a><br><b>Sent: </b>Thursday, October 27, 2016 9:18 PM<br><b>To: </b><a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br><b>Subject: </b>Re: [mpich-discuss] Using external load-balancer with mpich</p></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I don't understand what you are trying to do. Can you give an example?</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Halim</p><p class="MsoNormal">www.mcs.anl.gov/~aamer</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">On 10/26/16 5:21 PM, lost wrote:</p><p class="MsoNormal">> Can I use an external load balancer with mpiexec by providing a single</p><p class="MsoNormal">> hostname in hosts file with, optionally, some large number for host</p><p class="MsoNormal">> rank, and putting load balancer listening on that hostname and</p><p class="MsoNormal">> forwarding connections to the actual hosts?</p><p class="MsoNormal">><o:p> </o:p></p><p class="MsoNormal">> I am trying to achieve autoscaling (load balancer tracks liveness of</p><p class="MsoNormal">> hosts and spins up new ones on demand).</p><p class="MsoNormal">><o:p> </o:p></p><p class="MsoNormal">><o:p> </o:p></p><p class="MsoNormal">> _______________________________________________</p><p class="MsoNormal">> discuss mailing list discuss@mpich.org</p><p class="MsoNormal">> To manage subscription options or unsubscribe:</p><p class="MsoNormal">> https://lists.mpich.org/mailman/listinfo/discuss</p><p class="MsoNormal">><o:p> </o:p></p><p class="MsoNormal">_______________________________________________</p><p class="MsoNormal">discuss mailing list discuss@mpich.org</p><p class="MsoNormal">To manage subscription options or unsubscribe:</p><p class="MsoNormal">https://lists.mpich.org/mailman/listinfo/discuss</p><p class="MsoNormal"><o:p> </o:p></p></div></body></html>