Dear Kaiyi,
I personally haven't encountered the issue you described. It could be
related to a certain version of dune you checked out.
Do you really need dune-functions?
If you only want to run dumux, I recommend the following, as described
on our webpage:
Create an empty folder, e.g. called "Dumux".
cd Dumux
for MOD in common geometry grid localfunctions istl; do
git clone -b releases/2.5
https://gitlab.dune-project.org/core/dune-$MOD.git;
done
git clone https://git.iws.uni-stuttgart.de/dumux-repositories/dumux.git
./dune-common/bin/dunecontrol --opts=dumux/optim.opts all
This should provide you with a clean installation of Dumux.
Best regards
Kilian
PS: please make sure to respond also to the dumux mailing list so that
other users can also benefit from the discussion.
On 11/03/2017 03:27 PM, kaiyi Zhang wrote:
Dear Kilian
Thank you for your respond!
Another error comes up when I run
./dune-common/bin/dunecontrol --opts=dumux/optim.opts all
Please see the attached screenshot.
Could you tell me how can I fix this?
Thank you very much!
Kaiyi
-----Original Message-----
From: [email protected]
[mailto:[email protected]]
Sent: Friday, November 3, 2017 2:19 AM
To: DuMuX User Forum <[email protected]>; Kaiyi Zhang
<[email protected]>
Subject: Re: [DuMuX] Help! Compile Error: 'fatal error: config.h: no such
file or directory'
Dear Kaiyi,
it looks like you are trying to compile the test from within the source
folder.
Please follow the installation instructions given on
http://www.dumux.org/installation.php
The important point is to run
./dune-common/bin/dunecontrol --opts=dumux/optim.opts all
from your root directory (the folder, where all dune modules including dumux
lie).
This creates a folder called build-cmake in your dumux folder. There you
will find the tests and you can just compile your test using
make test_box2p
Best regards
Kilian
On Fri, 3 Nov 2017 13:02:25 +0800
Kaiyi Zhang <[email protected]> wrote:
To anyone can help
I cant compile the test file 'test_box2p.cc'.
The error information is 'fatal error: config.h: no such file or
directory'
How can I fix this?
The attachment is the screenshot.
Thank you very much!
Kaiyi, Zhang
M.S in Geoenergy Engineering
Department of Mining and Minerals Engineering Virginia Tech
Blacksburg, VA 24061
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Kilian Weishaupt M.Sc.
Institut für Wasser- und Umweltsystemmodellierung (IWS)
Lehrstuhl für Hydromechanik und Hydrosystemmodellierung
Universität Stuttgart, Pfaffenwaldring 61, 70569 Stuttgart
Email: [email protected]
Telefon: 0049 711 685-60461 ** fax: 0049-711-685-60430
http://www.hydrosys.uni-stuttgart.de
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux