Openblas: Which directory path is BLAS and LAPACK installed on?

Created on 17 Mar 2017  路  1Comment  路  Source: xianyi/OpenBLAS

I am trying find which directory path BLAS and LAPACK are installed on in Ubuntu 16.04.

I tried:

$ type libblas-dev
bash: type: libblas-dev: not found

Then:

$ apt-cache policy libblas-dev
libblas-dev:
  Installed: 3.6.0-2ubuntu2
  Candidate: 3.6.0-2ubuntu2
  Version table:
 *** 3.6.0-2ubuntu2 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

But the last code doesn't show where it is installed. Can anyone help with this?

The same is the case with LAPACK:

$ type liblapack3
bash: type: liblapack3: not found

and

$ apt-cache policy liblapack3
liblapack3:
  Installed: 3.6.0-2ubuntu2
  Candidate: 3.6.0-2ubuntu2
  Version table:
 *** 3.6.0-2ubuntu2 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

The command $ dpkg -L liblapack3 gives:

/.
/usr
/usr/lib
/usr/lib/lapack
/usr/lib/lapack/liblapack.so.3.6.0
/usr/share
/usr/share/doc
/usr/share/doc/liblapack3
/usr/share/doc/liblapack3/copyright
/usr/share/doc/liblapack3/testing_results.txt.gz
/usr/share/doc/liblapack3/README.gz
/usr/lib/lapack/liblapack.so.3
/usr/share/doc/liblapack3/changelog.Debian.gz

But how do I know where the executable file is ? i.e. the install directory.

Most helpful comment

On Ubuntu try sudo update-alternatives --list libblas.so.3
(Not sure which "executable file" you are looking for when the package is "only" a library ?)

>All comments

On Ubuntu try sudo update-alternatives --list libblas.so.3
(Not sure which "executable file" you are looking for when the package is "only" a library ?)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jakirkham picture jakirkham  路  16Comments

ali7569392725 picture ali7569392725  路  10Comments

rgommers picture rgommers  路  12Comments

boegel picture boegel  路  5Comments

conradsnicta picture conradsnicta  路  3Comments