[Paraview] Find Data does not work on MPI

Magician f_magician at mac.com
Sun Dec 4 09:37:45 EST 2016


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 <mailto: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 <mailto: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 <mailto: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 <http://www.kitware.com/>
>>> 
>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html <http://www.kitware.com/opensource/opensource.html>
>>> 
>>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView <http://paraview.org/Wiki/ParaView>
>>> 
>>> Search the list archives at: http://markmail.org/search/?q=ParaView <http://markmail.org/search/?q=ParaView>
>>> 
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview <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/43908344/attachment.html>


More information about the ParaView mailing list