手动安装
sudo rm -rf /usr/local/lib/python2.7/site-packages/numpy/ sudo rm -rf /usr/local/lib/python2.7/site-packages/numpy-*.egg* sudo rm -rf /usr/local/bin/f2py pip安装
sudo rm -rf /usr/local/lib/python2.7/dist-packages/numpy/ sudo rm -rf /usr/local/lib/python2.7/dist-packages/numpy-*.egg* sudo rm -rf /usr/local/bin/f2py
export BLAS=~/.local/lib/libopenblas.a export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/.local/lib/
30down voteaccepted |
I just compiled
There seems to be a noticeable improvement in performance for higher thread counts. However, I haven‘t tested this very systematically, and it‘s likely that for smaller matrices the additional overhead would outweigh the performance benefit from a higher thread count.
|
||||||||||||||||||||
|
时间: 2024-11-15 10:49:12