From: Cody P. <cod...@gm...> - 2013-10-30 14:43:01
|
On Tue, Oct 29, 2013 at 3:17 PM, Kirk, Benjamin (JSC-EG311) < ben...@na...> wrote: > If forced to choose one of those options for a cube, though, I'd suggest > the SFC option. > > -Ben > > Thanks Ben! I wasn't even aware of that Partitioner. I just tried it on my very large 3D cube domain simulation and it's giving me a 5% boost in performance over linear with no other changes. I'm running on 120 processors across 60 nodes + threading (using tons of memory). I guess the communication pattern really makes that much difference. Also, that's a low estimate, I have an expensive postprocessor that runs at the end of the timestep that's being added into the timestep timer so the actual solve performance boost might be closer to 10%! Cody > > On Oct 29, 2013, at 2:58 PM, "John Peterson" <jwp...@gm...> wrote: > > > > > On Tue, Oct 29, 2013 at 1:38 PM, ernestol <ern...@ln...> wrote: > >> Thanks for the answers. >> >> So wich of the three partitioner do you recommend and how can I change it? >> > > I wouldn't say any of them are actually "recommended" for production > code, but you can certainly try them by first including the relevant > headers: > > #include "libmesh/linear_partitioner.h" > #include "libmesh/centroid_partitioner.h" > #include "libmesh/sfc_partitioner.h" > > and then picking one of them _before_ calling build_cube: > > Mesh mesh; > > // Choose a non-default partitioner > // mesh.partitioner().reset(new LinearPartitioner); > // mesh.partitioner().reset(new CentroidPartitioner); > mesh.partitioner().reset(new SFCPartitioner); > > -- > John > > > ------------------------------------------------------------------------------ > > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > > _______________________________________________ > Libmesh-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-devel > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Libmesh-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-devel > > |