[dune-pdelab] Heat Equation in Parallel

Dominic Kempf dominic.r.kempf at gmail.com
Sat Jun 18 18:31:11 CEST 2016


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.
We should put this somewhere into documentation.

Dominic
On Saturday, 18 June 2016, Afshin Loni <afshin.loni at gmail.com> wrote:

> Hi Guys,
>
> 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.
> I also installed in on a LRZ supercomputer node and ran it there. this
> time I got an error like this:
>
> ga35muh2 at lxa191:~/Dune1/debug-build/dune-heat/src> mpirun -np 4
> ./dune-heat
> srun: error: Unable to allocate resources: Invalid node name specified
>
> Attached you can find my cmakelist.txt.
>
> Thanks,
> Afshin
>
> On Fri, Jun 17, 2016 at 1:48 PM, Markus Blatt <markus at dr-blatt.de
> <javascript:_e(%7B%7D,'cvml','markus at dr-blatt.de');>> wrote:
>
>> On Fri, Jun 17, 2016 at 01:39:58PM +0200, Christian Engwer wrote:
>> > PS: Is there some command to get an output similar to
>> > "./configure --help". In particular I'm asking about an option whihc
>> > doesn't require me know which cmake-module handles this configuration
>> > underneath, but to give me a starting point [without using google ;-)].
>> >
>>
>> Sure, simply open and edit the CMakeCache.txt of your favorite module
>> in your favorite browser, or use the ccmake gui (Debian:
>> cmake-curses-gui).
>>
>> Markus
>> --
>> Using PT-Scotch with DUNE https://t.co/hZH8lxf5ZF
>>
>> 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
>>
>> _______________________________________________
>> dune-pdelab mailing list
>> dune-pdelab at dune-project.org
>> <javascript:_e(%7B%7D,'cvml','dune-pdelab at dune-project.org');>
>> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20160618/67d44086/attachment.htm>


More information about the dune-pdelab mailing list