[Opm] Dependencies revisited
Alf Birger Rustad
abir at equinor.com
Tue Jan 28 09:29:16 UTC 2020
Good point, but do we really want to support three generations of Ubuntu LTS? Personally, I think that is too much.
Cheers,
Alf
-----Original Message-----
From: Opm <opm-bounces at opm-project.org> On Behalf Of Atgeirr Rasmussen
Sent: tirsdag 28. januar 2020 10:00
To: opm at opm-project.org
Subject: Re: [Opm] Dependencies revisited
Despite what I initially wrote (that I want to increase the requirements), if we turn away potential users by this, that would be a good reason to NOT bump the requirements.
Arne Morten's message implies that we can still provide binary packages for new releases (i.e. 2020.04 and 2020.10 etc.) for Ubuntu back to 16.04.
But does that still hold if we also increase compiler requirements to gcc 8.3? If not, perhaps we should only increase the Dune version for now?
Atgeirr
________________________________
Frå: Opm <opm-bounces at opm-project.org> på vegne av Arne Morten Kvarving <Arne.Morten.Kvarving at sintef.no>
Sendt: tysdag 28. januar 2020 09:49
Til: Bård Skaflestad <Bard.Skaflestad at sintef.no>; Joakim Hove <joakim.hove at gmail.com>; opm at opm-project.org <opm at opm-project.org>
Emne: Re: [Opm] Dependencies revisited
Personally I don't think Boost.Test is worth replacing, but getting rid of filesystem and regex is certainly worthwhile.
As for dune, the ppa provides 2.6 for 18.04 and 16.04 already so it does not have a big impact for ubuntu builds.
________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av Bård Skaflestad <Bard.Skaflestad at sintef.no>
Sendt: tirsdag 28. januar 2020 09:47
Til: Joakim Hove <joakim.hove at gmail.com>; opm at opm-project.org <opm at opm-project.org>
Emne: Re: [Opm] Dependencies revisited
In addition to the Boost.Spirit component that Joakim mentions there's also the practical issue that almost all of our unit tests target Boost.Test as a framework. For instance, the header <boost/test/unit_test.hpp> is included 193 times across the OPM code base. If we're going to replace that with another framework--Google Test might be an alternative--it is going to require some work to rewrite the tests.
That said, raising the minimum C++ language version to C++17 will allow us to replace most of our other usage of Boost; notably regular expressions and Boost.Filesystem.
Regards,
Bård Skaflestad
SINTEF Digital, Mathematics & Cybernetics Computational Geosciences group
-----Original Message-----
From: Opm <opm-bounces at opm-project.org> On Behalf Of Joakim Hove
Sent: Tuesday, January 28, 2020 9:37 AM
To: opm at opm-project.org
Subject: Re: [Opm] Dependencies revisited
Another recurring issue is Boost. If we jump to Debian Buster and Ubuntu
> 19.04, this entails that we can bump minimum version of GCC to 8.3.0.
> Is this sufficient to consider removing Boost as a dependency?
>
The parser uses boost spirit::qi which at some stage proved to give a performance gain for plain parsing of numerical input, i.e. "3.14" -> 3.14.
It is simple to replace with std varieties, but there might be a performance hit.
J
_______________________________________________
Opm mailing list
Opm at opm-project.org
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-project.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopm&data=02%7C01%7CAtgeirr.Rasmussen%40sintef.no%7C1aeafb8b5f144010a71608d7a3cf29b6%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C1%7C637157982456984812&sdata=OHHap3wmEu2yStSfQJzLeFozGTa2DXKgm8vi%2Fk1vkvY%3D&reserved=0
_______________________________________________
Opm mailing list
Opm at opm-project.org
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-project.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopm&data=02%7C01%7CAtgeirr.Rasmussen%40sintef.no%7C1aeafb8b5f144010a71608d7a3cf29b6%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C1%7C637157982456984812&sdata=OHHap3wmEu2yStSfQJzLeFozGTa2DXKgm8vi%2Fk1vkvY%3D&reserved=0
_______________________________________________
Opm mailing list
Opm at opm-project.org
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-project.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopm&data=02%7C01%7CAtgeirr.Rasmussen%40sintef.no%7C1aeafb8b5f144010a71608d7a3cf29b6%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C1%7C637157982456984812&sdata=OHHap3wmEu2yStSfQJzLeFozGTa2DXKgm8vi%2Fk1vkvY%3D&reserved=0
_______________________________________________
Opm mailing list
Opm at opm-project.org
https://opm-project.org/cgi-bin/mailman/listinfo/opm
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorized use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
More information about the Opm
mailing list