Octave
GNU Octave is a high-level language, primarily intended for numerical computations.
It provides a convenient command line interface for solving linear and nonlinear problems numerically,
and for performing other numerical experiments using a language that is mostly compatible with Matlab.
It may also be used as a batch-oriented language.
Octave has extensive tools for solving common numerical linear algebra problems, finding the roots of nonlinear equations, integrating ordinary functions, manipulating
polynomials, and integrating ordinary differential and differential-algebraic equations.
It is easily extensible and customizable via user-defined functions written in Octave's own language, or using dynamically loaded modules written in C++, C, Fortran, or other languages.
Locally downloaded packages are available at http://ftp.cc.iitk.ac.in/Linux/Octave/octave-pkg/
The simplest way to compile the octave package is:
- Go to the directory containing the package's source code and type './configure' to configure the package for your system.
$ ./configure
Running 'configure' might take a while. While running, it prints some messages telling which features it is checking for.
Then compile the package. Optionally, type 'make check' to run any self-tests that come with the package.
$ make
$ make check
Type 'make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the 'make install' phase executed with root privileges.
#make install
- Following additional package may be needed while using the centos7 distribution (along with EPEL).
$ yum install qhull-devel hdf5-devel fftw-devel fftw fftw-libs fftw-libs-long glpk-devel suitesparse-devel arpack-devel qt-devel ibXcursor-devel libXi-devel libXinerama-devel libXrandr-devel libXv-devel qscintilla gl2ps-devel gl-manpages libXdamage-devel libXext-devel libXfixes-devel libXxf86vm-devel libdrm-devel libxshmfence-devel mesa-libGL-devel mesa-libGL-devel mesa-libGLU-devel
While compiling octave package following additional packages in centos7 may help to resolve the warning issue.
- configure: WARNING: Qhull library not found. This will result in loss of functionality of some geometry functions.