[Dune] error compiling dune with hades

Oliver Sander sander at igpm.rwth-aachen.de
Thu Jul 10 15:10:23 CEST 2014


I'd start by copying multilineargeometry.hh in dune-geometry, and generalize
that copy to multi-polynomial mappings.  Make those as general as you think
you need them.  No matter how you proceed you will certainly need those
generalized geometries.
--
Oliver

Am 10.07.2014 14:30, schrieb Benedikt Oswald:
> 
> opinions on how curvilinear functionality should be implemented.
> 
> For example, gmsh is capable of generating up to 6th order curvilinear
> elements; although, it appears that 2nd and 3rd order mesh generation is
> generally more stable. Since we need this functionality for Maxwell,
> our perspective may be biased but other physical fields may have different
> needs.
> 
> Greetings, Benedikt
> 
> 
> 
>>> By the way, it wold be interesting to hear opinions on this since we think that
>>> we are not the only ones needing this.
>>>
>>
>> Opinions on what precisely?
>>
>> Cheers,
>> Oliver
>>
>>
>>> Greetings and thanks again, Benedikt
>>>
>>>
>>>
>>> On 10 Jul 2014, at 13:01, Oliver Sander <sander at igpm.rwth-aachen.de> wrote:
>>>
>>>> Hi,
>>>> given that you say you have just setup the machine: are you sure all
>>>> AutoTools-related stuff is installed?
>>>>
>>>> Also, since you are on Debian you may want to try to simply backport
>>>> the Dune packages from Debian testing.  That's easier than it sounds,
>>>> and will give you clear error messages when something is missing on
>>>> your computer.  I'll append a short explanation on how to backport
>>>> the Dune Debian packages, written by Ansgar.
>>>>
>>>> Good luck,
>>>> Oliver
>>>>
>>>> <quote Ansgar>
>>>> If DUNE 2.3 is recent enough for you, you could also try out the Debian
>>>> packages. The 2.3 version is currently only available in testing and
>>>> unstable, but it should be possible to just rebuild them for Debian 7.4:
>>>>
>>>> 1, Add "deb-src http://http.debian.net/debian testing main" to
>>>>  /etc/apt/sources.list and run sudo apt-get update,
>>>> 2, Install build dependencies: sudo apt-get install build-essential &&
>>>>  sudo apt-get build-dep dune-common
>>>> 3, Then apt-get source -b dune-common should download and build the
>>>>  dune-common module, leaving you with a few *.deb packages.
>>>> 4, Install the *.deb packages with sudo dpkg -i libdune-common*.deb
>>>> 5, Repeat 2-4 for other modules as needed.
>>>> </quote Ansgar>
>>>>
>>>>
>>>> Am 10.07.2014 12:28, schrieb Aleksejs Fomins:
>>>>> Dear Dune,
>>>>>
>>>>> I am trying to compile Dune I just got from the repository yesterday, I
>>>>> get the following error message:
>>>>>
>>>>> =================================================================
>>>>>
>>>>> --> automake...
>>>>> configure.ac:12: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
>>>>> m4_defun'd
>>>>> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
>>>>> configure.ac:12: the top level
>>>>> configure.ac:12: warning: AC_DISABLE_SHARED is m4_require'd but not
>>>>> m4_defun'd
>>>>> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
>>>>> configure.ac:12: the top level
>>>>> configure.ac:12: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
>>>>> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
>>>>> configure.ac:12: the top level
>>>>> configure.ac:12: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not
>>>>> m4_defun'd
>>>>> aclocal.m4:2688: DUNE_COMMON_CHECKS is expanded from...
>>>>> dependencies.m4:16: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
>>>>> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
>>>>> configure.ac:12: the top level
>>>>> configure.ac:12: warning: AC_PROG_LIBTOOL is m4_require'd but not m4_defun'd
>>>>> aclocal.m4:2688: DUNE_COMMON_CHECKS is expanded from...
>>>>> dependencies.m4:16: DUNE_CHECK_MOD_DEPENDENCIES is expanded from...
>>>>> aclocal.m4:2465: DUNE_CHECK_ALL is expanded from...
>>>>> configure.ac:12: the top level
>>>>> dune/common/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is
>>>>> undefined
>>>>> dune/common/Makefile.am:6:   The usual way to define 'LIBTOOL' is to add
>>>>> 'LT_INIT'
>>>>> dune/common/Makefile.am:6:   to 'configure.ac' and run 'aclocal' and
>>>>> 'autoconf' again.
>>>>> dune/common/Makefile.am:6:   If 'LT_INIT' is in 'configure.ac', make sure
>>>>> dune/common/Makefile.am:6:   its definition is in aclocal's search path.
>>>>> lib/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
>>>>> lib/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
>>>>> lib/Makefile.am:8:   to 'configure.ac' and run 'aclocal' and 'autoconf'
>>>>> again.
>>>>> lib/Makefile.am:8:   If 'LT_INIT' is in 'configure.ac', make sure
>>>>> lib/Makefile.am:8:   its definition is in aclocal's search path.
>>>>> --- Failed to build dune-common ---
>>>>>
>>>>> =================================================================
>>>>>
>>>>> This is a new machine I am setting up
>>>>>
>>>>> Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
>>>>>
>>>>> using the new GCC compiler
>>>>>
>>>>> gcc -v
>>>>> Using built-in specs.
>>>>> COLLECT_GCC=gcc
>>>>> COLLECT_LTO_WRAPPER=/opt/extlib/gcc/4.9.0/gcc/4.9.0/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
>>>>> Target: x86_64-unknown-linux-gnu
>>>>> Configured with: ../gcc-4.9.0/configure
>>>>> --prefix=/opt/extlib/gcc/4.9.0/gcc/4.9.0
>>>>> --with-gmp=/opt/extlib/gmp/6.0.0/gcc/4.9.0
>>>>> --with-mpfr=/opt/extlib/mpfr/3.1.2/gcc/4.9.0
>>>>> --with-mpc=/opt/extlib/mpc/1.0.2/gcc/4.9.0
>>>>> --with-isl=/opt/extlib/isl/0.12.2/gcc/4.9.0
>>>>> --with-cloog=/opt/extlib/cloog/0.18.1/gcc/4.9.0
>>>>> Thread model: posix
>>>>> gcc version 4.9.0 (GCC)
>>>>>
>>>>> ==================================================================
>>>>>
>>>>> Can you give me some advice on what goes wrong?
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>> Aleksejs Fomins
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dune mailing list
>>>>> Dune at dune-project.org
>>>>> http://lists.dune-project.org/mailman/listinfo/dune
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dune mailing list
>>>> Dune at dune-project.org
>>>> http://lists.dune-project.org/mailman/listinfo/dune
>>>
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 534 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140710/4c194143/attachment.sig>


More information about the Dune mailing list