Editing Octave for openSUSE
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Pre-compiled binaries == | |||
Binary packages for Octave are provided by all versions of openSUSE. These are the most well-tested binaries available and should work best for most users. | |||
zypper in octave | |||
If you want to use install latest stable version of Octave and Octave Forge packages, you can use Science repository. | |||
zypper ar http://download.opensuse.org/repositories/science/<openSUSE version>/ Science | |||
zypper ref | |||
zypper in octave | |||
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: | |||
=== Linear algebra libraries === | |||
openSUSE uses reference BLAS and LAPACK implementations by default, but ATLAS | |||
/usr/sbin/update-alternatives --config libblas.so.3 | /usr/sbin/update-alternatives --config libblas.so.3 | ||
/usr/sbin/update-alternatives --config liblapack.so.3 | /usr/sbin/update-alternatives --config liblapack.so.3 | ||
Example: | Example: | ||
Selection Path Priority Status | Selection Path Priority Status | ||
------------------------------------------------------------ | ------------------------------------------------------------ | ||
Line 46: | Line 28: | ||
2 /usr/lib64/atlas/libtatlas.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 | 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. | 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. | ||