[Dune] About geometryInInSide in UGGrid

Oliver Sander sander at mi.fu-berlin.de
Thu Apr 2 10:20:18 CEST 2009


Hi all!
If you configure Dune with --enable-parallel and you want to use
UGGrid then you have to have UG configured with --enable-parallel
as well.  Did you do that?

--
Oliver

Yufei Cao schrieb:
> Dear Markus,
>
> Thank you for your answer !
>
> I tried the solution as you told, but I got the following 
> error message:
>
> I am rank 0 of 1 processes!
> p0_20843:  p4_error: interrupt SIGSEGV: 11
>
> Is this a UG specific problem or something I did wrong?
>
> Best regards,
> Yufei
>
>
>
>
>
> On Tue, 31 Mar 2009 19:02:44 +0200 Markus Blatt wrote:
>
>   
>> This pretty much seems like UG thinks you are using MPI.
>>
>> Just do as you are told:
>>
>> #include "config.h"
>> #include"dune/common/mpihelper.hh" // An initializer of MPI
>> #include"dune/common/exceptions.hh" // We use exceptions
>>
>> int main(int argc, char** argv){
>>  try{
>>    //Maybe initialize Mpi
>>    Dune::MPIHelper& helper = >Dune::MPIHelper::instance(argc, argv);
>>
>>    // you might skip these lines
>>    if(Dune::MPIHelper::isFake)
>>      std::cout<< "This is a sequential program." << >std::endl;
>>    else
>>      std::cout<<"I am rank "<<helper.rank()<<" of >"<<helper.size()
>>        <<" processes!"<<std::endl;
>>    
>>    // your code
>>    ....
>>  }catch (Dune::Exception &e){
>>    std::cerr << "Dune reported error: " << e << std::endl;
>>  }
>> }
>>     
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>   


-- 
************************************************************************
* 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