mpiexec for version 6.0.1 (MPI enabled)

Hello Paraview community,

recently I upgraded to v 6.0.1 and I noticed that calling pvserver by mpiexec prompts n times connection waiting messages.

$  mpiexec -n 3 pvserver
WRN - The configuration file has not been found, using default parameters.
WRN - The configuration file has not been found, using default parameters.
WRN - The configuration file has not been found, using default parameters.
Waiting for client...
Connection URL: cs://DEVICE-NAME:11111
Accepting connection(s): DEVICE-NAME:11111
Waiting for client...
Connection URL: cs://DEVICE-NAME:11111
Waiting for client...
Connection URL: cs://DEVICE-NAME:11111
Accepting connection(s): DEVICE-NAME:11111
Accepting connection(s): DEVICE-NAME:11111

I’m testing this on my local machine (windows 11). Also after making the connection using paraview GUI, under memory inspector tab, only one processor is connected.

I would appreciate your insights on this issue.

Best regards, hamed

How did you install ParaView ?

I’m not sure if I get the question correctly.

I downloaded ParaView-6.0.1-MPI-Windows-Python3.12-msvc2017-AMD64.msi from www.paraview.org/download/ and followed the installation procedure using the default settings.

Is there any specific setting that I must check?

Great, then this should work.

Please share the content of ParaView About dialog (Help->About)

