[Dune] [Dune-Commit] dune-grid r6326 - trunk/dune/grid/common/test

Oliver Sander sander at mi.fu-berlin.de
Fri Feb 12 17:05:24 CET 2010


Hi Jö!
What assertion is this?  I cannot reproduce the problem.
--
Oliver

joe at dune-project.org schrieb:
> Author: joe
> Date: 2010-02-12 16:16:56 +0100 (Fri, 12 Feb 2010)
> New Revision: 6326
>
> Modified:
>    trunk/dune/grid/common/test/mcmgmappertest.cc
> Log:
> Initialize MPI.  This fixes test failure due to complaints by the MPI library, the test still fails because of some assertion in UG however.
>
> please merge to release
>
> Modified: trunk/dune/grid/common/test/mcmgmappertest.cc
> ===================================================================
> --- trunk/dune/grid/common/test/mcmgmappertest.cc	2010-02-12 13:03:20 UTC (rev 6325)
> +++ trunk/dune/grid/common/test/mcmgmappertest.cc	2010-02-12 15:16:56 UTC (rev 6326)
> @@ -1,4 +1,5 @@
> -// $Id$
> +// -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
> +// vi: set et ts=8 sw=4 sts=4:
>  
>  /** \file
>      \brief A unit test for the MultipleCodimMultipleGeometryMapper
> @@ -141,8 +142,10 @@
>    than one element type.  So far only UGGrids do this, so we use them to test the mapper.
>  */
>  
> -int main () try
> +int main(int argc, char** argv) try
>  {
> +    // initialize MPI if neccessary
> +    Dune::MPIHelper::instance(argc, argv);
>  
>      // ////////////////////////////////////////////////////////////////////////
>      //  Do the test for a 2d UGGrid
>
>
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit
>   


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************





More information about the Dune mailing list