[Opm] Compiling OPM

Lezin Galibert Lezin.Galibert at petricore.com
Wed Feb 12 14:41:00 UTC 2020


I finished rebuilding everything and I am still getting the same error.
Also, to be more accurate, I am on the branch release/2019.10 of opm-
common, grid and upscaling.

On Wed, 2020-02-12 at 13:37 +0000, Arne Morten Kvarving wrote:
> did you rebuild dune after installing umfpack ?
> Fra: Opm <opm-bounces at opm-project.org> på vegne av Lezin Galibert <
> Lezin.Galibert at petricore.com>
> Sendt: onsdag 12. februar 2020 14:34
> Til: Arne Morten Kvarving <Arne.Morten.Kvarving at sintef.no>;
> opm at opm-project.org <opm at opm-project.org>
> Emne: Re: [Opm] Compiling OPM
>
> Thank you for your swift reply.
>
> The error occurs in the opm/elasticity/elasticity_preconditioners.hpp
> (line 45) where the system checks if SuperLU or UMFPACK is enable:
>
>    #if defined(HAVE_UMFPACK)
>    typedef Dune::UMFPack<Matrix> LUSolver;
>    #elif defined(HAVE_SUPERLU)
>    typedef Dune::SuperLU<Matrix> LUSolver;
>    #else
>    static_assert(false, "Enable either SuperLU or UMFPACK");
>    #endif
> The message I get is "error: static assertion failed: Enable either
> SuperLU or UMFPACK".
>
> I compiled all the dependencies (dune & opm packages) from scratch
> after cloning the git repo. Dune is at version 2.6.0 and I am trying
> to
> install the latest version of OPM from master branches.
>
> I am running on Red Hat 4.8.5-39.
>
> Lezin
>
> On Wed, 2020-02-12 at 10:28 +0000, Arne Morten Kvarving wrote:
> > Hi there,
> >
> > nobody can help you based on the lack of information you provide.
> At
> > the very least show the error message. How did you install the
> > dependencies? What is your distribution? What version of OPM are
> you
> > trying to build? How did you install suitesparse?
> > Fra: Opm <opm-bounces at opm-project.org> på vegne av Lezin Galibert <
> > Lezin.Galibert at petricore.com>
> > Sendt: onsdag 12. februar 2020 11:15
> > Til: opm at opm-project.org <opm at opm-project.org>
> > Emne: [Opm] Compiling OPM
> >
> > Hello,
> >
> > I am having some troubles compiling OPM-UPSCALING as the compiler
> > does
> > not seem to be able to find SuperLU or UMFPACK. I just reinstalled
> > UMFPACK (along with the suitsparse libraries) but it did not change
> > anything. All the libraries that were necessary for compiling OPM-
> > UPSCALING compiled fine (dune packages, opm-
> > common/material/istl/etc.),
> > but I am hitting a brick wall on this one...
> >
> > Has anyone encountered this problem before? Any insight on how to
> get
> > it to (finally) compile? :)
> >
> > Cheers,
> > Lezin
> >
> >
> *********************************************************************
> > *************************************
> > IMPORTANT NOTICE
> >
> > The information in this e-mail and any files transmitted is the
> > property of PETRICORE and is intended only for the person or entity
> > to which it is addressed and may contain confidential and/or
> > privileged material. Any review, retransmission, dissemination or
> > other use of, or taking of any action in reliance upon, this
> > information by persons or entities other than the intended
> recipient
> > is prohibited. If you received this in error, please notify the
> > sender immediately and delete the material from any computer.
> > _______________________________________________
> > 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%7Carne.morten.kvarving%40sintef.no%7C3e79ac269df044d504bd08d7afc08697%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C1%7C637171113731300631&sdata=DTB3Xb7ql0P%2FAt7dqC%2B9XCQwKuvcDHzq2Qf64sgs8U8%3D&reserved=0
>
> *********************************************************************
> *************************************
> IMPORTANT NOTICE
>
> The information in this e-mail and any files transmitted is the
> property of PETRICORE and is intended only for the person or entity
> to which it is addressed and may contain confidential and/or
> privileged material. Any review, retransmission, dissemination or
> other use of, or taking of any action in reliance upon, this
> information by persons or entities other than the intended recipient
> is prohibited. If you received this in error, please notify the
> sender immediately and delete the material from any computer.
> _______________________________________________
> 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%7Carne.morten.kvarving%40sintef.no%7C3e79ac269df044d504bd08d7afc08697%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C1%7C637171113731300631&sdata=DTB3Xb7ql0P%2FAt7dqC%2B9XCQwKuvcDHzq2Qf64sgs8U8%3D&reserved=0

**********************************************************************************************************
IMPORTANT NOTICE

The information in this e-mail and any files transmitted is the property of PETRICORE and is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please notify the sender immediately and delete the material from any computer.


More information about the Opm mailing list