[vtkusers] mpi & tcl

Berk Geveci berkgeveci at hotmail.com
Wed Oct 10 08:26:30 EDT 2001


My recommendation would be to upgrade to the CVS version. It has much better
mpi support. If you don't want to upgrade, you should be able to apply the
changes to tkAppInit.cxx (you will also have to link mpi libraries etc.).

-Berk

>From: Miguel Angel Martin Fernandez <vtk at helios.tel.uva.es>
>To: Berk Geveci <berkgeveci at hotmail.com>
>CC: vtkusers at public.kitware.com
>Subject: Re: [vtkusers] mpi & tcl
>Date: Wed, 10 Oct 2001 12:34:02 +0200 (CEST)
>
>Hi Berk
>
>Thanks a lot, i 've found paraTkAppInit.cxx, but i don't know how to use
>it: shall i put it in my {VTKHOME}/tcl directory?? Will then a program
>called "pvtk" be generated, that could be used like "vtk
>script.tcl"?? Shall i replace tkAppInit.cxx by paraTkAppInit.cxx?
>
>Thank you!
>
>
>
>On Tue, 9 Oct 2001, Berk Geveci wrote:
>
> >
> > There is already support for this in VTK. There is a second application
> > called pvtk. Download a recent version (via CVS) and look at
> > paraTkAppInit.cxx
> > in the Parallel directory.
> >
> > -Berk
> >
> > >From: Miguel Angel Martin Fernandez <vtk at helios.tel.uva.es>
> > >To: vtkusers at public.kitware.com
> > >Subject: [vtkusers] mpi & tcl
> > >Date: Tue, 9 Oct 2001 19:22:39 +0200 (CEST)
> > >
> > >Hi vtkusers!
> > >
> > >I just wrote/modified a couple classes that allow interactive volume
> > >rendering in a cluster with MPI:
> > >
> > >- vtkRayCaster (modified)
> > >- vtkInteractorStyleMPI (new, inherits from vtkInteractorStyle)
> > >
> > >This works OK with C++.
> > >
> > >The problem i have just encountered is that the Tcl wrapper does not 
>seem
> > >to parse the functions that receive arguments such as (*argc,
> > >***argv), like MPI_Initialize(int *argc, char ***argv)  This does seem
> > >reasonable to me, but still, is there a way i can go around it?? Would
> > >something like 'mpirun vtk myScript.tcl' make sense?
> > >
> > >Thank you very much in advance for any tips, advice,...
> > >
> > >
> > >
> > >						diego hernando
> > >
> > >_______________________________________________
> > >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
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp
> >
>
>--
>             ________________________________________________________
>   _________(_                                                      
>_)_________
>   \········(_   Miguel Ángel Martín Fernández                      
>_)········/
>    \·······(_   ETSI Telecomunicación, Universidad de Valladolid   
>_)·······/
>     \······(_   Campus Miguel Delibes, Camino del Cementerio, s/n  
>_)······/
>      )·····(_   e-mail: miguel at atenea.tel.uva.es                   
>_)·····(
>     /······(_   Tfno: +34-983-423000 Ext. 25548                    
>_)······\
>    
>/·······(________________________________________________________)·······\
>   /__________)                                                 
>(_____________\
>
>
>_______________________________________________
>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


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




More information about the vtkusers mailing list