CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [General] Error initiating pvserver on Windows (https://www.cfd-online.com/Forums/paraview/125099-error-initiating-pvserver-windows.html)

circuitBurn October 18, 2013 15:20

Error initiating pvserver on Windows
 
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 October 18, 2013 15:59

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


wyldckat October 19, 2013 05:14

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 (Post 451011)
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 October 19, 2013 16:45

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

circuitBurn October 20, 2013 17:16

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 October 21, 2013 11:24

Worked like a charm. Thanks again for your help :) On to other issues now!


All times are GMT -4. The time now is 01:22.