<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 name=Title content=""><meta name=Keywords content=""><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:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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:"Times New Roman";}
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;}
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:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        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-size:10.0pt;}
@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;font-family:Calibri'>Thanks for your reply Chuck.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>I am using Microsoft MPI which I believe it has MPICH basis.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>I created a small LAN network for testing, both running Windows 10, and ParaView is installed on the same path, firewall is turned off.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>I was running MPIEXEC manually from one of the machines using this command: mpiexec –hosts 2 localhost 1 remotehost 1 pvserver<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>By doing that, no errors where received but it seems the connection has not been established. I should get a message like the following:<o:p></o:p></span></p><p class=MsoNormal><i><span style='font-size:11.0pt;font-family:Calibri'>Waiting for client...<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:11.0pt;font-family:Calibri'>Connection URL: cs://PC.local:11111<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='font-size:11.0pt;font-family:Calibri'>Accepting connection(s): PC.local:11111<o:p></o:p></span></i></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>But nothing has been received, and even no messages on SMPD console. I tried to forcefully connect the ParaView client to the server in this state, but I got a message that the socket is not open.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>From the localhost, I tried to run pvserver on the remotehost and this has been successfully executed: mpiexec –host remotehost –n M pvserver<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>Apologies,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>This is my first time to work with MPI, appreciate your help & support. I could not troubleshoot since there were no messages/ indications to resolve the issue.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'>Thanks again!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:Calibri'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-family:Calibri;color:black'>From: </span></b><span style='font-family:Calibri;color:black'>Chuck Atkins <chuck.atkins@kitware.com><br><b>Date: </b>Thursday, July 27, 2017 at 3:46 PM<br><b>To: </b>Mariam Bahameish <mbahameish@gmail.com><br><b>Cc: </b>Patrick Begou <Patrick.Begou@legi.grenoble-inp.fr>, "paraview@paraview.org" <paraview@paraview.org><br><b>Subject: </b>Re: [Paraview] MPI on multiple nodes<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Hi Mariam, Patrick,<o:p></o:p></p><div><div><div><div><p class=MsoNormal> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal>Yesterday, I tried the syntax you provided me, but it didn't work.<o:p></o:p></p></div></div></blockquote><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>... <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>I'm sorry but the syntax you want to use doesn't work on my servers.<o:p></o:p></p></div></blockquote></div></div></div></blockquote><div><p class=MsoNormal>... <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'>The correct syntax to run on multiple hosts is</span><o:p></o:p></p></div></blockquote></div></blockquote></div></div></div></blockquote><div><p class=MsoNormal>... <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>I think the syntax for mpiexec is:<o:p></o:p></p></div></blockquote></div></blockquote></div></div></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The syntax for specifying what ranks run on which hosts is implementation specific and will be specified differently for OpenMPI, MPICH, MVAPICH2, IntelMPI, etc.  It will also depend on the environment you're running it in and how it';s configured, i.e. are you running mpiexec inside a job launched by a scheduler or are you manually configuring MPI, using tcp 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 MPI implementation you're using for the appropriate syntax to use, as it will be different for different people, machines, environments, and configurations.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt'>But I was not able to run: mpiexec –hosts 2 localhost 1 remotehost 1 pvserver</span><o:p></o:p></p></blockquote></div></blockquote></div></blockquote></div></div></div></blockquote><div><p class=MsoNormal style='margin-bottom:12.0pt'>Can you provide some more context?  What actually happens?  What didn't work?  Were there any error messages? etc.<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks<br><br clear=all><o:p></o:p></p></div><div><div><div><div><div><div><div><div><p class=MsoNormal>----------<br>Chuck Atkins<br>Staff R&D Engineer, Scientific Computing<br>Kitware, Inc.<o:p></o:p></p></div></div></div></div></div></div></div></div></div></div></div></div></body></html>