CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

Error initiating pvserver on Windows

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 18, 2013, 15:20
Default Error initiating pvserver on Windows
  #1
New Member
 
Join Date: Oct 2013
Posts: 5
Rep Power: 2
circuitBurn is on a distinguished road
I've just downloaded and installed the latest version of Paraview (4.0.1) using the pre-built binaries. I've been trying, unsuccessfully, to start a paraview server with the intention of developing an app that will incorporate ParaViewWeb.

Here's the error:

Code:
C:\Program Files (x86)\ParaView 4.0.1\bin>pvserver.exe
[Objectivity103:06768] [[INVALID],INVALID] ERROR: Failed to identify the local daemon's URI
[Objectivity103:06768] [[INVALID],INVALID] ERROR: This is a fatal condition when the binomial router

[Objectivity103:06768] [[INVALID],INVALID] ERROR: has been selected - either select the unity router

[Objectivity103:06768] [[INVALID],INVALID] ERROR: or ensure that the local daemon info is provided
[Objectivity103:06768] [[INVALID],INVALID] ORTE_ERROR_LOG: Fatal in file C:\DBD\pvs-x64\mpi\src\mpi\
orte\mca\ess\base\ess_base_std_app.c at line 151
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    orte_init:startup:internal-failure
But I couldn't open the help file:
    C:\DBD\pvs-x64\install\share\openmpi\help-orte-runtime.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
[Objectivity103:06768] [[INVALID],INVALID] ORTE_ERROR_LOG: Fatal in file C:\DBD\pvs-x64\mpi\src\mpi\
orte\mca\ess\singleton\ess_singleton_module.c at line 277
[Objectivity103:06768] [[INVALID],INVALID] ORTE_ERROR_LOG: Fatal in file C:\DBD\pvs-x64\mpi\src\mpi\
orte\runtime\orte_init.c at line 132
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    orte_init:startup:internal-failure
But I couldn't open the help file:
    C:\DBD\pvs-x64\install\share\openmpi\help-orte-runtime: No such file or directory.  Sorry!
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    mpi_init:startup:internal-failure
But I couldn't open the help file:
    C:\DBD\pvs-x64\install\share\openmpi\help-mpi-runtime: No such file or directory.  Sorry!
--------------------------------------------------------------------------
*** The MPI_Init() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
[Objectivity103:6768] Abort before MPI_INIT completed successfully; not able to guarantee that all o
ther processes were killed!

C:\Program Files (x86)\ParaView 4.0.1\bin>
Running
Code:
mpirun -np 4 ./pvserver
as the docs say doesn't help me much either.

Code:
C:\Program Files (x86)\ParaView 4.0.1\bin>mpirun -np 4 ./pvserver
--------------------------------------------------------------------------
Sorry!  You were supposed to get help about:
    orterun:exe-not-accessible
But I couldn't open the help file:
    C:\DBD\pvs-x64\install\share\openmpi\help-orterun.txt: No such file or directory.  Sorry!
--------------------------------------------------------------------------
4 total processes failed to start

C:\Program Files (x86)\ParaView 4.0.1\bin>
I'm really new to using ParaView so I feel like I've missed a step somewhere along the line but I can't find any documentation to help point me in the right direction.

Thanks

EDIT: I should point out that those hardcoded paths (C:\DBD\pvs-x64\mpi\src\mpi\
orte\mca\ess\singleton\ess_singleton_module.c at line 277) are a mystery to me.
circuitBurn is offline   Reply With Quote

Old   October 18, 2013, 15:59
Default
  #2
New Member
 
Join Date: Oct 2013
Posts: 5
Rep Power: 2
circuitBurn is on a distinguished road
Well, I've answered my own problem by installing MPICH2 from here:

http://www.mpich.org/downloads/

and running
Code:
mpiexec -np 4 $PATH_TO_PARAVIEW\bin\pvserver
However, I'm getting the following error:

Code:
C:\Program Files\MPICH2\bin>mpiexec -np 1 -host localhost C:\Program Files (x86)\ParaView 4.0.1\bin\
pvserver
Error while connecting to host, No connection could be made because the target machine actively refused it. (10061)
Connect on sock (host=localhost, port=8676) failed, exhaused all end points
Unable to connect to 'localhost:8676',
sock error: Error = -1
circuitBurn is offline   Reply With Quote

Old   October 19, 2013, 05:14
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings circuitBurn and welcome to the forum!

ParaView 4.0.1 on Windows uses Open-MPI 1.4.4: http://paraview.org/Wiki/ParaView/Binaries

As for another detail, I'll quote myself from another thread:
Quote:
Originally Posted by wyldckat View Post
You can try turning on the multi-core feature that ParaView has got, if it was built with MPI capabilities, which is accessible at the Settings dialogue, namely the check box "Use Multi-Core": http://www.paraview.org/Wiki/ParaVie...Guide/Settings
Wait... I forgot that you wanted to use it for ParaViewWeb...

Mmm... I'll get back to you later today, when I have a Windows machine at hand.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 19, 2013, 16:45
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 6,983
Blog Entries: 32
Rep Power: 68
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Hi circuitBurn,

OK, I got my hands on one of my Windows machines. Here's what you'll have to do:
  1. Go into the folder where ParaView is installed, but from the Windows command line. For example:
    Code:
    cd C:\Program Files (x86)\ParaView 4.0.1
  2. Now you have to create a temporary drive letter that points to this folder, because Open-MPI hates paths with spaces:
    Code:
    subst F: .
  3. Now switch to the temporary drive letter, as exemplified above, and go into the "bin" folder:
    Code:
    F:
    cd bin
  4. Now, to launch pvserver, you have to run like this (e.g. with 2 parallel processes):
    Code:
    mpirun -np 2 F:\bin\pvserver.exe
  5. And it should now be running as expected!
  6. Once it's over and if you want to turn off the temporary drive letter, run:
    Code:
    C:
    subst F: /D
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 20, 2013, 17:16
Default
  #5
New Member
 
Join Date: Oct 2013
Posts: 5
Rep Power: 2
circuitBurn is on a distinguished road
wyldckat, thank you SO much. I am just about to start building paraview on my machine here at home and I'll let you know the outcome.
circuitBurn is offline   Reply With Quote

Old   October 21, 2013, 11:24
Default
  #6
New Member
 
Join Date: Oct 2013
Posts: 5
Rep Power: 2
circuitBurn is on a distinguished road
Worked like a charm. Thanks again for your help On to other issues now!
circuitBurn is offline   Reply With Quote

Reply

Tags
paraview, pvserver

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
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
Unable to run pvserver in parallel md_lieber OpenFOAM Post-Processing 3 November 18, 2010 07:12
Dual Boot Windows and Linux and Go Open Source andyj Main CFD Forum 2 October 21, 2010 16:49
Paraview in Prallel (server-client) prapanj OpenFOAM Paraview & paraFoam 11 September 24, 2010 07:12
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25


All times are GMT -4. The time now is 09:00.