At IU, how do I use GAUSS on Karst?

At Indiana University, GAUSS is available on the Karst cluster. To use GAUSS on Karst, add the GAUSS package to your shell environment using the following command:

  module load gauss

To make permanent changes to your environment, edit your ~/.modules file. For more, see Use a .modules file in your home directory to save your user environment on an IU research supercomputer.

On Karst, you can access GAUSS both interactively and non-interactively:

  • Interactive mode: To run GAUSS interactively, at the command prompt, enter:
      [username@q0142 ~]$ tgauss

    Then, at the (gauss) prompt, enter your commands, one per line. To execute matrix addition, for example, enter:

      (gauss) a={1 2, 3 4}
      (gauss) b={5 6, 7 8}
      (gauss) a+b

    The above lines produce the following output and return you to the (gauss) prompt:

             6.0000000        8.0000000
             10.000000        12.000000

    To end the session, at the (gauss) prompt, enter:

      (gauss) quit
  • Non-interactive mode: To run a GAUSS job non-interactively, at the command prompt, enter the following (replace program.e with your GAUSS program's filename and program.out with an appropriate output filename):
      tgauss -b program.e > program.out

    After the job has executed, its output file (program.out) will be located in your default directory.

If you have questions about using statistical and mathematical software at Indiana University, contact Research Analytics. Research Analytics is located on the IU Bloomington campus at Woodburn Hall 200; staff are available for consultation Monday-Friday 9am-noon and by appointment.

This is document azgb in the Knowledge Base.
Last modified on 2015-05-20 00:00:00.

Contact us

For help or to comment, email the UITS Support Center.