Revision as of 19:45, 10 August 2012 by Moskalenko (talk | contribs)
Jump to navigation Jump to search


sas website  

SAS is a commercial integrated system for statistical analysis, data mining, and graphics as well as many enterprise oriented additional features. SAS cost and the breadth of SAS features means that both a significant monetary investment and a substantial time investment are required to master it. SAS 9.3 Documentation is vast. For research purposes the SAS 9.3 User's Guide is a thorough reference for the functions and procedures you may need to do the statistical analysis using SAS.

Required Modules

modules documentation


  • sas

System Variables

  • HPC_{{#uppercase:sas}}_DIR - installation directory

Additional Information


SAS has a number of options:

Batch Submission

To do a batch submission of a SAS script use the -sysin command line option and write all of your SAS commands in a file. In this way you can submit jobs to the batch queue system to run your jobs on the cluster.

-work directory

SAS is a mature product with a long history behind it. In a modern high-performance environment it means that additional actions need to be taken to mitigate potential issues stemming from SASs focus on filesystem I/O instead of using memory.

Interactive Use

To run the graphical interface to grace (xmgrace) connect to one of the Test Nodes as explained on that page.

PBS Script Examples

Sample Job Script

#PBS -N Research
#PBS -o market.out
#PBS -e market.err
#PBS -m abe
#PBS -l nodes=1:ppn=1
#PBS -l pmem=1gb
#PBS -l walltime=01:00:00

module load sas
cd /scratch/hpc/USERNAME

sas -memsize 1024M -nodms -nonews -work $TMPDIR -filelocks none -sysin sas.inp