The CSF2 has been replaced by the CSF3 - please use that system! This documentation may be out of date. Please read the CSF3 documentation instead. To display this old CSF2 page click here. |
GNU Octave
Overview
Source code for version 3.6.4 of GNU Octave has been compiled using version 4.7.0 of the GCC compilers. Please note:
- GNU Octave includes various optional features that rely on third party software. Therefore some optional features may not be available on the CSF. If you need these features, please contact the CSF support team for advice.
- The version of GNU Octave on the CSF is suitable for serial use (i.e. single thread) use only. If you require a version that uses the experimental Octave support for OpenMP SMP multi-threading, please contact the support team.
The Octave language is similar to that used by MATLAB, most programs are easily portable from MATLAB and many can be run without modification.
Restrictions on use
Octave is distributed under the terms of the GNU General Public License.
Set up procedure
To set up your environment for Octave, enter
module load apps/gcc/octave/3.6.4
Running the application
GNU Octave should never be run on the CSF log in node.
Interactive batch job submission
For interactive use submit a job to the queue using qrsh, using Octave with the -i flag, i.e. enter
qrsh -V -l inter -l twoday octave -i
Please replace ‘twoday’ with ‘short’ if you need to use Octave for less than a hour.
Serial batch job submission
To submit a non-interactive job that runs an Octave script called hello_world.m, create a text file containing the following
#$ -cwd #$ -V octave hello_world.m
and then submit to the SGE batch system by entering
qsub sge_script
where sge_script is the name of the text file.
Further info
The GNU Octave web page can be found here.
Updates
None at present.