Hi Bernd,

  When there is a wrong dune-foamgrid version, lost in the extensive 
configuration output, there is a warning:

"WARNING: version mismatch.
       dumux suggests 'dune-foamgrid >=2.7',
       but only 'dune-foamgrid' = '2.6-git' is available."

  And you are right, if the dune module for the dumux-course directory is 
modified with the line:

  "Depends: dumux dune-foamgrid (>=2.7)"

 Then dunecontrol will spot the problem right away.

  But I guess I should have done a "|grep "version mismatch" with the configure 
output instead.

best regards,

Edscott

________________________________
From: DuMux <[email protected]> on behalf of Flemisch, 
Bernd <[email protected]>
Sent: Friday, January 29, 2021 1:19 AM
To: DuMux User Mailing List <[email protected]>
Subject: Re: [DuMux] Problem with dumux-course dependencies


Hi Edscott,



we have a check for dune-foamgrid >= 2.7 in our dune.module. Probably 
dunecontrol just runs over it as it is not a required dependency?



Kind regards

Bernd



Von: DuMux <[email protected]> Im Auftrag von Ed Scott 
Wilson Garcia
Gesendet: Freitag, 29. Januar 2021 02:21
An: Gläser, Dennis <[email protected]>; 
[email protected]
Betreff: Re: [DuMux] Problem with dumux-course dependencies



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]<mailto:[email protected]>>
 on behalf of Ed Scott Wilson Garcia <[email protected]<mailto:[email protected]>>
Sent: Thursday, January 28, 2021 2:51 PM
To: Dennis Gläser 
<[email protected]<mailto:[email protected]>>;
 [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[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]<mailto:[email protected]>>
Sent: Thursday, January 28, 2021 12:57 PM
To: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>; Ed 
Scott Wilson Garcia <[email protected]<mailto:[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