-----Original Message-----
From: opm-boun...@opm-project.org [mailto:opm-boun...@opm-project.org] On 
Behalf Of Bård Skaflestad
Sent: 10. oktober 2013 13:29
To: Andreas Lauser
Cc: opm@opm-project.org
Subject: Re: [OPM] Umfpack runtime dependendy is problematic


>On a whim, I tried to set up a static-only build of opm-core just now by 
>putting "-static" in the CMAKE_CXX_FLAGS (and CMAKE_C_FLAGS for that matter).  
>I'm quite probably doing something wrong, however, because despite the fact 
>that I have a "liblapack.a" file (in /usr/lib), I got the diagnostic message 
>below.  This is on Ubuntu 10.04 LTS, CMake 2.8.0, and GCC 4.4.3.

Generally speaking, I support dynamic linking where libs are available (which 
includes blas and lapack). Simply because I believe it is less error prone 
since it is the standard modulo of operandi for GNU/Linux distributions (I do 
agree on that Arne Morten). We encountered a similar situation a while back on 
a seismic application where it turned out that statically linking of atlas and 
cblas was broken on Debian. Ref. https://github.com/CRAVA/crava/pull/22

Cheers,
Alf

-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised 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
_______________________________________________
Opm mailing list
Opm@opm-project.org
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to