[Dune] dunecontrol make test

Markus Blatt markus at dr-blatt.de
Thu Jun 29 11:30:42 CEST 2017


Hi Alireza,

On Thu, Jun 29, 2017 at 03:58:09AM +0000, Mazaheri, Alireza (LARC-D305) wrote:
> 
> [  9%] Building CXX object dune/common/test/CMakeFiles/mpiguardtest.dir/mpiguardtest.cc.o
> In file included from /u/amazaher/dune-project/dune-common/dune/common/test/mpiguardtest.cc:6:0:
> /u/amazaher/dune-project/dune-common/dune/common/parallel/mpiguard.hh: In instantiation of 'static Dune::GuardCommunicator* Dune::GuardCommunicator::create(const C&) [with C = <anonymous enum>]':
> /u/amazaher/dune-project/dune-common/dune/common/parallel/mpiguard.hh:161:38:   required from 'Dune::MPIGuard::MPIGuard(const C&, bool) [with C = <anonymous enum>]'
> /u/amazaher/dune-project/dune-common/dune/common/test/mpiguardtest.cc:38:42:   required from here
> /u/amazaher/dune-project/dune-common/dune/common/parallel/mpiguard.hh:78:12: error: invalid new-expression of abstract class type 'Dune::{anonymous}::GenericGuardCommunicator<<anonymous enum> >'
>     return new GenericGuardCommunicator<C>(comm);
>                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>		 /u/amazaher/dune-project/dune-common/dune/common/parallel/mpiguard.hh:46:12: note:   because the following virtual functions are pure within 'Dune::{anonymous}::GenericGuardCommunicator<<anonymous enum> >':
>		      struct GenericGuardCommunicator
>		                  ^~~~~~~~~~~~~~~~~~~~~~~~
>				  /u/amazaher/dune-project/dune-common/dune/common/parallel/mpiguard.hh:32:17: note:  virtual int Dune::GuardCommunicator::rank()
>				       virtual int rank() = 0;
>				                        ^~~~
> /u/amazaher/dune-project/dune-common/dune/common/parallel/mpiguard.hh:33:17: note:  virtual int Dune::GuardCommunicator::size()
>	     virtual int size() = 0;
>                      ^~~~
>									      /> u/amazaher/dune-project/dune-common/dune/common/parallel/mpiguard.hh:34:17: note:  virtual int Dune::GuardCommunicator::sum(int)
> 	           virtual int sum(int i) = 0;
>                              ^~~

Mmh this does look a bit weired. Maybe this is related to your MPI version
not being correctly detected by our system or your compiler?
Weiredly you MPI_COMM_WORLD is an anonymous enum. Not sure whether this means that you are using the C++ bindings of MPI.

Please file an issue at https://gitlab.dune-project.org/core/dune-common and attach the log and CMakeCache.txt

Cheers,

Markus

-- 
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858




More information about the Dune mailing list