<div dir="ltr">It's a little convoluted with Trilinos includes right now, I'm trying to generate a minimal example.<div><br></div><div>--Nico</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 2, 2015 at 10:00 PM Vijay S. Mahadevan <<a href="mailto:vijay.m@gmail.com">vijay.m@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nico, can you give an example ? What else did you include before<br>
ParallelComm to get such an error ? I am guessing this has to do with<br>
how moab/MOABConfig.h gets included since that's where MOAB_HAVE_MPI<br>
is defined.<br>
<br>
Vijay<br>
<br>
On Mon, Nov 2, 2015 at 2:47 PM, Nico Schlömer <<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>> wrote:<br>
> When playing with MOAB, I found that if I include the header<br>
> ```<br>
> #include <moab/ParallelComm.hpp><br>
> ```<br>
> after something that's also using MPI, I'm getting strange compilation<br>
> errors of the kind<br>
> ```<br>
> error: ‘MPI_COMM_WORLD’ was not declared in this scope<br>
> ```<br>
> Has anyone else experienced this?<br>
><br>
> Cheers,<br>
> Nico<br>
</blockquote></div>