[Paraview] Find Data does not work on MPI

Magician f_magician at mac.com
Sat Dec 3 22:02:21 EST 2016


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

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161204/99361885/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindDataErr.png
Type: image/png
Size: 14090 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20161204/99361885/attachment.png>


More information about the ParaView mailing list