<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>@Christoph: Who cares about the name of the variable you should not set manually...<br><br></div>@Afshin<br></div>So, the import information, that you did not share with us is, that you have started your<br></div>own dune module dune-heat. And now you are running into one of our oldest sources of<br></div>trouble: The ENABLE trick.<br><br></div>Long story short, there is two methods of solution:<br></div>1) Put<br><br>dune_enable_all_packages()<br><br>into your toplevel CMakeLists.txt immediately following the call to dune_project().<br></div></div>2) Call <br><br></div>dune_add_mpi_flags(target)<br><br></div>with target being your actual executable.<br><br></div>For more information, you can read our FAQ on the build system here:<br><a href="https://beta.dune-project.org/sphinx/core-2.4/">https://beta.dune-project.org/sphinx/core-2.4/</a><br><br></div>Best,<br></div>Dominic<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 17, 2016 at 12:28 PM, Christoph Grüninger <span dir="ltr"><<a href="mailto:christoph.grueninger@iws.uni-stuttgart.de" target="_blank">christoph.grueninger@iws.uni-stuttgart.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Afshin,<br>
the CMake variable is called MPI_C_COMPILER, not MPI_CC_COMPILER.<br>
<br>
Bye<br>
<span class="HOEnZb"><font color="#888888">Christoph<br>
<br>
--<br>
The method has been developed for use on a high-speed electronic<br>
computer and would be impractical for hand-solution purposes.<br>
[Harlow & Welch 1965]<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
dune-pdelab mailing list<br>
<a href="mailto:dune-pdelab@dune-project.org">dune-pdelab@dune-project.org</a><br>
<a href="http://lists.dune-project.org/mailman/listinfo/dune-pdelab" rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-pdelab</a><br>
</div></div></blockquote></div><br></div>