CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

paraview server and mpi

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 2, 2012, 14:55
Default paraview server and mpi
  #1
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 8
sail is on a distinguished road
Dear all.

I've installed OF and paraview fia apt-get on a new ubuntu machine that will be used as muscle for my pre and post processing.

i can start the paraview server there and connect to it from my machine with the client. no issues about that

BUT i cannot start more than 1 pvserver. i'd like to make full use of the cores on that machine.

what i tried is:

Code:
mpirun -np 4 pvserver --use-offscreen-rendering
and the output is

Code:
 mpirun -np 4 pvserver --use-offscreen-rendering 
Waiting for client
Connection URL: cs://localhost:11111
Waiting for client
Connection URL: cs://localhost:11111
Waiting for client
Connection URL: cs://localhost:11111
ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0/VTK/Common/vtkSocket.cxx, line 258
vtkServerSocket (0x26a6f90): Socket error in call to listen. Address already in use.

ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx, line 286
vtkTCPNetworkAccessManager (0x1f28a30): Failed to set up server socket.

Exiting...
ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0/VTK/Common/vtkSocket.cxx, line 258
vtkServerSocket (0x1e44f90): Socket error in call to listen. Address already in use.

Exiting...
ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx, line 286
vtkTCPNetworkAccessManager (0x16c6a30): Failed to set up server socket.

Waiting for client
Connection URL: cs://localhost:11111
ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0/VTK/Common/vtkSocket.cxx, line 206
vtkServerSocket (0x1085f90): Socket error in call to bind. Address already in use.

Exiting...
ERROR: In /home/opencfd/OpenFOAM/ThirdParty-2.1.x/ParaView-3.12.0/ParaViewCore/ClientServerCore/vtkTCPNetworkAccessManager.cxx, line 286
vtkTCPNetworkAccessManager (0x907a30): Failed to set up server socket.

Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!
^Cmpirun: killing job...
I've found on a paraview mailing list a similar error :

http://www.paraview.org/pipermail/pa...ry/024001.html

and the solution provided was to
Quote:
Verify that the paraview is built with mpi enabled (PARAVIEW_USE_MPI cmake flag must be ON). In most likelihood, it's not.
I think that this solution requires to recompile paraview from source. i was hoping to avoid it. any ideas on how fix this issue?
__________________
http://www.leadingedge.it/
Naval architecture and CFD consultancy
sail is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paraview in Prallel (server-client) prapanj OpenFOAM Paraview & paraFoam 11 September 24, 2010 07:12
Star-CD with ParaView usker STAR-CD 2 July 23, 2010 01:43
Building OpenFOAM on IRIX lakeat OpenFOAM Installation 7 July 16, 2008 07:27
Is Testsuite on the way or not lakeat OpenFOAM Installation 6 April 28, 2008 11:12
MPI and parallel computation Wang Main CFD Forum 7 April 15, 2004 11:25


All times are GMT -4. The time now is 11:40.