<P>
I have some very fundamentel doubts regarding paraview and its working<BR>
in parallel.<BR>
<BR>
1. Is it necessary to compile Paraview 3.0.1 from sources in parallel<BR>
to use paraview in parallel, if the binaries are available on n<BR>
different machines will it do the same job ?<BR>
<BR>
2. I am able to launch pvserver (from the binaries not the compiled<BR>
sources) on 3 different computers using LAM/MPI, is it necessary that<BR>
the computer on which paraview's client will be launched should also<BR>
be within these 3 computer, which were booted through mpirun. If no<BR>
how should I connect to the 3 different severs from paraview ?<BR>
<BR>
In the ParaView book it is said that if separate data and render<BR>
servers are running on 2 different clusters (Data Server/ Render<BR>
Server / Client configuration ) the client should connect to the<BR>
master node (or node 0) of both the data server and render server and<BR>
they in turn will connect to the other computers of their respective<BR>
servers.<BR>
<BR>
Nothing is said how to connect when paraview is running in<BR>
Client/Server Mode. Should we connect to the master node of the server<BR>
and the other computers in the server will be controlled by the master<BR>
computer all by itself ? Or we have to do thing on over own ? <BR>
<BR>
Through GUI we can connect to only one server at a time. If we are<BR>
connected to one server and then connect to a second server the<BR>
connection to the first server is automatically closes.&nbsp; <BR>
<BR>
3. How to connect pvpython to server ? No command line argument seems<BR>
to be available with pvpython to connect to a running server. Should<BR>
we use paraview's active connection to connect to a particular server,<BR>
ex. paraview.ActiveConnection = paraview.Connect(&quot;10.101.11.71&quot;, 11111)<BR>
through script. <BR>
<BR>
If I try to connect pvpython to a pvserver through script the script<BR>
crashes<BR>
<BR>
----------------------------------------------------------------<BR>
raashid@ogion:~/Desktop/paraview-3.0.1-Linux-x86/bin$ ./pvpython<BR>
Python 2.5 (release25-maint, Dec&nbsp; 9 2006, 14:12:17) <BR>
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)] on linux2<BR>
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<BR>
&gt;&gt;&gt; import paraview<BR>
&gt;&gt;&gt; paraview.ActiveConnection = paraview.Connect(&quot;10.101.11.71&quot;, 11111)<BR>
&gt;&gt;&gt; sphere = paraview.CreateProxy(&quot;sources&quot;,&quot;SphereSource&quot;,&quot;sources&quot;)<BR>
&gt;&gt;&gt; renModule = paraview.CreateRenderWindow()<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkServerConnection.cxx, line 67<BR>
vtkServerConnection (0x8260bc0): Server Connection Closed!<BR>
<BR>
raashid@ged:~/Desktop/paraview-3.0.1-Linux-x86/bin$ ./pvserver<BR>
Listen on port: 11111<BR>
Waiting for client...<BR>
Client connected.<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx, line 971<BR>
vtkProcessModule (0x8066b00): Cannot create object of type &quot;vtkIceTRenderManager&quot;.<BR>
while processing<BR>
Message 0 = New<BR>
&nbsp; Argument 0 = string_value {vtkIceTRenderManager}<BR>
&nbsp; Argument 1 = id_value {8}<BR>
<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx, line 973<BR>
vtkProcessModule (0x8066b00): Aborting execution for debugging purposes.<BR>
<BR>
Aborted<BR>
----------------------------------------------------------------<BR>
<BR>
If I run the following script through pvpython the same problem occurs<BR>
------------------------------------------------------------------<BR>
# test2.py<BR>
import paraview<BR>
paraview.ActiveConnection = paraview.Connect(&quot;10.101.11.71&quot;, 11111)<BR>
# create a sphere and register it under sources.<BR>
sphere = paraview.CreateProxy(&quot;sources&quot;,&quot;SphereSource&quot;,&quot;sources&quot;)<BR>
# create a render module.<BR>
renModule = paraview.CreateRenderWindow()<BR>
renModule.UpdateVTKObjects()<BR>
# create a display<BR>
display = paraview.CreateDisplay(sphere, renModule)<BR>
# reset camera<BR>
renModule.ResetCamera()<BR>
# render.<BR>
renModule.InteractiveRender()<BR>
raw_input(&quot;Enter&quot;)<BR>
<BR>
raashid@ogion:~/Desktop/paraview-3.0.1-Linux-x86/bin$ ./pvpython test2.py<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkServerConnection.cxx, line 67<BR>
vtkServerConnection (0x83e8930): Server Connection Closed!<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/ServerManager/vtkSMDataObjectDisplayProxy.cxx, line 272<BR>
vtkSMCompositeDisplayProxy (0x846d150): Input proxy has no output! Cannot create the display<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/ServerManager/vtkSMDataObjectDisplayProxy.cxx, line 1355<BR>
vtkSMCompositeDisplayProxy (0x846d150): Display proxy not created!<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/ServerManager/vtkSMDataObjectDisplayProxy.cxx, line 1282<BR>
vtkSMCompositeDisplayProxy (0x846d150): Objects not created!<BR>
<BR>
Segmentation fault (core dumped)<BR>
<BR>
<BR>
<BR>
On running server the message displayed is :<BR>
<BR>
raashid@ged:~/Desktop/paraview-3.0.1-Linux-x86/bin$ ./pvserver<BR>
Listen on port: 11111<BR>
Waiting for client...<BR>
Client connected.<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx, line 971<BR>
vtkProcessModule (0x8066b00): Cannot create object of type &quot;vtkIceTRenderManager&quot;.<BR>
while processing<BR>
Message 0 = New<BR>
&nbsp; Argument 0 = string_value {vtkIceTRenderManager}<BR>
&nbsp; Argument 1 = id_value {8}<BR>
<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkProcessModule.cxx, line 973<BR>
vtkProcessModule (0x8066b00): Aborting execution for debugging purposes.<BR>
<BR>
Aborted<BR>
<BR>
<BR>
I had similar doubt which I posted on the mailing list and got a reply<BR>
from Utkarsh Ayachit. As suggested by Utkarsh Ayachit in paraview<BR>
mailing list, Vol 38, Issue 32 a similar script fails in the same<BR>
manner. Utkarsh wrote:-<BR>
&quot;The Distributed stand-alone mode as described in the ParaView book is<BR>
no longer supported by ParaView i.e. to run in parallel, one must run in<BR>
client-server mode. This isn't that cumbersome really,<BR>
instead of&quot;<BR>
&nbsp; mpirun -np 4 paraview<BR>
we do<BR>
&nbsp; mpirun -np 4 pvserver<BR>
&nbsp; paraview (and then connect to the correct server).<BR>
<BR>
Same is true for pvpython.<BR>
<BR>
Here's script to read a file and then render in parallel.<BR>
<BR>
import paraview<BR>
# Create default built in connection<BR>
paraview.ActiveConnection = paraview.Connect(&quot;localhost&quot;,11111);<BR>
<BR>
# Create the reader proxy.<BR>
# Note that one must create the correct reader based on the type of the<BR>
# file being read.<BR>
reader = paraview.CreateProxy(&quot;sources&quot;, &quot;ExodusReader&quot;, &quot;sources&quot;)<BR>
reader.SetFileName(&quot;/tmp/somedataset.ex2&quot;)<BR>
reader.UpdateVTKObjects()<BR>
<BR>
# Create render window<BR>
renWin = paraview.CreateRenderWindow()<BR>
# Till the view to always render on all processess in parallel and then<BR>
# composite the image together.<BR>
renWin.SetRemoteRenderThreshold(0);<BR>
renWin.UpdateVTKObjects();<BR>
<BR>
# create and add display<BR>
display = paraview.CreateDisplay(reader, renWin)<BR>
# render<BR>
renWin.ResetCamera()<BR>
renWin.StillRender()<BR>
<BR>
I ran mpirun on 3 computers including the computer on which I started the pvpython and tried a similar script as suggested in reply<BR>
-----------------------------------------------------------------------<BR>
# test5.py<BR>
import paraview<BR>
<BR>
paraview.ActiveConnection = paraview.Connect(&quot;localhost&quot;, 11111)<BR>
<BR>
reader = paraview.CreateProxy(&quot;sources&quot;, &quot;XMLUnstructuredGridReader&quot;, &quot;sources&quot;)<BR>
reader.SetFileName(&quot;fire_ug.vtu&quot;)<BR>
reader.UpdateVTKObjects()<BR>
<BR>
isosurface_filter = paraview.CreateProxy(&quot;filters&quot;, &quot;Contour&quot;, &quot;filters&quot;)<BR>
isosurface_filter.SetInput(reader)<BR>
isosurface_filter.SetContourValues(298.38, 396.84, 495.31, 593.775, 692)<BR>
isosurface_filter.UpdateVTKObjects()<BR>
<BR>
renWin = paraview.CreateRenderWindow()<BR>
renWin.SetRemoteRenderThreshold(0)<BR>
renWin.UpdateVTKObjects()<BR>
<BR>
display1 = paraview.CreateDisplay(isosurface_filter, renWin)<BR>
<BR>
renWin.ResetCamera()<BR>
renWin.StillRender()<BR>
raw_input(&quot;Enter&quot;)&nbsp; &nbsp; &nbsp; <BR>
<BR>
------------------------------------------------------------------------<BR>
<BR>
Again this resulted in a crash<BR>
<BR>
<BR>
raashid@ogion:~/Desktop/paraview-3.0.1-Linux-x86/bin$ ./pvpython test5.py<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkServerConnection.cxx, line 67<BR>
vtkServerConnection (0x83e8240): Server Connection Closed!<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/Common/vtkServerConnection.cxx, line 338<BR>
vtkServerConnection (0x83e8240): Server could failed to gather information.<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/ServerManager/vtkSMDataObjectDisplayProxy.cxx, line 272<BR>
vtkSMCompositeDisplayProxy (0x8470430): Input proxy has no output! Cannot create the display<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/ServerManager/vtkSMDataObjectDisplayProxy.cxx, line 1355<BR>
vtkSMCompositeDisplayProxy (0x8470430): Display proxy not created!<BR>
<BR>
ERROR: In /home/berk/Work/ReleaseBuilds/ParaView3/Servers/ServerManager/vtkSMDataObjectDisplayProxy.cxx, line 1282<BR>
vtkSMCompositeDisplayProxy (0x8470430): Objects not created!<BR>
<BR>
Segmentation fault (core dumped)<BR>
<BR>
<BR>
4. Who does D3 filter work in ParaView3, is its working same as it was<BR>
in the previous version 2.X<BR>
<BR>
I may be missing something very fundamental, can someone please help<BR>
me with this.<BR>
<BR>
&nbsp; <BR>

</P>
<br><br>
<Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style='font-family:Verdana;font-size:11px;line-height:15px;'><TR><td><a href='http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/1275197_1268894/1274543/1?PARTNER=3&OAS_QUERY=null target=new '><img src =http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/1275197_1268894/creative_1274543.gif  alt='1'  border=0></a></td></TR></Table>