[Dune] parallel ALUGrid question
Martin Nolte
nolte at mathematik.uni-freiburg.de
Mon Mar 16 16:08:06 CET 2009
Hi Christian,
you missed nothing. Just call grid.loadBalance() to distribute the grid.
Yours,
Martin
Christian May wrote:
> Dear dune developers,
>
> serial ALUGrid works fine, but I have some trouble running the parallel
> version of ALUGrid.
>
> The config.log of ALUGrid says
>
> configure:18266: checking for which type of run mode ALUGrid can be used
> configure:18268: result: parallel
>
> and dune-grid's config.log says
>
> configure:27934: checking for alugrid_parallel.h
> configure:27941: result: yes
>
> so it should be configured right. I then include
>
> #include <alugrid_parallel.h>
> #include <dune/grid/io/file/dgfparser/dgfalu.hh>
>
> and create the grid using
>
> typedef Dune::ALUCubeGrid<3,3> GridType;
> Dune::GridPtr<GridType> gridptr("testgridsmall.dgf", MPI_COMM_WORLD );
>
> However, the whole grid is assigned to the first process. What could I
> have missed?
>
>
> Thanks
> Christian
>
>
>
>
>
> ---------------------------------------------------------------------------
> Christian May
>
> ETH Zurich
> Institute for Theoretical Physics, HIT K 31.5
> CH-8093 Zurich, Switzerland
>
> Tel: + 41 44 633 79 61
> Fax: + 41 44 633 11 15
>
> Email: cmay at itp.phys.ethz.ch
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
--
Martin Nolte <nolte at mathematik.uni-freiburg.de>
Universität Freiburg phone: +49-761-203-5642
Abteilung für angewandte Mathematik fax: +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany
More information about the Dune
mailing list