how to compile lapack so that it can be used correctly during installation of octave?

后端 未结 2 1057
野趣味
野趣味 2021-01-02 15:23

I\'m trying to install the latest octave 3.8.1 from source in a cluster running redhat+IBM LSF. I don\'t have write access to anywhere else except my own home dir, that\'s w

2条回答
  •  长情又很酷
    2021-01-02 15:42

    I would suggest using OpenBLAS.

    > git clone https://github.com/xianyi/OpenBLAS.git
    > make
    > make make --PREFIX=INSTALL_DIR install
    

    move the librabries from OpenBLAS to /usr/lib64

    > cp /path/to/OpenBLAS/lib/* /usr/lib64/
    

    then go to the octave installation path and run

    > "your specific flags" ./configure "your specific arguments" --with-blas="-lopenblas"
    

提交回复
热议问题