Installing ALBERTA for DUNE
ALBERTA is an Adaptive multiLevel finite element toolbox using Bisectioning refinement and Error control by Residual Techniques for scientific Applications.
More recent releases and nightly builds can be found here.
DUNE offers an abstraction to the ALBERTA grid manager through the AlbertaGrid class.
- Debian: The package is called libalberta-dev and is part of Jessie, Sid and Wheezy-backports.
- openSuse: The Science repository provides a Alberta 3.0.1 package.
Compilation and Installation
ALBERTA has a standard AutoTools build system.
Unpack the tarball and enter the main directory
Build the ALBERTA make system
./configure --prefix=my_favourite_alberta_installation_path --disable-fem-toolbox
- –prefix determines the absolute path of the directory we install to.
- –disable-fem-toolbox disables the FEM toolbox which is not used in DUNE.
Using the variables CC and CXX, you can tell configure what C and C++ compiler to use. These have to be the same compilers and linkers you will use to compile DUNE.
More information and additional options can be found in the configure script’s help, displayed by
Compile and install ALBERTA with
CMAKE_FLAGS+=" -DCMAKE_PREFIX_PATH=my_favourite_alberta_installation_path "
as a CMake option for dune-grid.