CISER header image
Cornell University Cornell University CISER

CISER Computing

How to Run Gauss on the Research Servers

GAUSS Window Interface

The GAUSS interface consists of the Menu Bar, the Toolbar, the Edit windows, the Command Input-Output window, the Source View window, the Error Output window, and the Status bar.

Gauss interface

GAUSS Programs and Input/Output Files

GAUSS has facilities for reading and writing ASCII files.

GAUSS Programs As long as you have program files as "text only" or ASCII, you can execute the files in GAUSS.

Input/Output Files You must have the data in an ASCII file. Numbers must be separated by spaces, commas, or return.

GAUSS can stores results (output or data) in ASCII format that can be viewed and printed with any text editor. GAUSS can also store data in its own data formats (.fmt / .fst) that cannot be read with a text editor.


  • Any suffix in GAUSS programs is possible, but suffix "g" is usually used for GAUSS programs.

Editing/Creating Programs

Editing programs

To begin editing, open an edit window and do one of the following:

  • Browse to the program file by clicking the Open button on File Menu
  • Type edit and the filename in the Command Input-Output window
          Ex> 'edit {file name}' at the prompt (>>)

Creating a program file
To create a file, click the New button on the File Menu


  • It is convenient to use the 'Working directory toolbar' when your programs and data files are in the same directory. change working directory button
    Go to the Working directory toolbar, and set your working directory by clicking the 'Change working directory' button on the right, and selecting the directory where your program and data files are located.
    Output files will be saved in the working directory and you don't need to type the address of your file.

    For example, you can type 'edit gausstest.g' instead of 'edit U:\gausstest.g' when you use the edit command in the Command Input-Output window.

Running Programs

Running commands
Interactive commands can be entered at the GAUSS prompt (>>) in the Command Input-Output window.

You can run the commands simply by pressing Enter.

Running programs in files

Run a main file by using one of the following:

  • Type 'run' and the file name in the Command Input-Output window
            Ex> rungausstest.g
                (if the file is in the working directory)
  • Click Run Active File on the Run menu
  • Click the Run Active File button on the Main toolbar
    run active file button

Running selected text:
To run selected text, highlight the text you want to run and do one of the following:

  • Enter CTRL + R
  • Drag and drop the selected text into the Command Input-Output window
  • Click Run Selected Text on the Run menu

Running the file displayed in the main list:
To run the file displayed in the main list, do one of the following:

  • Click Run Main file on the Run menu
    run main file on run menu
  • Click the Run Main File button on the Main toolbar
    run main file button

Leaving GAUSS

To leave GAUSS, do one of the following:

  • Click the close button button on the top right of the window
  • Entering CTRL + Q