[vtkusers] Really need help on Parallel vtk with/without MPI

Wei Woo weiwoo11 at yahoo.com
Thu Feb 8 02:26:43 EST 2007


Thank u very much for kind response.I am trying to follow each step one by one,first by installing MPI.Actually    the   examples in parallel directory is a bit confusing.When I did program using simple C with MPI,I have complete control on how to divide the data to each processor.But those examples in parallel does not say about that.Suppose I have cut my 3D data to three pieces and distribute those to 3 different processors and those three processors manipulate the data and if necessary communicate other processors.Can anyone help me with such simple Hello type program so a novice like me can understand how MPI works with VTK?VTK with MPI is seems more complicated,abstract  than MPI with simple C.
  Thanks,
  Wei.

Kent Eschenberg <eschenbe at psc.edu> wrote:
  Hi Wei,

I just took a quick look through my two books on VTK and the VTK web 
site, and didn't find anything on running VTK in parallel that I think 
would be useful to you.

Wei Woo wrote:
> This is third time I am again writing my query.I really need help.If 
> possible plsgive me some guidance /hints regarding following query:
> 
> 1)How to make program run parallel without MPI?What configuration in vtk 
> do I need to make?

Your question is confusing. If you don't use MPI then how will the parts 
of your parallel program communicate? Have you run other programs in 
parallel without MPI?

The part of question #1 concerning configuration I'll combine with your 
next question.

> 2)To run the same program with MPI,after downloading MPI,what change in 
> VTK configuration do I need to make?
> Thanks.
> 
> Wei.

First, make sure your new installation of MPI works by running the tests 
that came with the MPI package.

Then use "ccmake" to configure VTK. You'll see an option concerning MPI. 
Turn it on, run "configure", and ccmake will provide further options 
concerning MPI (it will ask for the location of your version of MPI, for 
example).

Finally, you need to write a program using your parallel version of VTK. 
I don't have any good examples - can someone on this list provide some?

Kent
Pittsburgh Supercomputing Center



 
---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070207/4695ac45/attachment.htm>


More information about the vtkusers mailing list