[Opm] Could OPM2022.04 build with GCC8.3?
Arne Morten Kvarving
Arne.Morten.Kvarving at sintef.no
Thu Aug 4 06:50:04 UTC 2022
Hi,
while gcc8 should work in theory it is no longer tested anywhere. So for the least resistance I would suggest using devtoolset-9. That being said, those errors are unlikely to be caused by compiler version. Post the full log (including cmake output) and we might be able to help.
arnem
________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av Markus Blatt <markus.blatt at opm-op.com>
Sendt: torsdag 4. august 2022 08:46
Til: opm at opm-project.org <opm at opm-project.org>
Emne: Re: [Opm] Could OPM2022.04 build with GCC8.3?
Hi Lei,
Am Tue, Aug 02, 2022 at 06:03:15PM +0800 schrieb LEI TING:
>I'm working on CentOS7.3. I could build opm2021.10 with gcc8.3. But when I try to build opm2022.04, it shows many error messages like:
>... is used but never defined [-fpermissive]
>when building the opm-simulators module.
>I think gcc 8.3 supports C++17. Should I add some switches?
>Or should I use gcc9?
>Thanks very much.
Well, I cannot give you a definitive answer, here. As g++8.3 is rather old
and probably nobody of us uses such an old version, I might be very likely be
that we broke support for it. Have you tried gcc9?
Maybe our Redhat expert Arne Morton has more insight.
Generally it would help to have some more information about the error messages.
The one you provided is not the real problem.
HTH,
Markus
>
>
>
>
>
>
>
>--
>
> Lei Ting
>
>_______________________________________________
>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=05%7C01%7Carne.morten.kvarving%40sintef.no%7Cd2b1fc5cd7f64f7d7a7d08da75e51d47%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637951924584059995%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FP6oaLl8pIblTukNYTdp33uIvYBRmx2lmtp9xMduocg%3D&reserved=0
--
Markus Blatt
CEO @ OPM-OP AS, Heyerdahlsvei 12b, 0777 Oslo, Norway
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-op.com%2F&data=05%7C01%7Carne.morten.kvarving%40sintef.no%7Cd2b1fc5cd7f64f7d7a7d08da75e51d47%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637951924584059995%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QljdMRlz8b0%2FnWD9eMhRRw75%2BCowQchorWyTlY4v7%2Bk%3D&reserved=0 | +4916097590858
_______________________________________________
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=05%7C01%7Carne.morten.kvarving%40sintef.no%7Cd2b1fc5cd7f64f7d7a7d08da75e51d47%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637951924584059995%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2FP6oaLl8pIblTukNYTdp33uIvYBRmx2lmtp9xMduocg%3D&reserved=0
More information about the Opm
mailing list