<div class="Mi"><div class="Ni" style="height:66px"><div class="Zh" style="height:66px"><div class="ii ji  Yh" dir="ltr"><font size="2"><span style="background-color:rgba(255,255,255,0)">You should only add cmake code *after* the call to dune_project(). Everything up to that call is setup code. I think that should settle the problem.</span></font><div><font size="2"><span style="background-color:rgba(255,255,255,0)">We should put this somewhere into documentation.</span></font></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)"><br></span></font></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)">Dominic</span></font></div></div></div></div></div>On Saturday, 18 June 2016, Afshin Loni <<a href="mailto:afshin.loni@gmail.com">afshin.loni@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi Guys,<br></div><br>Thank you for your answers but I still have the same problem. I tried both Dominic suggestions. I added dune_enable_all_packages() to the top of dune-heat module and it didn't work. Then I added add_dune_mpi_flags(dune-heat) to the cmakelist.txt inside the src folder. and again nothing happened.<br></div>I also installed in on a LRZ supercomputer node and ran it there. this time I got an error like this:<br><br>ga35muh2@lxa191:~/Dune1/debug-build/dune-heat/src> mpirun -np 4 ./dune-heat<br>srun: error: Unable to allocate resources: Invalid node name specified<br><br></div>Attached you can find my cmakelist.txt.<br><br></div>Thanks,<br></div>Afshin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 17, 2016 at 1:48 PM, Markus Blatt <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','markus@dr-blatt.de');" target="_blank">markus@dr-blatt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, Jun 17, 2016 at 01:39:58PM +0200, Christian Engwer wrote:<br>
> PS: Is there some command to get an output similar to<br>
> "./configure --help". In particular I'm asking about an option whihc<br>
> doesn't require me know which cmake-module handles this configuration<br>
> underneath, but to give me a starting point [without using google ;-)].<br>
><br>
<br>
</span>Sure, simply open and edit the CMakeCache.txt of your favorite module<br>
in your favorite browser, or use the ccmake gui (Debian:<br>
cmake-curses-gui).<br>
<span><font color="#888888"><br>
Markus<br>
--<br>
Using PT-Scotch with DUNE <a href="https://t.co/hZH8lxf5ZF" rel="noreferrer" target="_blank">https://t.co/hZH8lxf5ZF</a><br>
<br>
Dr. Markus Blatt - HPC-Simulation-Software & Services <a href="http://www.dr-blatt.de" rel="noreferrer" target="_blank">http://www.dr-blatt.de</a><br>
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany<br>
Tel.: <a href="tel:%2B49%20%280%29%20160%2097590858" value="+4916097590858" target="_blank">+49 (0) 160 97590858</a><br>
</font></span><br>_______________________________________________<br>
dune-pdelab mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','dune-pdelab@dune-project.org');" target="_blank">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>
<br></blockquote></div><br></div>
</blockquote>