Difference between revisions of "Octave"

From CBLFS
Jump to navigationJump to search
Line 19: Line 19:
 
* [[GNUplot]]
 
* [[GNUplot]]
 
* [[HDF5]]
 
* [[HDF5]]
* [[BLAS]]
+
* [[ATLAS]]
 
* [[LAPACK]]
 
* [[LAPACK]]
 
* [[gperf]]
 
* [[gperf]]
Line 34: Line 34:
 
|<i>--without-fftw:</i> Use included fftpack instead of installed fftw.
 
|<i>--without-fftw:</i> Use included fftpack instead of installed fftw.
 
|-valign="top"
 
|-valign="top"
|<i>--with-blas=<lib>:</i> Use the BLAS library found at <lib>.
+
|<i>--with-blas=<lib>:</i> Use the ATLAS library found at <lib>.
 
|-valign="top"
 
|-valign="top"
 
|<i>--with-lapack=<lib>:</i> Use the LAPACK library found at <lib>.
 
|<i>--with-lapack=<lib>:</i> Use the LAPACK library found at <lib>.
 
|-valign="top"
 
|-valign="top"
|<i>--enable-shared:</i> Enables building the shared library.  This requires shared BLAS and LAPACK libraries if you're using them as well.
+
|<i>--enable-shared:</i> Enables building the shared library.  This requires shared ATLAS and LAPACK libraries if you're using them as well.
 
|}
 
|}
  

Revision as of 16:39, 19 March 2009

Download Source:

ftp://ftp.octave.org/pub/octave/octave-3.2.2.tar.bz2


Introduction to Octave

GNU Octave is a high-level language, primarily intended for numerical computations. It is a command line interface and solves linear and nonlinear problems numerically. Octave can be used to perform other numerical experiments using a language that is mostly compatible with Matlab.

Project Homepage: http://www.gnu.org/software/octave/

Dependencies

Optional

Configuration Information

The following are some options that you may want to pass to the configure script:

--with-f77: Use f77 to compile Fortran subroutines.
--without-hdf5: Don't use HDF5 files.
--without-fftw: Use included fftpack instead of installed fftw.
--with-blas=<lib>: Use the ATLAS library found at <lib>.
--with-lapack=<lib>: Use the LAPACK library found at <lib>.
--enable-shared: Enables building the shared library. This requires shared ATLAS and LAPACK libraries if you're using them as well.

Non-Multilib

Compile the Octave package:

./configure --prefix=/usr --libexecdir=/usr/lib --enable-static \
--enable-shared &&
make

Install Octave:

make install

Install the Octave documentation. The files in the doc/refcard directory are two-page Octave command reference cards. The others are full reference manuals.

install -v -m755 -d /usr/share/doc/octave-3.2.2/ &&
cp -v doc/refcard/*.{ps,pdf} /usr/share/doc/octave-3.2.2/ &&
cp -v doc/interpreter/*.{ps,pdf} /usr/share/doc/octave-3.2.2/ &&
cp -v doc/liboctave/*.{ps,pdf} /usr/share/doc/octave-3.2.2/

Multilib

32Bit

Compile the Octave package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --libexecdir=/usr/lib \
--enable-static --enable-shared &&
make

Install Octave:

make install &&
mv -v /usr/bin/octave{,-32}

N32

Compile the Octave package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \
--libexecdir=/usr/lib32 --enable-static --enable-shared &&
make

Install Octave:

make install &&
mv -v /usr/bin/octave{,-n32}

64Bit

Compile the Octave package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \
--libexecdir=/usr/lib64 --enable-static --enable-shared &&
make

Install Octave:

make install &&
mv -v /usr/bin/octave{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/octave

Install the Octave documentation. The files in the doc/refcard directory are two-page Octave command reference cards. The others are full reference manuals.

install -v -m755 -d /usr/share/doc/octave-3.2.2/ &&
cp -v doc/refcard/*.{ps,pdf} /usr/share/doc/octave-3.2.2/ &&
cp -v doc/interpreter/*.{ps,pdf} /usr/share/doc/octave-3.2.2/ &&
cp -v doc/liboctave/*.{ps,pdf} /usr/share/doc/octave-3.2.2/

Contents

Installed Directories: /usr/lib/octave, /usr/lib/octave/3.2.2, /usr/lib/octave/3.2.2/oct, /usr/lib/octave/3.2.2/oct/x86_64-unknown-linux-gnu, /usr/lib/octave/3.2.2/exec, /usr/lib/octave/3.2.2/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/site, /usr/lib/octave/site/exec, /usr/lib/octave/site/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/3.2.2/site, /usr/lib/octave/3.2.2/site/exec, /usr/lib/octave/3.2.2/site/exec/x86_64-unknown-linux-gnu, /usr/lib/octave/3.2.2/site/oct, /usr/lib/octave/3.2.2/site/oct/x86_64-unknown-linux-gnu, /usr/lib/octave/site/oct, /usr/lib/octave/site/oct/api-v13, /usr/lib/octave/site/oct/api-v13/x86_64-unknown-linux-gnu, /usr/lib/octave/site/oct/x86_64-unknown-linux-gnu, /tmp/t2d7002, /tmp/t2d7002/utils, /tmp/t2d7002/src, /tmp/t2d7002/xtr, /tmp/t2d7002/rcd, /tmp/t2d7002/bak
Installed Programs: octave-bug-3.2.2, octave-config-3.2.2, mkoctfile-3.2.2, octave-3.2.2
Installed Libraries: libcruft.a, libcruft.so, liboctave.a, liboctave.so, liboctinterp.a, liboctinterp.so
Symlinks: octave-bug, octave-config, mkoctfile, octave

Short Description

octave-bug: Creates a bug report and mails it to the bug-octave mailing list.
octave-config Reports some configuration values for Octave.
Octave The binary of interest.
Retrieved from "?title=Octave&oldid=17726"