Conflicting Eigen namespaces

Hi all,
I updated today my OpenGeoSys development version (for coupling with the
GEMS4R -> Reaktoro chemical solver) to the latest trunk version. It
looks like there are some changes in the way the Eigen library is used
in OGS. In any case, I have now after the upgrade a conflict in Eigen
namespaces. Rektoro, which is linked as external library, is linked
against Eigen and the header files point to one version of the Eigen
library downloaded/installed during compilation of GEMS4R/Reaktoro. OGS
has now its own - probably modified - version of Eigen in the Thirdparty
directory. Of course the two different versions give different errors
during compilation, depending which of the Eigen libraries is referenced
first via include/header files.

So the answer to the C++/developer/cmake cracks: Is there a way we can
resolve this? I guess the clean solution would be, if I can compile both
software packages against the same external version of Eigen, or?
As Reaktoro already downloads an up-to-date version of Eigen, I would
like to compile OGS against this version or a version available in
standard directories on my linux box!
CU, Georg

···

--
PD Dr. Georg Kosakowski * Laboratory for Waste Management
Paul Scherrer Institut * 5232 Villigen/PSI * Switzerland
Phone: +41-56-3104743 * Email: georg.kosakowski@psi.ch
homepage: http://www.psi.ch/les/georg-kosakowski

Dear Georg,

I'm certainly not the cmake geek here, but my best shot would be the following: you'll have to compile the latest version of eigen first, then link these to your Reaktoro code, which afterwards is included as a library during compilation of OGS, which again uses the firstly compiled eigen library.

Therefore, the question is rather to you, if you have a cmake file for Reaktoro, which you can include into the OGS cmake setup? If yes, you could easily specify one unique eigen lib.

Lars can certainly correct me or give more detailed advice.

Cheers,
Marc

- - - - - - - - - - - - - - - - - -

Marc Walther
Hydrologist
JProf Dr. rer. nat.

Helmholtz Centre for Environmental Research - UFZ
Department of Environmental Informatics
Permoserstraße 15, 04318 Leipzig, Germany

Technische Universität Dresden
Faculty of Environmental Sciences
Department of Hydrosciences
Institute for Groundwater Management
01062 Dresden

Visiting Address UFZ
Permoserstraße 15, 04318 Leipzig
Building 7.2, Room E110

Visiting Address TUD
Bergstr. 66, 01069 Dresden
Neubau Chemie 2. Bauabschnitt, CHE-BA2, Room E60

Phone +49 341 235 10 54
Fax +49 341 235 19 39
Mobile +49 178 334 18 19

Email marc.walther@ufz.de
Web http:/​/​www​.​ufz​.​de
Personal http:/​/​www​.​ufz​.​de/​index​.​php​?​en=​32239
ResGate http:/​/​www​.​researchgate​.​net/​profile/​Marc_Walther

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Registered Office: Leipzig
Registration Office: Amtsgericht Leipzig
Trade Register Nr. B 4703
Chairman of the Supervisory Board: MinR Wilfried Kraus
Scientific Director: Prof. Dr. Georg Teutsch
Administrative Director: Dr. Heike Graßmann

- - - - - - - - - - - - - - - - - -

···

Sent from my mobile device, please excuse spelling mistakes.

On February 2, 2016 4:07:52 PM Georg Kosakowski <georg.kosakowski@psi.ch> wrote:

Hi all,
I updated today my OpenGeoSys development version (for coupling with the
GEMS4R -> Reaktoro chemical solver) to the latest trunk version. It
looks like there are some changes in the way the Eigen library is used
in OGS. In any case, I have now after the upgrade a conflict in Eigen
namespaces. Rektoro, which is linked as external library, is linked
against Eigen and the header files point to one version of the Eigen
library downloaded/installed during compilation of GEMS4R/Reaktoro. OGS
has now its own - probably modified - version of Eigen in the Thirdparty
directory. Of course the two different versions give different errors
during compilation, depending which of the Eigen libraries is referenced
first via include/header files.

