Problem is likely missing openblas-devel. Do you have 
/usr/lib64/libopenblas.so.x.y?
________________________________
From: Opm <[email protected]> on behalf of Markus Blatt 
<[email protected]>
Sent: Thursday, July 22, 2021 8:59:57 AM
To: LEI TING <[email protected]>
Cc: [email protected] <[email protected]>
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&amp;data=04%7C01%7Carne.morten.kvarving%40sintef.no%7C6acde92ba4b44e1f8c9208d94cde52c0%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637625340028896605%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=O48PRvVJS8uRqsDSrCCRVVjLf%2FCow%2FJqZbgjp1O89qI%3D&amp;reserved=0
 | +4916097590858
_______________________________________________
Opm mailing list
[email protected]
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopm-project.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fopm&amp;data=04%7C01%7Carne.morten.kvarving%40sintef.no%7C6acde92ba4b44e1f8c9208d94cde52c0%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637625340028896605%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hxvq4k0VRXSg0r%2B0iZYL9XWOUdoS6qBhp9w4Fr5rqGs%3D&amp;reserved=0
_______________________________________________
Opm mailing list
[email protected]
https://opm-project.org/cgi-bin/mailman/listinfo/opm

Reply via email to