Hi Bernd, it works, thanks very much, so I need this path everytime. and after that I tried to generate the Makefile from dumux-lecture, some problems come out again, it told me that the dune.module doesn't contain a module entry, what does it mean?
hongzheng6027:/usr/local/dune # DUNE_CONTROL_PATH=/usr/local/dune ./dune-common-2.3.1/bin/dunecontrol --opts=dumux-lecture/dumux-lecture/optim.opts all ----- using default flags $CONFIGURE_FLAGS from /usr/local/dune/dumux-lecture/dumux-lecture/optim.opts ----- /usr/local/lib/dunecontrol/dune-grid: file not found ERROR: dune.module files /usr/local/dune/dumux-lecture/dumux-lecture/PaxHeaders.6473/dune.module does not contain a Module entry Execution of dunecontrol terminated due to errors! hongzheng6027:/usr/local/dune # DUNE_CONTROL_PATH=/usr/local/dune ./dune-common-2.3.1/bin/dunecontrol all /usr/local/lib/dunecontrol/dune-grid: file not found ERROR: dune.module files /usr/local/dune/dumux-lecture/dumux-lecture/PaxHeaders.6473/dune.module does not contain a Module entry Execution of dunecontrol terminated due to errors! Thanks Hao 2014-06-24 13:14 GMT+02:00 Bernd Flemisch <[email protected]>: > Hi Hao, > > two issues: > - DUNE_CONTROL_PATH should be the directory, that contains the Dune > modules, in your case /usr/local/dune > > - To be on the safe side you should write everything on one line, namely > DUNE_CONTROL_PATH=/usr/local/dune ./dune-common-2.3.1/bin/dunecontrol all > Otherwise, the DUNE_CONTROL_PATH variable might not make it to > dunecontrol. If you want to do it in two lines exporting it should work, > namely, in bash > export DUNE_CONTROL_PATH=/usr/local/dune > ./dune-common-2.3.1/bin/dunecontrol all > But this depends on the shell script you use. > > Kind regards > Bernd > > On 06/24/2014 09:12 AM, 吴昊 wrote: > > hongzheng6027:/usr/local/dune # > > DUNE_CONTROL_PATH=/usr/local/dune/dune-common-2.3.1/bin/dunecontrol > > hongzheng6027:/usr/local/dune # ./dune-common-2.3.1/bin/dunecontrol all > > > -- > _______________________________________________________________ > > Bernd Flemisch phone: +49 711 685 69162 > IWS, Universität Stuttgart fax: +49 711 685 60430 > Pfaffenwaldring 61 email: [email protected] > D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de > _______________________________________________________________ > > _______________________________________________ > Dumux mailing list > [email protected] > https://listserv.uni-stuttgart.de/mailman/listinfo/dumux >
_______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