Client Information:
Version: 6.0.1
VTK Version: 9.5.2
Qt Version: 6.9.0
vtkIdType size: 64bits
Embedded Python: On
Python Library Path: C:\Program Files\ParaView 6.0.1\bin\Lib
Python Library Version: 3.12.7 (tags/v3.12.7:0b05ead, Oct  1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
Python Numpy Support: On
Python Numpy Path: C:\Program Files\ParaView 6.0.1\bin\lib\site-packages\numpy
Python Numpy Version: 1.26.4
Python Matplotlib Support: On
Python Matplotlib Path: C:\Program Files\ParaView 6.0.1\bin\lib\site-packages\matplotlib
Python Matplotlib Version: 3.7.2
Python Testing: Off
MPI Enabled: On
ParaView Build ID: superbuild 8c0f929966f005396802f3b2957c734a6c68b3c1 (!1292)
Disable Registry: Off
Test Directory: 
Data Directory: 
SMP Backend: TBB
SMP Max Number of Threads: 52
OpenGL Vendor: NVIDIA Corporation
OpenGL Version: 3.2.0 NVIDIA 573.73
OpenGL Renderer: NVIDIA RTX 2000 Ada Generation/PCIe/SSE2
Accelerated filters overrides available: No

Connection Information:
Remote Connection: Yes
Separate Render Server: No
Reverse Connection: No
Number of Processes: 1
Disable Remote Rendering: Off
IceT: On
Tile Display: Off
vtkIdType size: 64bits
SMP Backend: TBB
SMP Max Number of Threads: 52
Embedded Python: On
Python Library Path: C:\Program Files\ParaView 6.0.1\bin\Lib
Python Library Version: 3.12.7 (tags/v3.12.7:0b05ead, Oct  1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
Python Numpy Support: On
Python Numpy Path: C:\Program Files\ParaView 6.0.1\bin\lib\site-packages\numpy
Python Numpy Version: 1.26.4
Python Matplotlib Support: On
Python Matplotlib Path: C:\Program Files\ParaView 6.0.1\bin\lib\site-packages\matplotlib
Python Matplotlib Version: 3.7.2
OpenGL Vendor: NVIDIA Corporation
OpenGL Version: 4.5.0 NVIDIA 573.73
OpenGL Renderer: NVIDIA RTX 2000 Ada Generation/PCIe/SSE2
Window Backend: Win32
Supported Headless Backends: OSMesa
Accelerated Filters Overrides Available: No

Ok, thats good.

So what if you navigate to

C:\Program Files\ParaView 6.0.1\bin

And run

.\mpiexec.exe -np 4 .\pverser.exe

on the cmd side:

[Hamed C: ... bin]$  mpiexec.exe -np 4 ./pvserver.exe
WRN - The configuration file has not been found, using default parameters.
WRN - The configuration file has not been found, using default parameters.
WRN - The configuration file has not been found, using default parameters.
WRN - The configuration file has not been found, using default parameters.
Waiting for client...
Connection URL: cs://DESKTOP-VCRFBLH:11111
Waiting for client...
Connection URL: cs://DESKTOP-VCRFBLH:11111
Accepting connection(s): DESKTOP-VCRFBLH:11111
Accepting connection(s): DESKTOP-VCRFBLH:11111
Waiting for client...
Connection URL: cs://DESKTOP-VCRFBLH:11111
Accepting connection(s): DESKTOP-VCRFBLH:11111
Waiting for client...
Connection URL: cs://DESKTOP-VCRFBLH:11111
Accepting connection(s): DESKTOP-VCRFBLH:11111
Client connected.

On the Paraview memory inspector:

Wrong command, it should be:

.\mpiexec.exe -np 4 .\pvserver.exe

[Hamed C: ... bin]$  .\mpiexec.exe -np 4 .\pvserver.exe
.\mpiexec.exe : The term '.\mpiexec.exe' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ .\mpiexec.exe -np 4 .\pvserver.exe
+ ~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\mpiexec.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

BTW, I’m on windows 11

Please use cmd, not powershell.

ha wait, Im wrong about the command, sorry.

Ill check on my side, one sec.

Its working perfectly on my side, please share the output of:

mpiexec
C:\Users\Hamed>mpiexec

Usage: ./mpiexec [global opts] [local opts for exec1] [exec1] [exec1 args] : [local opts for exec2] [exec2] [exec2 args] : ...

Global options (passed to all executables):

  Global environment options:
    -genv {name} {value}             environment variable name and value
    -genvlist {env1,env2,...}        environment variable list to pass
    -genvnone                        do not pass any environment variables
    -genvall                         pass all environment variables not managed
                                          by the launcher (default)

  Other global options:
    -f {name}                        file containing the host names
    -hosts {host list}               comma separated host list


Local options (passed to individual executables):

  Other local options:
    -n/-np {value}                   number of processes
    {exec_name} {args}               executable name and arguments


Hydra specific options (treated as global):

  Launch options:
    -launcher                        launcher to use (service lsf blaunch)
    -launcher-exec                   executable to use to launch processes
    -enable-x/-disable-x             enable or disable X forwarding

  Resource management kernel options:
    -rmk                             resource management kernel to use (hpc lsf)

  Processor topology options:
    -bind-to                         process binding
    -map-by                          process mapping
    -membind                         memory binding policy

  Other Hydra options:
    -verbose                         verbose mode
    -info                            build information
    -print-all-exitcodes             print exit codes of all processes
    -ppn                             processes per node
    -prepend-rank                    prepend rank to output
    -prepend-pattern                 prepend pattern to output
    -outfile-pattern                 direct stdout to file
    -errfile-pattern                 direct stderr to file
    -nameserver                      name server information (host:port format)
    -disable-auto-cleanup            don't cleanup processes on error
    -disable-hostname-propagation    let MPICH auto-detect the hostname
    -localhost                       local hostname for the launching node
    -usize                           universe size (SYSTEM, INFINITE, <value>)

Intel(R) MPI Library specific options:

  <option> -help                     show help message for the specific option

  Global options:
    -aps                             Intel(R) Application Performance Snapshot profile
    -mps                             Intel(R) Application Performance Snapshot profile (MPI, OpenMP only)
    -gtool                           tool and rank set
    -gtoolfile                       file containing tool and rank set
    -hosts-group {groups of hosts}   allows to set node ranges (like in Slurm* Workload Manager)

  Other Hydra options:
    -iface                           network interface to use
    -s <spec>                        redirect stdin to all or 1,2 or 2-4,6 MPI processes (0 by default)
    -silent-abort                    do not print abort warning message
    -nolocal                         avoid running the application processes on the node where mpiexec.hydra started
    -tune {binary file}              defines the name of binary tuning file
    -print-rank-map                  print rank mapping
    -p|-port                         port that the service is listening on
    -register [-username <user>]     encrypt a user name and password to the Windows registry
              [-password <password>]
    -unregister|-remove              delete the encrypted credentials from the Windows registry
    -map                             map a drive on all the nodes
    -mapall                          map all the network drives
    -localonly                       launch the processes on the local machine
    -delegate                        enable the domain-based authorization with the delegation ability
    -validate [-host <hostname>]:    validate the encrypted credentials for the current user
    -noprompt                        prevent from prompting for user credentials
    -logon                           prompt for user account and password
    -localroot                       launch the process directly from mpiexec if the host is local
    -impersonate                     enable the limited domain-based authorization

Intel(R) MPI Library, Version 2019 Update 10  Build 20210330
Copyright 2003-2021 Intel Corporation.

This is Intel MPI, not Microsoft MPI which would be what is expected and what ParaView binary for Windows supports.

You need to either install Microsoft MPI (as stated in the download page: https://www.paraview.org/download/?version=v6.0&filter=Windows) or compile ParaView yourself.

You’re right. My bad!

It works now.

Thank you.