<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>MPI Socket in use</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>I just built paraview on an opensuse linux box. When I use the GUI, and a single connection it seems to work fine. But, if I try to use multiple CPUs, or run with mpi, it fails.<BR>
I do have OpenMPI installed. <BR>
When I first started getting the error, I googled around some and found that maybe "make install" would help (I had been running it just in the build directory). But I am getting the same error after installing. I also added my openmpi libraries to LD_LIBRARY_PATH (when I first tried to run it I had other errors about a shared library).<BR>
<BR>
I did build with PARAVIEW_USE_MPI set to on. It looks as though one pvserver will run, but any additional ones finds a port in use. Clearly something is not right about how MPI is being handled, but I am not sure how to fix it.<BR>
<BR>
<BR>
If I try mpirun, here is error I get:<BR>
<BR>
<BR>
mpiexec -np 3 pvserver<BR>
Waiting for client...<BR>
Connection URL: cs://cfd:11111<BR>
Accepting connection(s): cfd:11111<BR>
Waiting for client...<BR>
Connection URL: cs://cfd:11111<BR>
ERROR: In /home/dersh/projects/ParaView-3.14.1-Source/VTK/Common/vtkSocket.cxx, line 206<BR>
vtkServerSocket (0xebd970): Socket error in call to bind. Address already in use.<BR>
<BR>
ERROR: In /home/dersh/projects/ParaView-3.14.1-Source/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx, line 343<BR>
vtkTCPNetworkAccessManager (0x661800): Failed to set up server socket.<BR>
<BR>
Exiting...<BR>
Waiting for client...<BR>
Connection URL: cs://cfd:11111<BR>
ERROR: In /home/dersh/projects/ParaView-3.14.1-Source/VTK/Common/vtkSocket.cxx, line 206<BR>
vtkServerSocket (0xebd970): Socket error in call to bind. Address already in use.<BR>
<BR>
ERROR: In /home/dersh/projects/ParaView-3.14.1-Source/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx, line 343<BR>
vtkTCPNetworkAccessManager (0x661800): Failed to set up server socket.<BR>
<BR>
Exiting...<BR>
-----------------------------------------------------------------------------<BR>
It seems that [at least] one of the processes that was started with<BR>
mpirun did not invoke MPI_INIT before quitting (it is possible that<BR>
more than one process did not invoke MPI_INIT -- mpirun was only<BR>
notified of the first one, which was on node n0).<BR>
<BR>
mpirun can *only* be used with MPI programs (i.e., programs that<BR>
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program<BR>
to run non-MPI programs over the lambooted nodes.<BR>
-----------------------------------------------------------------------------<BR>
mpirun failed with exit status 252<BR>
<BR>
And suggestions would be greatly appreciated.<BR>
<BR>
thanks,<BR>
<BR>
--Adam</FONT>
</P>
</BODY>
</HTML>