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 In Modules, how do I save my environment with a .modules file?

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
      (gauss)

    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.

  • Fill out this form to submit your issue to the UITS Support Center.
  • Please note that you must be affiliated with Indiana University to receive support.
  • All fields are required.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.

  • Fill out this form to submit your comment to the IU Knowledge Base.
  • If you are affiliated with Indiana University and need help with a computing problem, please use the I need help with a computing problem section above, or contact your campus Support Center.

Please provide your IU email address. If you currently have a problem receiving email at your IU account, enter an alternate email address.