If I remember correctly, after you partition your points, you try to create a grid with the Delaunay2D filter. It looks like the Delaunay2D filter isn't a "true" parallel filter meaning that each process does the triangulation on all of the points that are assigned to it but doesn't take into account creating cells between close points that are on different processes. The best suggestion I have is to try the following:<br>
1) use D3 to partition your points<br>2) triangulate on each process using Delaunay2D<br>3) extract the edges on each process using Extract Edges<br>4) try the Delaunay2D to stitch these edges together (this may not work as desired)<br>
5) append the datasets/polydatas together using the Append Datasets filter<br><br>I have no idea whether or not this will work for you. The main problem is that VTK/ParaView wasn't designed to be used as a parallel grid generation tool.<br>
<br>Andy<br><br><div class="gmail_quote">On Wed, May 19, 2010 at 5:49 AM, Guido Staub <span dir="ltr"><<a href="mailto:gstaub@udec.cl">gstaub@udec.cl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">So, with D3 things run faster now. Solved as well the mentioned<br>
problem, it was due to not scaling the z values. However, maybe a<br>
logical behaviour, the result of the triangulation now consists of<br>
</div>four tiles. Anybody knows how to for example connect them? I have<br>
<div class="im">attached a screenshot showing the separation (vertical lines) of the<br>
tiles.<br>
<br>
Guido<br>
<br>
</div>Am Tue, 18 May 2010 17:17:06 +0000 schrieb Guido Staub <<a href="mailto:gstaub@udec.cl">gstaub@udec.cl</a>>:<br>
<div><div></div><div class="h5"><br>
> Using Process ID Scalars results in an Data Array ProcessId which in<br>
> case of np 3 ranges from 0 to 2 (and from 0 to 3 in case of np 4). I<br>
> have selected colorBy ProcessID to see if the input is well balanced<br>
> or not, unfortunately all the points have the same color. So I<br>
> conclude that the data is not well balanced, right?<br>
><br>
> If I apply the D3 filter I almost see the same results. The only<br>
> difference I have noticed is that there is no new Data Array.<br>
><br>
> Delaunay 2D is now about three times faster after I applied D3 filter.<br>
> However I do not like the resulting triangulation, seems like some<br>
> isosurfaces have been calculted.<br>
><br>
> Guido<br>
><br>
> Am Thu, 13<br>
> May 2010 20:48:11 -0400 schrieb Andy Bauer <<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>>:<br>
><br>
> > Process Id Scalars doesn't do any load balancing, it just shows what<br>
> > cells are assigned to what process. You can try the D3 filter to do<br>
> > actual load-balancing (your reader may already be doing this though<br>
> > in which case you would see the same results from a Process Id<br>
> > Scalars filter used after the D3 filter). I'm not that familiar<br>
> > with the internals of Delauney2D for distributed points but it's<br>
> > quite possible that for the set of points you have that the<br>
> > partitioning is not appropriate. As Ken said, using the Process Id<br>
> > Scalars to see if the input is fairly well balanced.<br>
> ><br>
> > Andy<br>
> ><br>
> > On Thu, May 13, 2010 at 3:33 PM, Guido Staub <<a href="mailto:gstaub@udec.cl">gstaub@udec.cl</a>> wrote:<br>
> ><br>
> > > Process Id Scalars didn't do the trick, still no performance gain<br>
> > > with Delaunay 2D.<br>
> > > My data is stored in a h5 file which gets loaded through a xdmf<br>
> > > file. After running the Process Id Scalars filter I do not see any<br>
> > > changes in the distribution of the data. However I guess that they<br>
> > > are already "evenly distributed" by default.<br>
> > ><br>
> > > So maybe exporting the file to an other format will do it or is<br>
> > > there a problem with the Delaunay implementation in general when<br>
> > > running in parallel?<br>
> > ><br>
> > > Guido<br>
> > ><br>
> > > Am Thu, 13 May 2010 15:08:04<br>
> > > -0600 schrieb "Moreland, Kenneth" <<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>>:<br>
> > ><br>
> > > > Ah, I see. It sounds like your data is not balanced. Many of<br>
> > > > the "non parallel" file formats will do something stupid when<br>
> > > > loading data in parallel. For example, they might load<br>
> > > > everything on process 0 or load everything everywhere. (And<br>
> > > > now that I think about it, the Delaunay filter may have trouble<br>
> > > > in parallel.)<br>
> > > ><br>
> > > > Try running the "Process Id Scalars" filter on your data. Do<br>
> > > > the points look evenly distributed?<br>
> > > ><br>
> > > > -Ken<br>
> > > ><br>
> > > ><br>
> > > > On 5/13/10 10:17 AM, "Guido Staub" <<a href="mailto:gstaub@udec.cl">gstaub@udec.cl</a>> wrote:<br>
> > > ><br>
> > > > Well if I start pvserver by mpirun -np 4 pvserver I have 3 cores<br>
> > > > running at almost 100%. Now I connect to the server and start a<br>
> > > > Delaunay 2D calculation on one of my datasets. As a result all<br>
> > > > of the 4 cores are showing 100%. However I assume that there is<br>
> > > > only one core doing the job, because on the one hand<br>
> > > > calculation is really slow. I have done similar processing on<br>
> > > > an other PC (an outdated one) and there is no significant<br>
> > > > performance advantage as one would expect. And on the other<br>
> > > > hand, running pvserver with e.g. -np 2 results in 100% for 2<br>
> > > > CPUs when starting the Delaunay 2D calc (1 core at 100% when<br>
> > > > cpu is idle).<br>
> > > ><br>
> > > > Guido<br>
> > > ><br>
> > > ><br>
> > > > Am Thu, 13 May 2010<br>
> > > > 12:39:43 -0600 schrieb "Moreland, Kenneth" <<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>>:<br>
> > > ><br>
> > > > > I am afraid I simply don't understand the question. You said<br>
> > > > > in (1) that you have three cores running at 100%. Then in (2)<br>
> > > > > you said that you only have one core running. Is it happening<br>
> > > > > when you start the client, connect the client to the server,<br>
> > > > > launch the server from the client, or something else? Is<br>
> > > > > something running or is the client sitting idle waiting for<br>
> > > > > the user?<br>
> > > > ><br>
> > > > > -Ken<br>
> > > > ><br>
> > > > ><br>
> > > > > On 5/13/10 8:15 AM, "Guido Staub" <<a href="mailto:gstaub@udec.cl">gstaub@udec.cl</a>> wrote:<br>
> > > > ><br>
> > > > > Thanks Ken, but I have already read this thread, therefore I<br>
> > > > > started the client process anyway without taking care of cpu<br>
> > > > > usage for now.<br>
> > > > ><br>
> > > > > However my second question still keeps me busy. Isn't it<br>
> > > > > possible to use all 4 cores?<br>
> > > > ><br>
> > > > > Guido<br>
> > > > ><br>
> > > > > Am Thu, 13 May 2010<br>
> > > > > 10:29:13 -0600 schrieb "Moreland, Kenneth"<br>
> > > > > <<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>>:<br>
> > > > ><br>
> > > > > > The question about why the pvserver processes are always at<br>
> > > > > > 100% CPU comes up frequently on the mailing list (such as<br>
> > > > > > <a href="http://www.paraview.org/pipermail/paraview/2008-December/010338.html" target="_blank">http://www.paraview.org/pipermail/paraview/2008-December/010338.html</a><br>
> > > ).<br>
> > > > > > I've added some information to the Wiki about it to provide<br>
> > > > > > an explanation:<br>
> > > > > ><br>
> > > <a href="http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Server_processes_always_have_100.25_CPU_usage" target="_blank">http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#Server_processes_always_have_100.25_CPU_usage</a><br>
> > > > > ><br>
> > > > > > -Ken<br>
> > > > > ><br>
> > > > > ><br>
> > > > > > On 5/13/10 5:06 AM, "Guido Staub" <<a href="mailto:gstaub@udec.cl">gstaub@udec.cl</a>> wrote:<br>
> > > > > ><br>
> > > > > > Hi all,<br>
> > > > > ><br>
> > > > > > I have succesfully compiled Paraview with MPI support on my<br>
> > > > > > Workstation (Quad Core). I have read that paraview runs<br>
> > > > > > serial, pvserver parallel, so I started the server by mpirun<br>
> > > > > > -np 4 pvserver and connected through X. Everything seems to<br>
> > > > > > work fine.<br>
> > > > > ><br>
> > > > > > But there are two strange behaviours I have noticed:<br>
> > > > > ><br>
> > > > > > 1. CPU usage on workstation is almost 100% on three of the<br>
> > > > > > four cores although no client is connected (when I type<br>
> > > > > > mpirun -np 3 pvserver there are 2 out of 4 running at 100%;<br>
> > > > > > with -np 2 only 1). I have noticed this using MPICH2 and<br>
> > > > > > OpenMPI.<br>
> > > > > ><br>
> > > > > > 2. When I now start a client process the server uses only<br>
> > > > > > one core (-np 4/3/2/1). Why?<br>
> > > > > ><br>
> > > > > > Does MPI not work on multicore systems as on multiprocessor<br>
> > > > > > systems or is this a Paraview issue?<br>
> > > > > ><br>
> > > > > > Thanks,<br>
> > > > > > Guido<br>
> > > > > > _______________________________________________<br>
> > > > > > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> > > > > ><br>
> > > > > > Visit other Kitware open-source projects at<br>
> > > > > > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> > > > > ><br>
> > > > > > Please keep messages on-topic and check the ParaView Wiki<br>
> > > > > > at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
> > > > > ><br>
> > > > > > Follow this link to subscribe/unsubscribe:<br>
> > > > > > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > ><br>
> > > > > > **** Kenneth Moreland<br>
> > > > > > *** Sandia National Laboratories<br>
> > > > > > ***********<br>
> > > > > > *** *** *** email: <a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a><br>
> > > > > > ** *** ** phone: (505) 844-8919<br>
> > > > > > *** web:<br>
> > > > > > <a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
> > > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > **** Kenneth Moreland<br>
> > > > > *** Sandia National Laboratories<br>
> > > > > ***********<br>
> > > > > *** *** *** email: <a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a><br>
> > > > > ** *** ** phone: (505) 844-8919<br>
> > > > > *** web:<br>
> > > > > <a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
> > > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > **** Kenneth Moreland<br>
> > > > *** Sandia National Laboratories<br>
> > > > ***********<br>
> > > > *** *** *** email: <a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a><br>
> > > > ** *** ** phone: (505) 844-8919<br>
> > > > *** web:<br>
> > > > <a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
> > > ><br>
> > > _______________________________________________<br>
> > > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
> > ><br>
> > > Visit other Kitware open-source projects at<br>
> > > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
> > ><br>
> > > Please keep messages on-topic and check the ParaView Wiki at:<br>
> > > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
> > ><br>
> > > Follow this link to subscribe/unsubscribe:<br>
> > > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
> > ><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
> </div></div></blockquote></div><br>