New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library annotations in LAPACK #719
Comments
Comment by jmattsson on 29 Mar 2012 13:57 UTC |
Comment by sjoelund.se on 29 Mar 2012 20:01 UTC
|
Comment by jmattsson on 30 Mar 2012 08:27 UTC
Not really, that is clearly a MinGW issue rather than a Windows issue. There is nothing preventing that a library file named "lapack.lib" is used on Windows, and it is not as straightforward for the user to get a separate Lapack installation on Windows. On the other hand, there is a general convention that library names are lowercase. Also, many Linux distributions has packages that installs lapack as "liblapack.a". |
Comment by sjoelund.se on 30 Mar 2012 08:54 UTC For dynamically linked objects, it is enough to link in the entry points:
I agree that, yes "Lapack" should be "lapack" as it helps with dynamically linked libraries. But Modelica tools will still need to have special rules for it, especially since there exists many different Lapack implementations. |
Comment by jmattsson on 30 Mar 2012 09:16 UTC |
Comment by sjoelund.se on 30 Mar 2012 09:22 UTC |
Comment by jmattsson on 20 Nov 2012 15:47 UTC If no one protests within a week, I'll make the change. That should give you plenty of time to make the needed update of your code. |
Changelog removed by jmattsson on 20 Nov 2012 15:47 UTC |
Comment by jmattsson on 20 Nov 2012 15:52 UTC
Ehm, I mean objects. Bad translation from Swedish. |
Comment by otter on 28 Mar 2013 13:39 UTC |
Modified by dietmarw on 28 Mar 2013 13:48 UTC |
Reported by jmattsson on 29 Mar 2012 13:54 UTC
All the external functions in Modelica.Math.Matrices.LAPACK have the annotation
Library={"Lapack"}
(orLibrary="Lapack"
). The LAPACK library is usually included using -llapack (with a lowercase "L"). To be able to locate the correct library file for the external function on Linux, it has to be in a file namedlibLapack.a
, notliblapack.a
as is usually the case.I suggest that all those annotations are changed to refer to "lapack" with a lowercase "L" to make it easier to use a Lapack implementation that is not shipped with the tool.
Migrated-From: https://trac.modelica.org/Modelica/ticket/719
The text was updated successfully, but these errors were encountered: