Octave for openSUSE: Difference between revisions

Jump to navigation Jump to search
information about images and linear algebra libraries
(Pre-compiled binaries)
 
(information about images and linear algebra libraries)
Line 9: Line 9:


  zypper ar http://download.opensuse.org/repositories/science/<openSUSE version>/ Science
  zypper ar http://download.opensuse.org/repositories/science/<openSUSE version>/ Science
zypper ref
  zypper in octave
  zypper in octave


There <openSUSE verion> is your version of openSUSE, for example {{codeline|openSUSE_13.1}}.
There <openSUSE verion> is your version of openSUSE, for example {{codeline|openSUSE_13.1}}
 
===Linear algebra libraries===
openSUSE uses reference BLAS and LAPACK implementations by default, but ATLAS is usually much faster. You can switch it by update-alternatives mechanism:
 
/usr/sbin/update-alternatives --config libblas.so.3
/usr/sbin/update-alternatives --config liblapack.so.3
 
Example:
 
  Selection    Path                            Priority  Status
------------------------------------------------------------
* 0            /usr/lib64/libblas.so.3.4.2      50        auto mode
  1            /usr/lib64/atlas/libsatlas.so.3  20        manual mode
  2            /usr/lib64/atlas/libtatlas.so.3  20        manual mode
  3            /usr/lib64/libblas.so.3.4.2      50        manual mode
 
===Image export and import===
GraphicsMagick++ library from openSUSE repositories was compiled with quantum depth 16 which limits reading and writing images to 16 bit. See more details on [[GraphicsMagick]] wiki page.
13

edits

Navigation menu