[Dune] Strange problem with MPI_Comm ?

Markus Blatt markus at dr-blatt.de
Wed Mar 25 17:08:29 CET 2015


Hi,

On Wed, Mar 25, 2015 at 05:01:12PM +0100, Benedikt Oswald wrote:
> it may be a silly mistake of mine, but I keep getting errors like this,
> cf. below, although I include the mpi helper class and mpi collective
> communication etc.
> 
> Would you have any idea on what is going wrong ?
> 
> /scratch/daint/boswald/gitwork/hades/communicationinterface/globaluniqueindex.hh:101:58:
> error: 'MPI_Comm' was not declared in this scope
>   typedef typename Dune::template CollectiveCommunication<MPI_Comm>
> Collective;
> 

Maybe the MPI compile flags are not added for this particular
executable? Can you see them with "make VERBOSE=1 <target>" ?

Markus

-- 
Do you need more support with DUNE or HPC in general? 

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150325/fe98987b/attachment.sig>


More information about the Dune mailing list