Updated 2020-04-07

Run Octave Interactively on the Cluster

Overview

  • Running Octave interactively is very similar to any other interactive program. The steps are as follows:
    • Set up VNC session
    • Load Octave from terminal (within VNC Session)
    • Run Octave (again from terminal)

Screenshot

Set up Interactive (VNC) Session

  • Please see the VNC guide for instructions on how to set up the Interactive VNC session

Load and Start Octave on VNC

  • Open terminal in the vnc window by clicking top left Applications > System Tools > scroll down to terminal
  • all commands here on will be typed in terminal in VNC
module avail octave  #see what versions are available
module load octave  #load default version
octave  #launch interactive gui

Screenshot

Run an Octave Script in Interactive Mode

  • Simply type the script name without the .m file type, and add a semicolon ;

Screenshot