Hello Dennis,

   Sorry for the troubles. It seems that the only problem was that the 
dune-foamgrid was set to releases/2.5 instead of releases/2.7 like everything 
else from Dune.
   With that change, everything works like a charm.
   Maybe a check for correct Dune module versions would be nice for the absent 
minded? Probably not.

Best regards,

Edscott

________________________________
From: DuMux <[email protected]> on behalf of Ed Scott 
Wilson Garcia <[email protected]>
Sent: Thursday, January 28, 2021 2:51 PM
To: Dennis Gläser <[email protected]>; 
[email protected] <[email protected]>
Subject: Re: [DuMux] Problem with dumux-course dependencies

Hi Dennis,

 Thanks for your prompt response. Just to make sure redid everything from 
scratch in a clean build. And the result was the same. main77 in lieu of 
main.cc.

  I'm attaching the script file with the complete build in case you see 
anything unusual (I don't).

  Maybe dune_add_test() has some kind of quirk.

best regards,

Edscott

________________________________
From: Dennis Gläser <[email protected]>
Sent: Thursday, January 28, 2021 12:57 PM
To: [email protected] <[email protected]>; Ed Scott 
Wilson Garcia <[email protected]>
Subject: Re: [DuMux] Problem with dumux-course dependencies


Hi Edscott,

did you run Dunecontrol from a clean build directory? In case you installed 
ALUGrid or FoamGrid after configuring Dune/Dumux, I recommend you remove the 
file CMakeCache.txt and the folder CMakeFiles in your build directories and 
rerun dunecontrol to do a fresh configure.

I hope this helps!

Best wishes,
Dennis


On 28.01.21 18:41, Ed Scott Wilson Garcia wrote:

Hello Timo,

   When I run a dunecontrol configure for dumux-course, I get the following:

  -- Adding custom target for config.h generation
-- The following OPTIONAL packages have been found:

 * dune-alugrid
 * dune-foamgrid
 * dune-uggrid
 * LatexMk
 * LATEX, Type setting system

But for exercise_fractures the build-cmake file for main.cc gets replaced for 
main77 which argues:

This test was skipped because it failed the following CMake Conditions:
 (;dune-foamgrid_FOUND;AND;dune-alugrid_FOUND;)

Which is not the case from the output from configure.
Is there a bug here? I'm using dumux-3.3. Maybe dumux-course requires 3.2? But 
that does not sound correct. At least I haven't found a test for a specific 
Dumux version.

Best regards,

Edscott





_______________________________________________
DuMux mailing list
[email protected]<mailto:[email protected]>
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to