<div dir="ltr">Hi Mariam, Patrick,<br><div><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Yesterday, I tried the syntax you provided me, but it didn't work.</div></div></blockquote><br><div>... <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail-h5"><div></div><blockquote type="cite"><div>
  
    
  
  
    I'm sorry but the syntax you want to use doesn't work on my servers.</div></blockquote></div></div></div></blockquote><div>... <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail-h5"><blockquote type="cite"><div><blockquote type="cite"><div class="gmail-m_-5253336501951158601WordSection1">
        <p class="MsoNormal"><span style="font-size:11pt">The correct
            syntax to run on multiple hosts is</span></p></div></blockquote></div></blockquote></div></div></div></blockquote><div>... <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail-h5"><blockquote type="cite"><div><blockquote type="cite"><div class="gmail-m_-5253336501951158601WordSection1">I think the syntax for mpiexec is:<br></div></blockquote></div></blockquote></div></div></div></blockquote><div><br></div><div>The syntax for specifying what ranks run on which hosts is implementation specific and will be specified differently for <span class="" style="" id="gmail-:1q5.1" tabindex="-1">OpenMPI</span>, <span class="" style="" id="gmail-:1q5.2" tabindex="-1">MPICH</span>, MVAPICH2, <span class="" style="" id="gmail-:1q5.3" tabindex="-1">IntelMPI</span>, etc.  It will also depend on the environment you're running it in and how it';s configured, i.e. are you running <span class="" style="" id="gmail-:1q5.4" tabindex="-1">mpiexec</span> inside a job launched by a scheduler or are you manually configuring <span class="" style="" id="gmail-:1q5.5" tabindex="-1">MPI</span>, using <span class="" style="" id="gmail-:1q5.6" tabindex="-1">tcp</span> everywhere, are you using host or machine files, etc.  All of these things are going to be implementation specific.  Please consult the documentation for the system you're using or the specific <span class="" style="" id="gmail-:1q5.7" tabindex="-1">MPI</span> implementation you're using for the appropriate syntax to use, as it will be different for <span class="" style="" id="gmail-:1q5.8" tabindex="-1">different</span> <span class="" style="" id="gmail-:1q5.9" tabindex="-1">people</span>, machines, environments, and configurations.<br></div><br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail-h5"><blockquote type="cite"><div><blockquote type="cite"><div class="gmail-m_-5253336501951158601WordSection1"><blockquote style="margin-top:5pt;margin-bottom:5pt"><p class="MsoNormal"><span style="font-size:11pt"></span></p>
          <p class="MsoNormal"><span style="font-size:11pt">But I was
              not able to run: mpiexec –hosts 2 localhost 1 remotehost 1
              pvserver</span></p></blockquote></div></blockquote></div></blockquote></div></div></div></blockquote><div>Can you provide some more context?  What actually happens?  What didn't work?  Were there any error messages? etc.<br><br></div><br></div><div class="gmail_quote">Thanks<br><br clear="all"></div><div class="gmail_quote"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">----------<br>Chuck Atkins<br>Staff R&D Engineer, Scientific Computing<br>Kitware, Inc.<br></div></div></div></div></div></div></div></div></div></div></div>