Skip to content
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

Installation documentation wording #7

Open
lojic opened this issue Oct 28, 2021 · 1 comment
Open

Installation documentation wording #7

lojic opened this issue Oct 28, 2021 · 1 comment

Comments

@lojic
Copy link

lojic commented Oct 28, 2021

In section "3 Installation":

I think it would be good to remove "so" in this sentence: "On Linux you need copies of CBLAS and LAPACK. Since BLAS and LAPACK exists in multiple versions, so a little care is needed." Alternatively, remove Since from the beginning.

The sentence "First on most systems libblas is used for the Fortran version, and libcblas, so get the latter." seems to be missing something, should it be "and libcblas is used for the C version" ?

Lastly, apt search lapack shows a ton of libraries on my Ubuntu Linux system, and it's not clear from the docs whether I want the static or shared version. Here are some possible candidates. I'm guessing the last one is right, since it seems to be the only C version.

liblapack-dev/bionic 3.7.1-4ubuntu1 amd64
Library of linear algebra routines 3 - static version

liblapack3/bionic 3.7.1-4ubuntu1 amd64
Library of linear algebra routines 3 - shared version

liblapacke/bionic 3.7.1-4ubuntu1 amd64
Library of linear algebra routines 3 - C lib shared version

@lojic
Copy link
Author

lojic commented Oct 28, 2021

Hmm... I just noticed the following in section "4.20 LAPACK Bindings":

"LAPACK is a Fortran library, so the calling conventions are sligthly different than usual."

This makes me wonder about the proper linux package to install - maybe it's the middle one above i.e.

liblapack3/bionic 3.7.1-4ubuntu1 amd64
Library of linear algebra routines 3 - shared version

Also, minor typo in the quoted sentence above, "sligthly" should be "slightly" :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant