[Dune] pdepe tutorials installation

Daniel Jara Heredia daniel.jara.heredia at gmail.com
Tue Mar 26 17:48:07 CET 2019


Dear Sir,

I am using a virtual box with OS Ubuntu 18.04. I have installed dune via
the provided debian packages (
https://packages.debian.org/search?keywords=libdune+dev&searchon=names&suite=all&section=all).
And I was able to follow the introduction of Oliver Sander.
Then I have clone the git repository for the pdelab tutorials (
http://gitlab.dune-project.org/pdelab/dune-pdelab-tutorials) and inside the
directory I have run the command dunecontrol all. Eventually, I have get a
problem that says:

*-- Configuring done*
*CMake Error at gridinterface/exercise/task/CMakeLists.txt:1
(add_executable):*
*  Cannot find source file:*

*    grid-exercise1.cc*

*  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp*
*  .hxx .in .txx*


*CMake Error: CMake can not determine linker language for target:
grid-exercise1*
*CMake Error: Cannot determine link language for target "grid-exercise1".*
*-- Generating done*
*-- Build files have been written to:
/home/daniel/dune-try/Tuto/dune-pdelab-tutorials/build-cmake*
*--- Failed to build dune-pdelab-tutorials ---*
*Terminating dunecontrol due to previous errors!*

I have moved the *grid-exercise1.cc *file in from
the  gridinterface/exercise/solution/ directory
to  gridinterface/exercise/task/ but then I got the problem:

*-- Configuring done*
*CMake Error at gridinterface/exercise/solution/CMakeLists.txt:1
(add_executable):*
*  Cannot find source file:*

*    grid-exercise1.cc*

*  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp*
*  .hxx .in .txx*


*CMake Error: CMake can not determine linker language for target:
solution-grid1*
*CMake Error: Cannot determine link language for target "solution-grid1".*
*-- Generating done*
*-- Build files have been written to:
/home/daniel/dune-try/Tuto/dune-pdelab-tutorials/build-cmake*
*--- Failed to build dune-pdelab-tutorials ---*
*Terminating dunecontrol due to previous errors!*


So, I have end up copying the *grid-exercise1.cc *of the solution directory
to the task directory and I have run dunecontrol all. The output of the
terminal now looks like:

*[ 19%] Building CXX object
gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/grid-exercise2.cc.o*
*/home/daniel/dune-try/Tuto/dune-pdelab-tutorials/gridinterface/exercise/task/grid-exercise2.cc:7:10:
fatal error: dune/common/filledarray.hh: No such file or directory*
* #include <dune/common/filledarray.hh>*
*          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~*
*compilation terminated.*
*gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/build.make:62:
recipe for target
'gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/grid-exercise2.cc.o'
failed*
*make[2]: ***
[gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/grid-exercise2.cc.o]
Error 1*
*CMakeFiles/Makefile2:2147: recipe for target
'gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/all' failed*
*make[1]: ***
[gridinterface/exercise/task/CMakeFiles/grid-exercise2.dir/all] Error 2*
*Makefile:162: recipe for target 'all' failed*
*make: *** [all] Error 2*
*--- Failed to build dune-pdelab-tutorials ---*
*Terminating dunecontrol due to previous errors!*


Every time I do a project I got the following message:

*WARNING: could not find module dune-alugrid,*
*       module is also unknown to pkg-config.*
*       Maybe you need to adjust PKG_CONFIG_PATH!*
*       dune-alugrid is suggested by dune-pdelab*
*Skipping dune-alugrid!*

Which I do not know if it is related to my problem of installing the pdelab
tutorials (I do not think so).
When I follow the instructions given in
https://www.dune-project.org/doc/beginners-resources-pdelab/  for
installing the dune-pdelab and dune-pdelab tutorials, my terminal ends up
oupting the same results. (I use the 2.6.1 instead of
./dune-installer/pdelab-2.4.1/installer.sh).

Do you have an idea of what can be my problem? Do you know if I can install
the tutorials using other approach?


Thank you again

Best regards,
Daniel Jara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20190326/ff859b4d/attachment.htm>


More information about the Dune mailing list