[Dune-devel] Alberta support

Claus-Justus Heine Claus-Justus.Heine at IANS.Uni-Stuttgart.DE
Mon Nov 24 15:03:14 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

Am 24.11.14 um 14:00 schrieb Christoph Grüninger:
> Hi Markus, all version before the Alberta 3 release are no longer
> supported.
> 
> Probably it would be enough to check for a header that is part of 
> Alberta 3 and not of Alberta 2. Maybe there are failures for the
> release candidates of Alberta 3. Their support was dropped, too.
> 
> Or we properly check the version from the pc file. It would be best
> to rewrite the test to use pkg-config. I can try to that for CMake,
> I won't do it for autotools.

maybe some hints about possibilities to distinguish between different
Alberta versions. One possibility is

alberta.h, version 1.2:
#define ALBERTA_VERSION  "ALBERTA: Version 1.2 "

alberta.h, version 2:
#define ALBERTA_VERSION  "ALBERTA: Version 2.0"

alberta.h, version 3 (but also almost any of the pre-releases)
#define ALBERTA_MAGIC   "ALBERTA: Version "
#define ALBERTA_VERSION ALBERTA_MAGIC"2.3 "

Note that this has nothing to do with the release number of Alberta,
but tags different formats of the data files the Alberta-FEM-toolbox
dumps to disk.

Further:
libalberta_util has been renamed to libalberta_utilities for V3

In V3 there are some new header files in INCLUDE/alberta/
el_vec.h, dof_chains.h, evaluate.h

Unfortunately, the actual release number is not present in any of the
header files, and therefore it would be difficult to distinguish any
of the V3 release candidates from the final V3 release. Examining the
version number in the pc files would be an option, as Christoph
already pointed out. In this respect it would also be important
(provided one has the ambition to present useful error messages to the
person trying to install Dune) to check for the mere presence of the
pc-files which were added quite late in the series of the V3 release
candidates (after Christoph had asked for this feature).

Best,

Claus

- -- 
Dr. Claus-Justus Heine
Institut für Angewandte Analysis und Simulation
* Numerische Mathematik für Höchstleistungsrechner
Universität Stuttgart

Fon: +49 (0) 711 - 685 65558
Fax: +49 (0) 711 - 685 65507
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUczqiAAoJEAbZWiFWzP016awP/3WnEFzlBExwB4w4F75kIWY0
Z+XSMPwQmn6l3tDhuOnlYZY1wobtcA39B7EPdLs2klcGKlScevBnxSsPeSUNgHIi
g+H+JTCvXuGjPReoCReAAUEM6taUZrghs7OQwRarX9RzwksR6zwEo06Im3FZ91SH
rwrGlbmOO2SYXA6xqUWhfq0hEg4BNDg59f3jNjwmvfeYiZg9h1LcLEjBIf6qQ1L+
YfuA3jWGuiCNszPVUWxnmKgNiYpMBHvQ6GkBM9o3dFPq7tDPoEYrkffibHrPWvc6
43Q0gmxY+vHmma8zgIzhFmD65bqCUwGeDvSBByz6gvTopKKep4wmso0RLYqcx35z
MSUE5bgI3AEZf2XuDsfARmrAUNDuNHNpsyvMFYtFdcm0pn/RaOEf6M7QGTYO1tDD
ppkPP1IesJ+/jcxokDT3xQ0LdHklJZHfX6QsueWnTU1ub/dSxn9pZHxlCfQTeAq+
XPy8dJgtuWL4kL+gOhFI/xjg5fEs8LpAaVrlyhiCB/k32xM4ss6EO18AF6xfVCr/
WyUKNGDWjxyzjnHPeOn5Wn6A2/cvVGvZheSHaSPw7hSTN+VAY5xvm25H+eVXubfm
Nn4Vv8bgc7EN5UHMblznZ81YoYr0coiBHw7jgPb2zUAfokdQ1Ec3hyFvdNIn3S8t
QR9y+v14NaIgju0R18mY
=2M33
-----END PGP SIGNATURE-----




More information about the Dune-devel mailing list