[Paraview] Find Data does not work on MPI

Cory Quammen cory.quammen at kitware.com
Mon Dec 5 11:18:16 EST 2016


Mathieu and Magician,

In fact, the ParaView 5.2 Windows binaries do not ship with MPI
executables. They are built to use the Microsoft MPI implementation,
as Magician has tried.

The Find Dialog uses mpi4py for parallel queries, but we don't ship
mpi4py on Windows because we haven't tried building against the
Microsoft MPI and there hasn't been much demand to get it working. In
theory it might be possible.

If you'd like to try building mpi4py against the Microsoft MPI and
report back whether it was easy or difficult, it would be much
appreciated!

Thanks,
Cory

On Sun, Dec 4, 2016 at 9:37 AM, Magician <f_magician at mac.com> wrote:
> Hi Mathieu,
>
>
> Thanks for your advice.
>
> I searched the mpirun/mpiexec on my /ParaView folder, but no executable is
> found.
> PV 4.4.0 (provided by Kitware) has mpirun/mpiexec in the /bin folder, but
> the latest version doesn’t.
>
> Are there additional install options?
>
>
> Magician
>
>
> On Dec 4, 2016, at 22:41, Mathieu Westphal <mathieu.westphal at kitware.com>
> wrote:
>
> Hello
>
> You must use the mpirun/mpiexec provided by ParaView, not your own.
>
> Regards
>
> On 4 Dec 2016 4:02 am, "Magician" <f_magician at mac.com> wrote:
>>
>> Hi Cory,
>>
>>
>> Thanks for your advice.
>> I tried some minimal cases again.
>>
>> I executed pvserver with 2 CPUs, and generate a wavelet source.
>> Then I tried to select the points (RTData is >= 100).
>>
>> The messages on Command Prompt are as follows:
>>
>> C:\Users\magician\Desktop>"C:\Program Files\Microsoft HPC Pack 2008
>> R2\Bin\mpiexec
>>
>> .exe" -np 2 "C:\Program Files\ParaView
>> 5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\bin\p
>> vserver.exe"
>> Waiting for client...
>> Connection URL: cs://LocalPC:11111
>> Accepting connection(s): LocalPC:11111
>> Client connected.
>>
>> Traceback (most recent call last):
>>
>> Traceback (most recent call last):
>>   File "<string>", line 8, in <module>
>>   File "<string>", line 8, in <module>
>>   File "<string>", line 5, in vtkPythonExtractSelection_RequestData
>>   File "<string>", line 5, in vtkPythonExtractSelection_RequestData
>>   File "C:\Program Files\ParaView
>> 5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\bin\lib\si
>> te-packages\paraview\extract_selection.py", line 68, in execute
>>   File "C:\Program Files\ParaView
>> 5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\bin\lib\si
>> te-packages\paraview\extract_selection.py", line 68, in execute
>>     elocals =
>> calculator.get_arrays(inputs[0].GetAttributes(attributeType))
>>   File "C:\Program Files\ParaView
>> 5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\bin\lib\si
>> te-packages\paraview\calculator.py", line 43, in get_arrays
>>     elocals =
>> calculator.get_arrays(inputs[0].GetAttributes(attributeType))
>>   File "C:\Program Files\ParaView
>> 5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\bin\lib\si
>> te-packages\paraview\calculator.py", line 43, in get_arrays
>>     from mpi4py import MPI
>> ImportError:
>>
>> No module named mpi4py
>> from mpi4py import MPI
>>
>> ImportError: No module named mpi4py
>>
>> <FindDataErr.png>
>>
>> My PV is v5.2.0 on Windows 7/8 64bit, just downloaded from Kitware’s
>> download site.
>> MPI is Microsoft HPC Pack 2008 R2.
>>
>> Perhaps the provided binary does not fully support MPI processing?
>> I should build PV with MPI by myself?
>>
>>
>> Magician
>>
>>
>> On Nov 28, 2016, at 06:29, Cory Quammen <cory.quammen at kitware.com> wrote:
>>
>> Does anyone use Find Data function on MPI?
>>
>>
>> I just tried it with 5.2.0 in parallel and the Find Data dialog works
>> fine for the queries I tried.
>>
>> Could you provide more information about what you are trying to get to
>> work? Listing the steps you take before running into the problem is
>> helpful. For example, telling us which data file you loaded, what your
>> Find Data query is, etc.
>>
>> Thanks,
>> Cory
>>
>> On Nov 20, 2016, at 14:16, Magician <f_magician at mac.com> wrote:
>>
>> Hi all,
>>
>>
>> When I operating ParaView on MPI mode, Find Data function does not work
>> correctly.
>> The dialog is just opened, but the 'Run Selection Query' always returns no
>> cell or point.
>>
>> How to select specific cells or points on parallel ParaView?
>> My PV is v5.2.0-RC1 on Windows 8 64bit, and MPI is Microsoft HPC Pack 2008
>> R2.
>>
>>
>> Magician
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>>
>>
>> --
>> Cory Quammen
>> Staff R&D Engineer
>> Kitware, Inc.



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.


More information about the ParaView mailing list