Hi Ning, The most common use case will be to call the adapter on every node/process. The python script for the coprocessing will by default run on every process as well (if I remember correctly this is the symmetric python mode). I'm not that familiar with the parallel rendering and compositing process in paraview but I'm assuming that it will work properly. You will have to modify the python script yourself though in order to do that. The current script generator is set up to use the parallel XML writers in order to output the desired results. We have plans to stream the results from the simulation to a paraview client but that is not a top priority at this time.
By the way, the nightly paraview documentation has been updated so that it will now include the coprocessing classes. For now just look for the classes that begin with vtkCP. Andy On Tue, Mar 23, 2010 at 10:38 AM, liuning <[email protected]> wrote: > Hi Andy, > > Thank you very much for your efforts. I tried the co-processing example on > a single machine and it worked. But I still have some questions on how to > apply the co-processing to a parallel environment. > > First, you mentioned that the adapter should be called from the simulation > code. Since the simulation is performed on a cluster and use MPI to > communicate, is the adapter called from the simulation code of every node > or just a master node(e.g. the node with rank=0)? > > Second, normally the client control the parallel viz through server > manager, which knows how to deal with the VTK pipeline. But if we are doing > a in-situ viz, it seems that the simulation code that drives the whole > pipeline.If it is true,then how to synchronize the rendering and compositing > process? > > Thanks again, > > -Ning > > On Tue, Mar 23, 2010 at 12:52 AM, Andy Bauer <[email protected]>wrote: > >> I sent this out to the paraview list but wanted to make sure that you got >> it as well. It is still incomplete but hopefully gets people going. Let me >> know if you have any questions and/or problems. >> >> ============================== >> >> I added a wiki page for the coprocessing work that is getting integrated >> into paraview. It is at http://paraview.org/Wiki/CoProcessing >> >> The wiki still needs a bit more work but hopefully it will get people >> going in the proper direction and answer most of the basic questions. Note >> that the paraview "nightly" documentation hasn't been updated since 1/5/2010 >> so it doesn't include information on coprocessing yet but we are working on >> fixing the problem. >> >> Andy > > >
_______________________________________________ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
