Indiana University
University Information Technology Services
  
What are archived documents?

At IU, how do I access GAUSS from the Unix environment?

Note: UITS will retire Libra in spring 2009. Accounts are available on Quarry, a general-purpose Unix computing environment. For more, see About the Libra retirement.

At Indiana University, GAUSS is available on the Libra Cluster. At IU Bloomington, GAUSS is also available for Windows in the UITS Student Technology Centers (STCs).

To use GAUSS in the Unix environment, you need to have an account on the Libra Cluster. If you don't already have such an account, see What computing accounts are available at IU?

Once you have an account on the Libra Cluster, you need to add a few command lines to your .profile or .login file in the root directory of your account on that system.

If you are on the Libra Cluster (which uses IBM AIX) and use the ksh shell, add the following lines to your .profile file:

NODE=`uname -n` GAUSSHOME=/statapps/gauss LSHOST=$NODE export GAUSSHOME LSHOST

If you use csh or tcsh on the Libra Cluster, add the following lines to your .login file:

set NODE = 'uname -n' setenv GAUSSHOME /statapps/gauss setenv LSHOST $NODE

Using GAUSS

On the Libra Cluster, you can use GAUSS in interactive, non-interactive, or batch mode. To access GAUSS interactively in terminal mode, at the system prompt, enter the command:

gauss -v

To end an interactive GAUSS session, at the prompt, enter:

quit

Non-interactive mode executes a GAUSS command file from a GAUSS session. At the GAUSS prompt, enter:

run filename

Replace filename with the name of the file containing GAUSS commands.

To run your job in background mode, use the  -B  flag, as follows:

gauss -B inputfile > outputfile &

Replace inputfile with the GAUSS command filename, and outputfile with the name of the output file you wish to create.

Submitting batch jobs to IBM LoadLeveler on the Libra Cluster

If you are using the Libra Cluster to run GAUSS, you need to submit CPU-intensive GAUSS jobs (i.e., those requiring more than 20 minutes of CPU time) via IBM's LoadLeveler batch queuing system.

To submit a GAUSS job to LoadLeveler, create a script file containing the following lines:

#@ initaldir=/dirname #@ error=errorfile #@ queue gauss -B inputfile > outputfile

Replace dirname with the name of the directory where the command file is stored; replace errorfile with the name of a file for storing the standard error messages; replace inputfile with the name of a GAUSS command file; replace outputfile with the name of the file for storing the output.

To submit the job, at the system prompt, enter:

llsubmit filename

Replace filename with the name given to the script file you created.

For more information on batch jobs on the Libra Cluster, see Using LoadLeveler on Libra at IU.

GAUSS documentation

At IUB, GAUSS documentation is available for reference at the Business/SPEA Library, Swain Library, and the UITS Stat/Math Center. You can find more information from Aptech Systems.

For more information about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.

Also see:

This is document aftx in domain all.
Last modified on November 07, 2008.
Please tell us, did you find the answer to your question?