<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Ok, thanks a lot, I believe I understand.. <br><br>But that brings me to another question: <br>I´m running paraview on 8 nodes, and my data is sliced into 8 pieces, which I can see when it´s rendering or with the ProcessId-Filter. In my case, its a cuboid and it´s divided into 8 pieces, sliced once in every layer. In order to make the parallelism useful for the algorithmus I implemented in my filters, I need to change the domain for every processor, i.e I want to slice the data into 8 pieces, but slicing it 7 times in the xy-layer. How can I achieve this, where are the domains for each processor specified?<br><br>thx a lot,<br>Natalie<br><br>> Date: Wed, 4 Mar 2009 10:49:49 -0500<br>> Subject: Re: [Paraview] Parallel Paraview<br>> From: dave.demarle@kitware.com<br>> To: nataliehapp@hotmail.com<br>> CC: paraview@paraview.org<br>> <br>> Slightly less briefly than what Ken said:<br>> <br>> In parallel, the end of the pipeline on each processor is told to<br>> process piece i out of j. Where i is the local processor's rank and j<br>> is the number of processors. See<br>> vtkStreamingDemandDrivenPipeline::SetUpdatePiece() and<br>> SetNumberOfPieces(). That information flows back through the pipeline<br>> in the RequestUpdateExtent pass. Here each filter along the pipeline<br>> looks as what it is asked to produce, and tells its inputs what they<br>> need to produce for it to do that. In your case if the algorithm<br>> requires the whole domain then filter is telling everything upstream<br>> to give it everything, and parallelism is only effective AFTER your<br>> filter. If the algorithm can be changed so that each processor needs<br>> only a portion of the domain (perhaps using ghostlevels to extent the<br>> boundaries a bit) then you will get better scalability. After<br>> RequestUpdateExtent, the RequestData pass happens in which each filter<br>> executes in turn. In this pass the filter's RequestData() method uses<br>> the input it is given to fill out the previously agreed extent and<br>> passes it onward.<br>> <br>> On Wed, Mar 4, 2009 at 10:26 AM, Natalie Happenhofer<br>> <nataliehapp@hotmail.com> wrote:<br>> > Hi!<br>> > I´m not sure if I understood well how Paraview is working in parallel mode:<br>> > I have started Paraview in client/server mode, i.e. with<br>> > mpirun -np 8 ./pvserver<br>> > and then I started the client and connected.<br>> ><br>> > I´m not sure how this works with filters: I´ve written a few filters, and<br>> > when I run Paraview in parallel, is the filter parallelized as well,<br>> > automatically? That on every piece of data the filter is applied separately<br>> > and necessary data of other pieces is send there by mpi? Or is the filter<br>> > computed on a single node and I have to change something in order to make it<br>> > work parallel?<br>> > Applying the ProcessId-Filter on the output of my filter, it says that it<br>> > was computed separately on every piece of dataset, I´m just wondering,<br>> > because the filter uses the whole dataset to compute the desired output..<br>> ><br>> > thx for explaining,<br>> > Natalie<br>> ><br>> ><br>> > ________________________________<br>> > Hay un nuevo Messenger que tienes que conocer... ¡Mira las novedades!<br>> > _______________________________________________<br>> > Powered by www.kitware.com<br>> ><br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> ><br>> > Please keep messages on-topic and check the ParaView Wiki at:<br>> > http://paraview.org/Wiki/ParaView<br>> ><br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.paraview.org/mailman/listinfo/paraview<br>> ><br>> ><br>> <br>> <br>> <br>> -- <br>> David E DeMarle<br>> Kitware, Inc.<br>> R&D Engineer<br>> 28 Corporate Drive<br>> Clifton Park, NY 12065-8662<br>> Phone: 518-371-3971 x109<br><br /><hr />Con Messenger puedes ver si llegaron correos nuevos <a href='http://www.nuevomessenger2009.com/' target='_new'>¡Conoce todo lo nuevo del Messenger 2009!</a></body>
</html>