[Opm] Issues installing OPM upscaling module

Alf Birger Rustad abir at equinor.com
Tue Feb 15 15:51:26 UTC 2022


Hi Alun,

The easiest for you is to install opm-upscaling from packages, similarly as you install Flow. There are afaik no improvements to that repository since the packages was made.

To answer your question, no, you do not need to uninstall anything. The build system in OPM is designed specifically to make it easy for system installation, and compiled from source versions, to co-exist. You simply need to download all opm-modules (up to the one you are interested in) side by side, and compile them in the order they depend on eachother. They will automatically link to the neighbouring folder rather than trying to link to the installed versions.

Good luck!
Alf
________________________________
Fra: Opm <opm-bounces at opm-project.org> på vegne av Alun Griffiths <Alun.Griffiths at rockhopperexploration.co.uk>
Sendt: tirsdag 15. februar 2022 10:17
Til: opm at opm-project.org <opm at opm-project.org>
Kopi: Bård Skaflestad <Bard.Skaflestad at sintef.no>
Emne: Re: [Opm] Issues installing OPM upscaling module

[Some people who received this message don't often get email from alun.griffiths at rockhopperexploration.co.uk. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.]

Hi

Not to worry - I just thought I had done something dumb!

I already installed opm-flow (and checked it runs ...).   Some further questions:
1. Do I need to uninstall opm-flow (presumably with sudo apt-get remove libopm-simulators-bin) and then rebuild OPM?
2. If so, do I need to be in any particular directory when I build OPM from scratch?

Sorry for the questions but this is the first time I have had to actually install anything manually on Linux

Best regards

Alun Griffiths

-----Original Message-----
From: Bård Skaflestad <Bard.Skaflestad at sintef.no>
Sent: 02 February 2022 15:33
To: Alun Griffiths <Alun.Griffiths at rockhopperexploration.co.uk>; opm at opm-project.org
Subject: RE: Issues installing OPM upscaling module

Hi,

We apologise deeply for misleading you with our Wiki page.  Those build instructions are, by now, many years out of date as have switched to using CMake and no longer use the "autoconf" approach.  Please review

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-project.org%2F%3Fpage_id%3D231&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7LsHRbzYEDq4zwDVgA0Zd8z080scnJT8psav1npXgb8%3D&reserved=0

for the current instructions to build the package from source code.  I will discuss the outdated Wiki page with my fellow OPM developers.

Please don't hesitate to ask if you have any further questions.


Best Regards,

Bård Skaflestad (OPM Developer)
SINTEF Digital, Mathematics & Cybernetics Computational Geosciences group

-----Original Message-----
From: Opm <opm-bounces at opm-project.org> On Behalf Of Alun Griffiths
Sent: Wednesday, February 2, 2022 4:21 PM
To: opm at opm-project.org
Subject: [Opm] Issues installing OPM upscaling module

Hi

I am trying to install the OPM upscaling module using the instructions here:

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.opm-project.org%2Findex.php%3Ftitle%3DBuild_Description&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=XegoPignnB7HN9Y3UM6kzl1mOC8p3rvl0OzKfHSV%2B%2Fw%3D&reserved=0

I have installed the required packages (including autoconf) but when I type

  autoreconf -i

I get the following error message:

  autoreconf: 'configure.ac' or configure.in' is required.

I ignored this and typed

./configure

but got this error message

bash: ./configure: No such file or directory

I then tried following the instructions here:

https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-project.org%2F%3Fpage_id%3D405%26page%3D3&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7mnJKePtSSDLwFzdWEzuTLq9FXsn48mtfrXozGP5aNQ%3D&reserved=0

However, when I type

upscale_singlephase

I get this error message:

upscale_singlephase: command not found.

I am guessing that this is all to do with the system not being configured properly but have no clue how to fix this so would appreciate any suggestions you might have

Many thanks!

Alun Griffiths



[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2Fsignatures%2Fimages%2Fspacer.png&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3EPeRby0rA8%2FwYG0rzEJiFcbRkkw10q1Nqtk1Lz19Xo%3D&reserved=0]
[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2Fsignatures%2Fimages%2Fspacer.png&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3EPeRby0rA8%2FwYG0rzEJiFcbRkkw10q1Nqtk1Lz19Xo%3D&reserved=0]
[Rockhopper Exploration plc]<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2F&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=S3x7WGzSxxXq1fJg722tHhMCTQA4S4UYknTQy7AGnBM%3D&reserved=0>        [https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2Fsignatures%2Fimages%2Fspacer.png&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3EPeRby0rA8%2FwYG0rzEJiFcbRkkw10q1Nqtk1Lz19Xo%3D&reserved=0]

Rockhopper Exploration plc
Warner House
123 Castle Street
Salisbury
SP1 3TB

[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2Fsignatures%2Fimages%2Fspacer.png&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3EPeRby0rA8%2FwYG0rzEJiFcbRkkw10q1Nqtk1Lz19Xo%3D&reserved=0]

Tel: +44(0) 1722 414419
Fax: +44 (0) 203 325 1954

Website:
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rockhopperexploration.co.uk%2F&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=B4P8GTEVnlNjFlJX9B4rylrKwT1%2FfQ%2FasoKtnzU5S%2Fg%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2F&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=S3x7WGzSxxXq1fJg722tHhMCTQA4S4UYknTQy7AGnBM%3D&reserved=0>

[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2Fsignatures%2Fimages%2Fspacer.png&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3EPeRby0rA8%2FwYG0rzEJiFcbRkkw10q1Nqtk1Lz19Xo%3D&reserved=0]
[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2Fsignatures%2Fimages%2Fspacer.png&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971664936%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3EPeRby0rA8%2FwYG0rzEJiFcbRkkw10q1Nqtk1Lz19Xo%3D&reserved=0]

Incorporated and Registered in England and Wales with registered no. 5250250

[https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frockhopperexploration.co.uk%2Fsignatures%2Fimages%2Fspacer.png&data=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971821165%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=IA58ymYvmXarnmwiByZ2Qnsuhf6xZl327B%2Bdhw3WvoA%3D&reserved=0]

This electronic mail message, including any attachments is a confidential communication exclusively between Rockhopper Exploration plc and the intended recipient)s), indicated as the addressee(s). It contains information that is private and may be proprietary or covered by legal professional privilege. If you receive this message in any form and you are not the intended recipient you must not review, use, disclose or disseminate it. We would be grateful if you could contact the sender upon receipt and in any event you should destroy this message without delay. Anything contained in this message that is not connected with the business of Rockhopper Exploration plc is neither endorsed by nor is the liability of this company.
_______________________________________________
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=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971821165%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ftYu5mr54V5%2F8BrtEgAUbJ%2BbXY4%2FxGlfYrAzLZOqebk%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=04%7C01%7Cabir%40equinor.com%7Cd7c1dc80a4bc4673894808d9f0640b04%7C3aa4a235b6e248d591957fcf05b459b0%7C0%7C0%7C637805135971821165%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ftYu5mr54V5%2F8BrtEgAUbJ%2BbXY4%2FxGlfYrAzLZOqebk%3D&reserved=0


-------------------------------------------------------------------
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