Hi Andrey, Once you have run through the steps to generate a coprocessing python script, described here:
http://www.paraview.org/Wiki/CoProcessing#Running_the_CoProcessing_Script_Generator If you look at the top of the generated script, it will have these options: host = "localhost" port = 22222 set_use_network(True) set_do_reduce_data(True) set_do_writing(False) set_use_psets(False) set_log_messages(False) set_procs_per_partition(32) set_final_partition_size(1) So you just need to edit the two lines with host and port. You can ignore the other options, they are set by default to do the standard live-data use case. When you generate the coprocessing script, you will add writers to the end of your pipeline(s). A writer represents the end of the pipeline, the sink. Instead of data flowing into the writer, it will be re-directed over the network to the Live Data Source on the pvserver. If the number of coprocessor nodes is greater than the number of pvserver nodes, then the coprocessor will have to aggregate data to a subset its nodes that perform the network sends. The aggregation code currently expects vtkPolyData and won't work with anything else. Pat On Sat, Jan 22, 2011 at 5:44 AM, Andrey Lomtev <[email protected]>wrote: > On 12.01.2011 22:24, pat marion wrote: > > Hi Andrey, > > When I wrote those slides, the code for the Live Data Source had not yet > received approval for public release. The code is now available but has yet > to be merged with the paraview main release. You'll have to compile > paraview yourself in order to use the Live Data Source. The code can be > found in the live-data branch of the git repository git:// > github.com/patmarion/ParaView.git > > Pat > > On Wed, Jan 12, 2011 at 1:07 PM, Andrey Lomtev <[email protected]>wrote: > >> Hello everyone, >> >> I'm going to use CoProcessing library. I'm moving step by step as >> described in SC10_tutorial. I don't understand slide 99. I can't create >> Live Data Source. It isn't presented in my PV version (3.8.1). How can I add >> it? >> >> Thanks, >> Andrey. >> _______________________________________________ >> 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 >> > > Hi Pat, > Thank you for previous answer. I have managed to add Live Data Source in > PV. I have a question: how can I assign host:port to make Coprocessor > connect with pvserver? > Andrey. >
_______________________________________________ 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
