Changes

Jump to navigation Jump to search
83 bytes added ,  03:29, 18 September 2016
m
→‎Changing BLAS: Should not write as if all Linux workstations used apt-get
Line 176: Line 176:     
===Changing BLAS===
 
===Changing BLAS===
      
Many Octave functions are wrappers to optimized numerical libraries, notably BLAS and ATLAS. It is possible to achieve impressive performance gains by simply using a library tuned to your platform. One example is using OpenBLAS to replace the default BLAS implementation ([http://www.stat.cmu.edu/~nmv/2013/07/09/for-faster-r-use-openblas-instead-better-than-atlas-trivial-to-switch-to-on-ubuntu/ further details]).
 
Many Octave functions are wrappers to optimized numerical libraries, notably BLAS and ATLAS. It is possible to achieve impressive performance gains by simply using a library tuned to your platform. One example is using OpenBLAS to replace the default BLAS implementation ([http://www.stat.cmu.edu/~nmv/2013/07/09/for-faster-r-use-openblas-instead-better-than-atlas-trivial-to-switch-to-on-ubuntu/ further details]).
   −
On Linux, this just takes a few commands:
+
On some Linux distributions, this just takes a few commands. For instance, on Ubuntu, it usually suffices to run
   −
sudo apt-get install libopenblas-base libatlas3gf-base
+
sudo apt-get install libopenblas-base libatlas3gf-base
   −
Then run
+
followed by
   −
sudo update-alternatives --config libblas.so.3
+
sudo update-alternatives --config libblas.so.3
   −
and select the openblas option.
+
and then selecting the openblas option.

Navigation menu