[Opm] Library dependency in building OPM

Arne Morten Kvarving Arne.Morten.Kvarving at sintef.no
Thu Jul 22 08:02:10 UTC 2021


Problem is likely missing openblas-devel. Do you have /usr/lib64/libopenblas.so.x.y?
________________________________
From: Opm <opm-bounces at opm-project.org> on behalf of Markus Blatt <markus.blatt at opm-op.com>
Sent: Thursday, July 22, 2021 8:59:57 AM
To: LEI TING <leiting73 at 126.com>
Cc: opm at opm-project.org <opm at opm-project.org>
Subject: Re: [Opm] Library dependency in building OPM

Hi,

On Wed, Jul 21, 2021 at 11:53:25PM +0800, LEI TING wrote:
>I'm building OPM 2021.04 in CentOS 7.4 on a remote server. When building the module opm-simulator, in the file CMakeFiles/ebos.dir/build.make, it says: bin/ebos: /usr/lib64/libopenblas.so. And in the file link.txt, it has the line -lopenblas. And many other files have the same pattern.
>Because the server doesn't have libopenblas.so in the folder /usr/lib64, I have to put this file in my home directory. But the make will only link with /usr/lib64/libopenblas.so.

I am a bit puzzeled. If you execute cmake on your remote server, it sure never find libraries that are not there. What is CMake telling your and what exactly are your doing?

Have run CMake elsewhere and copied stuff. Have you copied libraries needed from somewhere else?

>I'm new to the cmake system, could anyone tell me how to change the cmake file so that it will link the libopenblas.so from my home directory?

Please don't even think about this. It will not work.

Markus
--

Markus Blatt
CTO @ OPM-OP AS, Heyerdahlsvei 12b, 0777 Oslo, Norway
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-op.com%2F&data=04%7C01%7Carne.morten.kvarving%40sintef.no%7C6acde92ba4b44e1f8c9208d94cde52c0%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637625340028896605%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=O48PRvVJS8uRqsDSrCCRVVjLf%2FCow%2FJqZbgjp1O89qI%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=04%7C01%7Carne.morten.kvarving%40sintef.no%7C6acde92ba4b44e1f8c9208d94cde52c0%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637625340028896605%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hxvq4k0VRXSg0r%2B0iZYL9XWOUdoS6qBhp9w4Fr5rqGs%3D&reserved=0


More information about the Opm mailing list