<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>&gt; Date: Wed, 4 Mar 2009 10:49:49 -0500<br>&gt; Subject: Re: [Paraview] Parallel Paraview<br>&gt; From: dave.demarle@kitware.com<br>&gt; To: nataliehapp@hotmail.com<br>&gt; CC: paraview@paraview.org<br>&gt; <br>&gt; Slightly less briefly than what Ken said:<br>&gt; <br>&gt; In parallel, the end of the pipeline on each processor is told to<br>&gt; process piece i out of j. Where i is the local processor's rank and j<br>&gt; is the number of processors. See<br>&gt; vtkStreamingDemandDrivenPipeline::SetUpdatePiece() and<br>&gt; SetNumberOfPieces(). That information flows back through the pipeline<br>&gt; in the RequestUpdateExtent pass. Here each filter along the pipeline<br>&gt; looks as what it is asked to produce, and tells its inputs what they<br>&gt; need to produce for it to do that. In your case if the algorithm<br>&gt; requires the whole domain then filter is telling everything upstream<br>&gt; to give it everything, and parallelism is only effective AFTER your<br>&gt; filter. If the algorithm can be changed so that each processor needs<br>&gt; only a portion of the domain (perhaps using ghostlevels to extent the<br>&gt; boundaries a bit) then you will get better scalability. After<br>&gt; RequestUpdateExtent, the RequestData pass happens in which each filter<br>&gt; executes in turn. In this pass the filter's RequestData() method uses<br>&gt; the input it is given to fill out the previously agreed extent and<br>&gt; passes it onward.<br>&gt; <br>&gt; On Wed, Mar 4, 2009 at 10:26 AM, Natalie Happenhofer<br>&gt; &lt;nataliehapp@hotmail.com&gt; wrote:<br>&gt; &gt; Hi!<br>&gt; &gt; I´m not sure if I understood well how Paraview is working in parallel mode:<br>&gt; &gt; I have started Paraview in client/server mode, i.e. with<br>&gt; &gt; mpirun -np 8 ./pvserver<br>&gt; &gt; and then I started the client and connected.<br>&gt; &gt;<br>&gt; &gt; I´m not sure how this works with filters: I´ve written a few filters, and<br>&gt; &gt; when I run Paraview in parallel, is the filter parallelized as well,<br>&gt; &gt; automatically? That on every piece of data the filter is applied separately<br>&gt; &gt; and necessary data of other pieces is send there by mpi? Or is the filter<br>&gt; &gt; computed on a single node and I have to change something in order to make it<br>&gt; &gt; work parallel?<br>&gt; &gt; Applying the ProcessId-Filter on the output of my filter, it says that it<br>&gt; &gt; was computed separately on every piece of dataset, I´m just wondering,<br>&gt; &gt; because the filter uses the whole dataset to compute the desired output..<br>&gt; &gt;<br>&gt; &gt; thx for explaining,<br>&gt; &gt; Natalie<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ________________________________<br>&gt; &gt; Hay un nuevo Messenger que tienes que conocer... ¡Mira las novedades!<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Powered by www.kitware.com<br>&gt; &gt;<br>&gt; &gt; Visit other Kitware open-source projects at<br>&gt; &gt; http://www.kitware.com/opensource/opensource.html<br>&gt; &gt;<br>&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<br>&gt; &gt; http://paraview.org/Wiki/ParaView<br>&gt; &gt;<br>&gt; &gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt; http://www.paraview.org/mailman/listinfo/paraview<br>&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; David E DeMarle<br>&gt; Kitware, Inc.<br>&gt; R&amp;D Engineer<br>&gt; 28 Corporate Drive<br>&gt; Clifton Park, NY 12065-8662<br>&gt; 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>