So the answer to the C++/developer/cmake cracks: Is there a way we can
resolve this? I guess the clean solution would be, if I can compile both
software packages against the same external version of Eigen, or?
As Reaktoro already downloads an up-to-date version of Eigen, I would
like to compile OGS against this version or a version available in
standard directories on my linux box!
CU, Georg

--
PD Dr. Georg Kosakowski * Laboratory for Waste Management
Paul Scherrer Institut * 5232 Villigen/PSI * Switzerland
Phone: +41-56-3104743 * Email: georg.kosakowski@psi.ch
homepage: Georg Kosakowski | LES | Paul Scherrer Institut (PSI)

--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout\.

Hi Georg,

Eigen (3.0.7) is included since https://svn.ufz.de/ogs/changeset/13664

I had a look on Reaktoro too. The problem is that neither OGS nor Reaktoro provide a way to use an external eigen library (e.g. via find_package()). As a quick solution you can try to replace the contents of the ThirdParty/Eigen-folder with the recent version (3.2.5) from Reaktoro (see https://github.com/bilke/ogs5/tree/eigen-3.2.5\). At least it builds out of the box.

Best,
Lars

···

Am 02.02.2016 um 16:07 schrieb Georg Kosakowski <georg.kosakowski@psi.ch>:

Hi all,
I updated today my OpenGeoSys development version (for coupling with the
GEMS4R -> Reaktoro chemical solver) to the latest trunk version. It
looks like there are some changes in the way the Eigen library is used
in OGS. In any case, I have now after the upgrade a conflict in Eigen
namespaces. Rektoro, which is linked as external library, is linked
against Eigen and the header files point to one version of the Eigen
library downloaded/installed during compilation of GEMS4R/Reaktoro. OGS
has now its own - probably modified - version of Eigen in the Thirdparty
directory. Of course the two different versions give different errors
during compilation, depending which of the Eigen libraries is referenced
first via include/header files.

So the answer to the C++/developer/cmake cracks: Is there a way we can
resolve this? I guess the clean solution would be, if I can compile both
software packages against the same external version of Eigen, or?
As Reaktoro already downloads an up-to-date version of Eigen, I would
like to compile OGS against this version or a version available in
standard directories on my linux box!
CU, Georg

--
PD Dr. Georg Kosakowski * Laboratory for Waste Management
Paul Scherrer Institut * 5232 Villigen/PSI * Switzerland
Phone: +41-56-3104743 * Email: georg.kosakowski@psi.ch
homepage: Georg Kosakowski | LES | Paul Scherrer Institut (PSI)

--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout\.

Hi Lars,
thanks! That is what I think I will do as workaround :wink:
But on the long term one should think on changing this (in both packages).
Greetings, Georg

···

On 02/03/2016 09:04 AM, Lars Bilke wrote:

Hi Georg,

Eigen (3.0.7) is included since https://svn.ufz.de/ogs/changeset/13664

I had a look on Reaktoro too. The problem is that neither OGS nor Reaktoro provide a way to use an external eigen library (e.g. via find_package()). As a quick solution you can try to replace the contents of the ThirdParty/Eigen-folder with the recent version (3.2.5) from Reaktoro (see https://github.com/bilke/ogs5/tree/eigen-3.2.5\). At least it builds out of the box.

Best,
Lars

Am 02.02.2016 um 16:07 schrieb Georg Kosakowski <georg.kosakowski@psi.ch>:

Hi all,
I updated today my OpenGeoSys development version (for coupling with the
GEMS4R -> Reaktoro chemical solver) to the latest trunk version. It
looks like there are some changes in the way the Eigen library is used
in OGS. In any case, I have now after the upgrade a conflict in Eigen
namespaces. Rektoro, which is linked as external library, is linked
against Eigen and the header files point to one version of the Eigen
library downloaded/installed during compilation of GEMS4R/Reaktoro. OGS
has now its own - probably modified - version of Eigen in the Thirdparty
directory. Of course the two different versions give different errors
during compilation, depending which of the Eigen libraries is referenced
first via include/header files.

So the answer to the C++/developer/cmake cracks: Is there a way we can
resolve this? I guess the clean solution would be, if I can compile both
software packages against the same external version of Eigen, or?
As Reaktoro already downloads an up-to-date version of Eigen, I would
like to compile OGS against this version or a version available in
standard directories on my linux box!
CU, Georg

--
PD Dr. Georg Kosakowski * Laboratory for Waste Management
Paul Scherrer Institut * 5232 Villigen/PSI * Switzerland
Phone: +41-56-3104743 * Email: georg.kosakowski@psi.ch
homepage: Georg Kosakowski | LES | Paul Scherrer Institut (PSI)

--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout\.

--
PD Dr. Georg Kosakowski * Laboratory for Waste Management
Paul Scherrer Institut * 5232 Villigen/PSI * Switzerland
Phone: +41-56-3104743 * Email: georg.kosakowski@psi.ch
homepage: Georg Kosakowski | LES | Paul Scherrer Institut (PSI)

Strange... I answered long time ago, but the message is only popping up now... Sorry, folks!

- - - - - - - - - - - - - - - - - -

Marc Walther
Hydrologist
JProf Dr. rer. nat.

Helmholtz Centre for Environmental Research - UFZ
Department of Environmental Informatics
Permoserstraße 15, 04318 Leipzig, Germany

Technische Universität Dresden
Faculty of Environmental Sciences
Department of Hydrosciences
Institute for Groundwater Management
01062 Dresden

Visiting Address UFZ
Permoserstraße 15, 04318 Leipzig
Building 7.2, Room E110

Visiting Address TUD
Bergstr. 66, 01069 Dresden
Neubau Chemie 2. Bauabschnitt, CHE-BA2, Room E60

Phone +49 341 235 10 54
Fax +49 341 235 19 39
Mobile +49 178 334 18 19

Email marc.walther@ufz.de
Web http:/​/​www​.​ufz​.​de
Personal http:/​/​www​.​ufz​.​de/​index​.​php​?​en=​32239
ResGate http:/​/​www​.​researchgate​.​net/​profile/​Marc_Walther

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Registered Office: Leipzig
Registration Office: Amtsgericht Leipzig
Trade Register Nr. B 4703
Chairman of the Supervisory Board: MinR Wilfried Kraus
Scientific Director: Prof. Dr. Georg Teutsch
Administrative Director: Dr. Heike Graßmann

- - - - - - - - - - - - - - - - - -

···

Sent from my mobile device, please excuse spelling mistakes.

On February 5, 2016 4:40:01 PM Marc Walther <marc.walther@ufz.de> wrote:

Dear Georg,

I'm certainly not the cmake geek here, but my best shot would be the
following: you'll have to compile the latest version of eigen first, then
link these to your Reaktoro code, which afterwards is included as a library
during compilation of OGS, which again uses the firstly compiled eigen library.

Therefore, the question is rather to you, if you have a cmake file for
Reaktoro, which you can include into the OGS cmake setup? If yes, you could
easily specify one unique eigen lib.

Lars can certainly correct me or give more detailed advice.

Cheers,
Marc

- - - - - - - - - - - - - - - - - -

Sent from my mobile device, please excuse spelling mistakes.

Marc Walther
Hydrologist
JProf Dr. rer. nat.

Helmholtz Centre for Environmental Research - UFZ
Department of Environmental Informatics
Permoserstraße 15, 04318 Leipzig, Germany

Technische Universität Dresden
Faculty of Environmental Sciences
Department of Hydrosciences
Institute for Groundwater Management
01062 Dresden

Visiting Address UFZ
Permoserstraße 15, 04318 Leipzig
Building 7.2, Room E110

Visiting Address TUD
Bergstr. 66, 01069 Dresden
Neubau Chemie 2. Bauabschnitt, CHE-BA2, Room E60

Phone +49 341 235 10 54
Fax +49 341 235 19 39
Mobile +49 178 334 18 19

Email marc.walther@ufz.de
Web http:/​/​www​.​ufz​.​de
Personal http:/​/​www​.​ufz​.​de/​index​.​php​?​en=​32239
ResGate http:/​/​www​.​researchgate​.​net/​profile/​Marc_Walther

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Registered Office: Leipzig
Registration Office: Amtsgericht Leipzig
Trade Register Nr. B 4703
Chairman of the Supervisory Board: MinR Wilfried Kraus
Scientific Director: Prof. Dr. Georg Teutsch
Administrative Director: Dr. Heike Graßmann

- - - - - - - - - - - - - - - - - -

On February 2, 2016 4:07:52 PM Georg Kosakowski <georg.kosakowski@psi.ch> > wrote:

Hi all,
I updated today my OpenGeoSys development version (for coupling with the
GEMS4R -> Reaktoro chemical solver) to the latest trunk version. It
looks like there are some changes in the way the Eigen library is used
in OGS. In any case, I have now after the upgrade a conflict in Eigen
namespaces. Rektoro, which is linked as external library, is linked
against Eigen and the header files point to one version of the Eigen
library downloaded/installed during compilation of GEMS4R/Reaktoro. OGS
has now its own - probably modified - version of Eigen in the Thirdparty
directory. Of course the two different versions give different errors
during compilation, depending which of the Eigen libraries is referenced
first via include/header files.

So the answer to the C++/developer/cmake cracks: Is there a way we can
resolve this? I guess the clean solution would be, if I can compile both
software packages against the same external version of Eigen, or?
As Reaktoro already downloads an up-to-date version of Eigen, I would
like to compile OGS against this version or a version available in
standard directories on my linux box!
CU, Georg

--
PD Dr. Georg Kosakowski * Laboratory for Waste Management
Paul Scherrer Institut * 5232 Villigen/PSI * Switzerland
Phone: +41-56-3104743 * Email: georg.kosakowski@psi.ch
homepage: Georg Kosakowski | LES | Paul Scherrer Institut (PSI)

--
You received this message because you are subscribed to the Google Groups
"ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout\.

--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout\.

Marc, strangely Google thought your email could be spam and stopped it. They informed it to me today because I am a moderator of the mailing list. I added your email address to the white list so you email will never be held from now.

Regards,
Norihiro Watanabe

···

--
Sorry for a short message and any spelling errors. Sent from my mobile phone.

On 5 Feb 2016 18:42 +0100, Marc Walther<marc.walther@ufz.de>, wrote:

Strange... I answered long time ago, but the message is only popping up
now... Sorry, folks!

- - - - - - - - - - - - - - - - - -

Sent from my mobile device, please excuse spelling mistakes.

Marc Walther
Hydrologist
JProf Dr. rer. nat.

Helmholtz Centre for Environmental Research - UFZ
Department of Environmental Informatics
Permoserstraße 15,04318Leipzig, Germany

Technische Universität Dresden
Faculty of Environmental Sciences
Department of Hydrosciences
Institute for Groundwater Management
01062Dresden

Visiting Address UFZ
Permoserstraße 15,04318Leipzig
Building 7.2, Room E110

Visiting Address TUD
Bergstr. 66,01069Dresden
Neubau Chemie 2. Bauabschnitt, CHE-BA2, Room E60

Phone+49 341 235 10 54
Fax+49 341 235 19 39
Mobile+49 178 334 18 19

Emailmarc.walther@ufz.de
Webhttp:/​/​www​.​ufz​.​de
Personalhttp:/​/​www​.​ufz​.​de/​index​.​php​?​en=​32239
ResGatehttp:/​/​www​.​researchgate​.​net/​profile/​Marc_Walther

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Registered Office: Leipzig
Registration Office: Amtsgericht Leipzig
Trade Register Nr. B 4703
Chairman of the Supervisory Board: MinR Wilfried Kraus
Scientific Director: Prof. Dr. Georg Teutsch
Administrative Director: Dr. Heike Graßmann

- - - - - - - - - - - - - - - - - -

On February 5, 2016 4:40:01 PM Marc Walther<marc.walther@ufz.de>wrote:

>
> Dear Georg,
>
> I'm certainly not the cmake geek here, but my best shot would be the
> following: you'll have to compile the latest version of eigen first, then
> link these to your Reaktoro code, which afterwards is included as a library
> during compilation of OGS, which again uses the firstly compiled eigen library.
>
> Therefore, the question is rather to you, if you have a cmake file for
> Reaktoro, which you can include into the OGS cmake setup? If yes, you could
> easily specify one unique eigen lib.
>
> Lars can certainly correct me or give more detailed advice.
>
> Cheers,
> Marc
>
>
> - - - - - - - - - - - - - - - - - -
>
> Sent from my mobile device, please excuse spelling mistakes.
>
>
> Marc Walther
> Hydrologist
> JProf Dr. rer. nat.
>
> Helmholtz Centre for Environmental Research - UFZ
> Department of Environmental Informatics
> Permoserstraße 15,04318Leipzig, Germany
>
> Technische Universität Dresden
> Faculty of Environmental Sciences
> Department of Hydrosciences
> Institute for Groundwater Management
> 01062Dresden
>
> Visiting Address UFZ
> Permoserstraße 15,04318Leipzig
> Building 7.2, Room E110
>
> Visiting Address TUD
> Bergstr. 66,01069Dresden
> Neubau Chemie 2. Bauabschnitt, CHE-BA2, Room E60
>
> Phone+49 341 235 10 54
> Fax+49 341 235 19 39
> Mobile+49 178 334 18 19
>
> Emailmarc.walther@ufz.de
> Webhttp:/​/​www​.​ufz​.​de
> Personalhttp:/​/​www​.​ufz​.​de/​index​.​php​?​en=​32239
> ResGatehttp:/​/​www​.​researchgate​.​net/​profile/​Marc_Walther
>
> Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
> Registered Office: Leipzig
> Registration Office: Amtsgericht Leipzig
> Trade Register Nr. B 4703
> Chairman of the Supervisory Board: MinR Wilfried Kraus
> Scientific Director: Prof. Dr. Georg Teutsch
> Administrative Director: Dr. Heike Graßmann
>
> - - - - - - - - - - - - - - - - - -
>
>
>
>
>
> On February 2, 2016 4:07:52 PM Georg Kosakowski<georg.kosakowski@psi.ch > > wrote:
>
> > Hi all,
> > I updated today my OpenGeoSys development version (for coupling with the
> > GEMS4R ->Reaktoro chemical solver) to the latest trunk version. It
> > looks like there are some changes in the way the Eigen library is used
> > in OGS. In any case, I have now after the upgrade a conflict in Eigen
> > namespaces. Rektoro, which is linked as external library, is linked
> > against Eigen and the header files point to one version of the Eigen
> > library downloaded/installed during compilation of GEMS4R/Reaktoro. OGS
> > has now its own - probably modified - version of Eigen in the Thirdparty
> > directory. Of course the two different versions give different errors
> > during compilation, depending which of the Eigen libraries is referenced
> > first via include/header files.
> >
> > So the answer to the C++/developer/cmake cracks: Is there a way we can
> > resolve this? I guess the clean solution would be, if I can compile both
> > software packages against the same external version of Eigen, or?
> > As Reaktoro already downloads an up-to-date version of Eigen, I would
> > like to compile OGS against this version or a version available in
> > standard directories on my linux box!
> > CU, Georg
> >
> >
> >
> > --
> > PD Dr. Georg Kosakowski * Laboratory for Waste Management
> > Paul Scherrer Institut * 5232 Villigen/PSI * Switzerland
> > Phone: +41-56-3104743 * Email: georg.kosakowski@psi.ch
> > homepage: Georg Kosakowski | LES | Paul Scherrer Institut (PSI)
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ogs-devs" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to ogs-devs+unsubscribe@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout\.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "ogs-devs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ogs-devs+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout\.

--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout\.

OK, thanks!

- - - - - - - - - - - - - - - - - -

Marc Walther
Hydrologist
JProf Dr. rer. nat.

Helmholtz Centre for Environmental Research - UFZ
Department of Environmental Informatics
Permoserstraße 15, 04318 Leipzig, Germany

Technische Universität Dresden
Faculty of Environmental Sciences
Department of Hydrosciences
Institute for Groundwater Management
01062 Dresden

Visiting Address UFZ
Permoserstraße 15, 04318 Leipzig
Building 7.2, Room E110

Visiting Address TUD
Bergstr. 66, 01069 Dresden
Neubau Chemie 2. Bauabschnitt, CHE-BA2, Room E60

Phone +49 341 235 10 54
Fax +49 341 235 19 39
Mobile +49 178 334 18 19

Email marc.walther@ufz.de
Web http:/​/​www​.​ufz​.​de
Personal http:/​/​www​.​ufz​.​de/​index​.​php​?​en=​32239
ResGate http:/​/​www​.​researchgate​.​net/​profile/​Marc_Walther

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Registered Office: Leipzig
Registration Office: Amtsgericht Leipzig
Trade Register Nr. B 4703
Chairman of the Supervisory Board: MinR Wilfried Kraus
Scientific Director: Prof. Dr. Georg Teutsch
Administrative Director: Dr. Heike Graßmann

- - - - - - - - - - - - - - - - - -

···

Sent from my mobile device, please excuse spelling mistakes.

On February 5, 2016 7:58:18 PM norihiro.watanabe@ufz.de wrote:

Marc, strangely Google thought your email could be spam and stopped it. They informed it to me today because I am a moderator of the mailing list. I added your email address to the white list so you email will never be held from now.

Regards,
Norihiro Watanabe
--
Sorry for a short message and any spelling errors. Sent from my mobile phone.

On 5 Feb 2016 18:42 +0100, Marc Walther<marc.walther@ufz.de>, wrote:

Strange... I answered long time ago, but the message is only popping up
now... Sorry, folks!

- - - - - - - - - - - - - - - - - -

Sent from my mobile device, please excuse spelling mistakes.

Marc Walther
Hydrologist
JProf Dr. rer. nat.

Helmholtz Centre for Environmental Research - UFZ
Department of Environmental Informatics
Permoserstraße 15,04318Leipzig, Germany

Technische Universität Dresden
Faculty of Environmental Sciences
Department of Hydrosciences
Institute for Groundwater Management
01062Dresden

Visiting Address UFZ
Permoserstraße 15,04318Leipzig
Building 7.2, Room E110

Visiting Address TUD
Bergstr. 66,01069Dresden
Neubau Chemie 2. Bauabschnitt, CHE-BA2, Room E60

Phone+49 341 235 10 54
Fax+49 341 235 19 39
Mobile+49 178 334 18 19

Emailmarc.walther@ufz.de
Webhttp:/​/​www​.​ufz​.​de
Personalhttp:/​/​www​.​ufz​.​de/​index​.​php​?​en=​32239
ResGatehttp:/​/​www​.​researchgate​.​net/​profile/​Marc_Walther

Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
Registered Office: Leipzig
Registration Office: Amtsgericht Leipzig
Trade Register Nr. B 4703
Chairman of the Supervisory Board: MinR Wilfried Kraus
Scientific Director: Prof. Dr. Georg Teutsch
Administrative Director: Dr. Heike Graßmann

- - - - - - - - - - - - - - - - - -

On February 5, 2016 4:40:01 PM Marc Walther<marc.walther@ufz.de>wrote:

>
> Dear Georg,
>
> I'm certainly not the cmake geek here, but my best shot would be the
> following: you'll have to compile the latest version of eigen first, then
> link these to your Reaktoro code, which afterwards is included as a library
> during compilation of OGS, which again uses the firstly compiled eigen library.
>
> Therefore, the question is rather to you, if you have a cmake file for
> Reaktoro, which you can include into the OGS cmake setup? If yes, you could
> easily specify one unique eigen lib.
>
> Lars can certainly correct me or give more detailed advice.
>
> Cheers,
> Marc
>
> - - - - - - - - - - - - - - - - - -
>
> Sent from my mobile device, please excuse spelling mistakes.
>
> Marc Walther
> Hydrologist
> JProf Dr. rer. nat.
>
> Helmholtz Centre for Environmental Research - UFZ
> Department of Environmental Informatics
> Permoserstraße 15,04318Leipzig, Germany
>
> Technische Universität Dresden
> Faculty of Environmental Sciences
> Department of Hydrosciences
> Institute for Groundwater Management
> 01062Dresden
>
> Visiting Address UFZ
> Permoserstraße 15,04318Leipzig
> Building 7.2, Room E110
>
> Visiting Address TUD
> Bergstr. 66,01069Dresden
> Neubau Chemie 2. Bauabschnitt, CHE-BA2, Room E60
>
> Phone+49 341 235 10 54
> Fax+49 341 235 19 39
> Mobile+49 178 334 18 19
>
> Emailmarc.walther@ufz.de
> Webhttp:/​/​www​.​ufz​.​de
> Personalhttp:/​/​www​.​ufz​.​de/​index​.​php​?​en=​32239
> ResGatehttp:/​/​www​.​researchgate​.​net/​profile/​Marc_Walther
>
> Helmholtz-Zentrum für Umweltforschung GmbH - UFZ
> Registered Office: Leipzig
> Registration Office: Amtsgericht Leipzig
> Trade Register Nr. B 4703
> Chairman of the Supervisory Board: MinR Wilfried Kraus
> Scientific Director: Prof. Dr. Georg Teutsch
> Administrative Director: Dr. Heike Graßmann
>
> - - - - - - - - - - - - - - - - - -
>
> On February 2, 2016 4:07:52 PM Georg Kosakowski<georg.kosakowski@psi.ch >> > wrote:
>
> > Hi all,
> > I updated today my OpenGeoSys development version (for coupling with the
> > GEMS4R ->Reaktoro chemical solver) to the latest trunk version. It
> > looks like there are some changes in the way the Eigen library is used
> > in OGS. In any case, I have now after the upgrade a conflict in Eigen
> > namespaces. Rektoro, which is linked as external library, is linked
> > against Eigen and the header files point to one version of the Eigen
> > library downloaded/installed during compilation of GEMS4R/Reaktoro. OGS
> > has now its own - probably modified - version of Eigen in the Thirdparty
> > directory. Of course the two different versions give different errors
> > during compilation, depending which of the Eigen libraries is referenced
> > first via include/header files.
> >
> > So the answer to the C++/developer/cmake cracks: Is there a way we can
> > resolve this? I guess the clean solution would be, if I can compile both
> > software packages against the same external version of Eigen, or?
> > As Reaktoro already downloads an up-to-date version of Eigen, I would
> > like to compile OGS against this version or a version available in
> > standard directories on my linux box!
> > CU, Georg
> >
> > --
> > PD Dr. Georg Kosakowski * Laboratory for Waste Management
> > Paul Scherrer Institut * 5232 Villigen/PSI * Switzerland
> > Phone: +41-56-3104743 * Email: georg.kosakowski@psi.ch
> > homepage: Georg Kosakowski | LES | Paul Scherrer Institut (PSI)
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ogs-devs" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to ogs-devs+unsubscribe@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout\.
>
> --
> You received this message because you are subscribed to the Google Groups
> "ogs-devs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ogs-devs+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout\.

--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout\.

--
You received this message because you are subscribed to the Google Groups "ogs-devs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogs-devs+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout\.