[Dune] dune 2.4.1 and parallelism

Marco Cisternino marco.cisternino at optimad.it
Mon Jun 13 12:14:38 CEST 2016


Thank you Markus!!
That's exactly what I needed. Now it works.
Could you tell if your hint is reported anywhere in dune documentation, please?

Thanks again.
Marco

________________________________________
Da: Markus Blatt <markus at dr-blatt.de>
Inviato: lunedì 13 giugno 2016 12.08.39
A: Marco Cisternino
Cc: dune at dune-project.org
Oggetto: Re: [Dune] dune 2.4.1 and parallelism

Hi,


On Mon, Jun 13, 2016 at 09:14:29AM +0000, Marco Cisternino wrote:
>
> Direct calls to MPI routines work fine giving parallel outputs. I had to add explicit call to MPI_Init because MPI is not initialize by the helper instance method.

The short and precise answer/help is:
You have to add
add_dune_mpi_flags(targetbinary)
to your CMakeLists.txt.

Otherwise DUNE will assume you want to run without MPI.
Dominics hint's about MPI and compiler apply, too.

Markus

--
Meet us at booth 810 at ISC2016 in Frankfurt June 20-23,2016

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