<div dir="ltr"><div><div><div>Again Quentin, which "mpiexec" program are you using?<br></div>The parallel PVServer is supposed to open just one socket to accept client's connection. Otherwise it just means that the MPI context is not correctly setup.<br></div>It occures if PVServer has not been built with MPI support OR you do not use the mpiexec that correspond to the MPI library used to compile PV.<br><br></div>Joachim<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-10-16 13:23 GMT-04:00 Quentin d'Avout <span dir="ltr"><<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div class="m_7079859351276644067WordSection1"><p class="MsoNormal"><a name="m_7079859351276644067__MailEndCompose">Hi Joachim,</a></p><p class="MsoNormal"><span> </span></p><p class="MsoNormal"><span>I’m running:</span></p><span class=""><p class="MsoNormal"><span>mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT%</span></p></span><p class="MsoNormal"><span>per paraView’s website. Launching the pvserver is not the issue, connecting to it in the paraview GUI is.</span></p><p class="MsoNormal"><span>Thanks.</span></p><p class="MsoNormal"><span><span style="font-size:10.0pt"> </span></span></p><p class="MsoNormal"><span> </span></p><span></span><p class="MsoNormal"><b>From:</b> Joachim Pouderoux [mailto:<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">joachim.pouderoux@<wbr>kitware.com</a>] <br><b>Sent:</b> Monday, October 16, 2017 10:08 AM<span class=""><br><b>To:</b> Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>><br></span><b>Cc:</b> Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>>; ParaView <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>></p><div><div class="h5"><br><b>Subject:</b> Re: [Paraview] [EXTERNAL] pvserver MPI issue</div></div><p></p><div><div class="h5"><p class="MsoNormal"> </p><div><div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Quentin,</p></div><p class="MsoNormal">Which `mpiexec` command are you using?</p></div><p class="MsoNormal" style="margin-bottom:12.0pt">You have to use the one provided with paraview, not the one of your system which might be incompatible.</p></div><p class="MsoNormal">Best,</p></div><p class="MsoNormal">Joachim</p></div><div><p class="MsoNormal"><br clear="all"></p><div><div><div><div><div><div><div><div><div><p class="MsoNormal"><b>Joachim Pouderoux</b><span style="font-size:10.0pt">, </span><span style="font-size:7.5pt">PhD</span></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal"><i><span style="font-size:7.5pt">Technical Expert - Scientific Computing Team</span></i><br><b><span style="font-size:7.5pt"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></span></b></p></blockquote></div></div></div></div></div></div></div></div></div><p class="MsoNormal"> </p><div><p class="MsoNormal">2017-10-16 13:03 GMT-04:00 Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>>:</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><div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Hi Utkarsh,</p></div><p class="MsoNormal">I did not recompile paraView myself, and using version ParaView-5.0.1-Qt4-OpenGL2-<wbr>MPI-Linux-64bit</p></div><p class="MsoNormal" style="margin-bottom:12.0pt">I assumed that because the D3 fitler is available and that the about menus is stating "MPI enabled", this version was MPI enabled. Am I wrong tho?<br><br><img style="width:4.6145in;height:5.9687in" id="m_7079859351276644067_x0000_i1025" src="cid:image002.jpg@01D34668.C8660A70" alt="Inline image 1" width="443" border="0" height="573"></p></div><p class="MsoNormal">Thanks</p></div><p class="MsoNormal"><span class="m_7079859351276644067hoenzb"><span style="color:#888888">Quentin</span></span></p></div><div><div><div><p class="MsoNormal"> </p><div><p class="MsoNormal">On Sat, Oct 14, 2017 at 5:23 PM, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:</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><p class="MsoNormal"><span style="font-size:10.0pt">Quentin,</span></p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal"><span style="font-size:10.0pt">Each pvserver rank trying to connect the same socket is the classic symptom of paraview not build with MPI. Mind attaching your CMakeCache.txt?</span></p></div><div><p class="MsoNormal"><span style="color:#888888"> </span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;color:#888888">Utkarsh</span><span style="color:#888888"></span></p></div></div><div><div><div><p class="MsoNormal"> </p><div><p class="MsoNormal">On Sat, Oct 14, 2017 at 8:05 PM, Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>> wrote:</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><p class="MsoNormal">Thanks Utkarsh.</p><p class="MsoNormal">Yes, I’ve checked both.</p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-size:10.0pt">Quentin d’Avout | <span style="color:#ed7d31">Aerodynamics</span></span></p><p class="MsoNormal"><a href="http://www.arrivo-loop.com/" target="_blank"><span style="font-size:10.0pt;text-decoration:none"><img style="width:1.5729in;height:.4166in" id="m_7079859351276644067m_-6792472565478965949m_-5714458002976527258m_-167541019745130541Picture_x0020_1" src="cid:image003.png@01D34668.C8660A70" alt="Arrivo Loop" width="151" border="0" height="40"></span></a></p><p class="MsoNormal"> </p><p class="MsoNormal"><b>From:</b> Utkarsh Ayachit [mailto:<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@<wbr>kitware.com</a>] <br><b>Sent:</b> Saturday, October 14, 2017 4:55 PM<br><b>To:</b> Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>><br><b>Cc:</b> Scott, W Alan <<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>>; ParaView <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br><b>Subject:</b> Re: [Paraview] [EXTERNAL] pvserver MPI issue</p><div><div><p class="MsoNormal"> </p><div><p class="MsoNormal">Are you sure you ParaView is built with MPI support enabled? If so, are you sure you're using the correct mpirun executable that goes with the MPI implementation you used to build ParaView?</p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Utkarsh</p></div></div><div><p class="MsoNormal"> </p><div><p class="MsoNormal">On Sat, Oct 14, 2017 at 2:49 PM, Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>> wrote:</p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div><p class="MsoNormal"><a name="m_7079859351276644067_m_-6792472565478965949_m_-57144580029765">Actually, it turns out that you have to specifically tell pvserver to use different ports for every process:</a></p><p class="MsoNormal"> </p><p class="MsoNormal">mpirun -np 32 pvserver --server-port=%PV_SERVER_PORT%</p><p class="MsoNormal"> </p><p class="MsoNormal">But I’m now having issues connecting to all of these processes from the paraView GUI/connect window. Can’t seem to be able to specify more than one port at once…</p><p class="MsoNormal"> </p><p class="MsoNormal">Anybody knows the trick?</p><p class="MsoNormal">Thanks again</p><p class="MsoNormal"> </p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Scott, W Alan [mailto:<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>] <br><b>Sent:</b> Friday, October 13, 2017 6:40 PM</p><div><div><p class="MsoNormal"><br><b>To:</b> Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>>; <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><b>Subject:</b> Re: [EXTERNAL] [Paraview] pvserver MPI issue</p></div></div></div></div><div><div><p class="MsoNormal"> </p><p class="MsoNormal">All I have is back to the firewall? </p><p class="MsoNormal"> </p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>><br><b>Date: </b>Friday, October 13, 2017 at 4:39 PM<br><b>To: </b>W Scott <<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>>, "<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br><b>Subject: </b>RE: [EXTERNAL] [Paraview] pvserver MPI issue</span></p></div><div><p class="MsoNormal"> </p></div><p class="MsoNormal">Thanks Scott.</p><p class="MsoNormal">Didn’t do the trick tho.</p><p class="MsoNormal">Other ideas?</p><p class="MsoNormal"> </p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Scott, W Alan [mailto:<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>] <br><b>Sent:</b> Friday, October 13, 2017 2:15 PM<br><b>To:</b> Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>>; <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><b>Subject:</b> Re: [EXTERNAL] [Paraview] pvserver MPI issue</p></div></div><p class="MsoNormal"> </p><p class="MsoNormal">Not saying I’m right here, but it looks like multiple versions of ParaView are tying up the socket. Do a ps -ef on paraview, client side, and kill them. Do the same on the server side. Then, try again.</p><p class="MsoNormal"> </p><p class="MsoNormal">Alan</p><p class="MsoNormal"> </p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">ParaView <<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><wbr>> on behalf of Quentin d'Avout <<a href="mailto:quentin@arrivo-loop.com" target="_blank">quentin@arrivo-loop.com</a>><br><b>Date: </b>Friday, October 13, 2017 at 3:10 PM<br><b>To: </b>"<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br><b>Subject: </b>[EXTERNAL] [Paraview] pvserver MPI issue</span></p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Hi All, </p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">my issue is when I hit:</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">mpirun -np 32 pvserver # with or without --mpi option</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I get :"vtkServerSocket (0x23fb3e0): Socket error in call to bind. Address already in use."</p></div><div><p class="MsoNormal">and: "vtkTCPNetworkAccessManager (0x1879510): Failed to set up server socket."</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">as if my paraView was compiled with the mpi capability off. But it is on (D3 filter available, "about" windows also says so).</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">pvserver in serial works just fine.</p></div><div><p class="MsoNormal">Could have been the ufw firewall blocking connections, but it is disabled.</p></div><div><p class="MsoNormal">Ubuntu 17.04.</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Thanks in advance for your help.</p></div><div><p class="MsoNormal">Quentin</p></div></div></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a></p></blockquote></div><p class="MsoNormal"> </p></div></div></div></div></div></blockquote></div><p class="MsoNormal"> </p></div></div></div></blockquote></div><p class="MsoNormal"> </p></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a></p></blockquote></div><p class="MsoNormal"> </p></div></div></div></div></div>
</blockquote></div><br></div>