Just a quick Question, I have just started in learning Paraview and i have run into an issue with the UserGuide…
I am to the point where it is starting to run through the Parallel processing and
From the UserGuide
from paraview.simple import *
sphere = Sphere()
rep = Show()
ColorBy(rep, (“POINTS”, “vtkProcessId”))
Render()
rep.RescaleTransferFunctionToDataRange(True)
Render()
WriteImage(“parasphere.png”)
When i try to run the script mpexec -np 4 pvbatch parasphere.py it throws the Warning
Warning: In /home/andrewv/OpenFoam/ThirdParty-7/ParaView-5.6.0/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.cxx, line 277
vtkSMPVRepresentationProxy (0x7fffc4928a30): Could not determine array range.
Can anyone point me in the right direction for the vtkProcessId to work like it should in the UserGuide?
I’m on Ubuntu 20 and have installed OpenFoam/Paraview from the ubuntu pre-compiled (apt-get install)
Thanks