Is it possible to switch between BLAS libraries without recompiling program?

前端 未结 3 2077
无人及你
无人及你 2020-12-31 10:30

For example can I have Atlas, OpenBlas, MKL installed on my Ubuntu 14.04 at the same time and switch between them without recompiling Caffe?

3条回答
  •  再見小時候
    2020-12-31 10:30

    Sure, you have to have them installed, and on Ubuntu/Debian issue command

    update-alternatives --config libblas.so.3
    

    You'll get numbered list of alternatives and could switch between them easily

    Link: https://wiki.debian.org/DebianScience/LinearAlgebraLibraries

提交回复
热议问题