[vtkusers] vtkSocketCommunicator etc.

Berk Geveci berk.geveci at kitware.com
Wed Jun 5 11:24:21 EDT 2002


Now, you are breaking my heart. Check
VTK/Examples/ParallelProcessing/Generic/Cxx/ParallelIso.cxx

This is one of the earliest parallel examples.

-Berk

On Wed, 2002-06-05 at 11:19, Ravi Gupta wrote:
> Thanks,
> 
> Will have to read up on RMIs, I don't know how to use them and there 
> does not seem to be any examples...
> 
> thanks
> Ravi
> 
> Berk Geveci wrote:
> 
> > You have a few options:
> > 1. Use RMIs (see vtkMultiProcessController and vtkSocketController)
> > which have send/receive in them. For example, setup a 
> > ReceiveNewParameter RMI on the server and have a Receive call in it.
> > Then the client can do something like
> >  controller->TriggerRMI(1, RECEIVE_RMI_TAG);
> >  controller->Send( the parameters here )
> > 2. Use RMIs and the support for sending an array with the RMI
> >  controller->Trigger(1, array, array_length, DO_SOMETHING_TAG);
> > Your RMI will now receive this array
> > 3. Use something like Tcl, Python etc. and send commands as strings
> > which are executed on the server
> > 4. Use a second communication mechanism (such as corba, some other
> > RMI library etc..) together with communicators
> > 
> > I am sure there are others. These are the ones I can think of now.
> > 
> > -Berk
> > 
> > 
> > On Wed, 2002-06-05 at 09:50, Ravi Gupta wrote:
> > 
> >>Hi,
> >>
> >>I've been experimenting with vtkSocketCommunicator and associated 
> >>classes to run vtkMarchingCubes on a remote machine and display the 
> >>results on a local machine. It works great! This will allow me to use 
> >>high end computation resources at a remote location.
> >>
> >>Question
> >>--------
> >>How do i send the remote process running marching cubes information such 
> >>as a new iso surface value to compute?
> >>
> >>I have a few ideas that would require some hacking but I was wondering 
> >>if this problem was already solved by someone. A look at the classes in 
> >>VTK 4.n does not seem to explicitly provide an answer.
> >>
> >>Thanks for providing these classes. I was about to write my own :)
> >>
> >>-Ravi
> >>
> >>
> >>-- 
> >>Ravi Gupta
> >>
> >>Programmer
> >>
> >>
> >>#################################################
> >>The John P. 			| P.O. Box 5015
> >>Robarts Research Institute	| 100 Perth Drive
> >>Imaging Research Laboratories	| London
> >>Tel: (519) 663-5777 ext. 1-34077| Ontario
> >>Fax: (519) 663-3403		| Canada
> >>E-Mail: rgupta at irus.rri.ca	| N6A 5K8
> >>#################################################
> >>
> >>#################################################
> >>http://www.irus.rri.ca/igns 
> >>
> >>http://www.irus.rri.ca/~rgupta 
> >>
> >>#################################################
> >>
> >>"Be the change you wish to see in the world."
> >>-Mohandas Karamchand Gandhi
> >>
> >>_______________________________________________
> >>This is the private VTK discussion list. 
> >>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> >>Follow this link to subscribe/unsubscribe:
> >>http://public.kitware.com/mailman/listinfo/vtkusers
> >>
> > 
> 
> 
> -- 
> Ravi Gupta
> 
> Programmer
> 
> 
> #################################################
> The John P. 			| P.O. Box 5015
> Robarts Research Institute	| 100 Perth Drive
> Imaging Research Laboratories	| London
> Tel: (519) 663-5777 ext. 1-34077| Ontario
> Fax: (519) 663-3403		| Canada
> E-Mail: rgupta at irus.rri.ca	| N6A 5K8
> #################################################
> 
> #################################################
> http://www.irus.rri.ca/igns 
> 
> http://www.irus.rri.ca/~rgupta 
> 
> #################################################
> 
> "Be the change you wish to see in the world."
> -Mohandas Karamchand Gandhi
> 





More information about the vtkusers mailing list