Difference between revisions of "SAS"
Moskalenko (talk | contribs) m (Text replace - "<!--Compiler and MPI settings - OPTIONAL --> |{" to "|{") |
Moskalenko (talk | contribs) |
||
Line 21: | Line 21: | ||
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. [http://support.sas.com/documentation/onlinedoc/stat/index.html#stat93 SAS 9.3 Documentation] is vast. For research purposes the [http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#titlepage.htm 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. | 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. [http://support.sas.com/documentation/onlinedoc/stat/index.html#stat93 SAS 9.3 Documentation] is vast. For research purposes the [http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#titlepage.htm 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. | ||
− | |||
<!--Modules--> | <!--Modules--> | ||
==Required Modules== | ==Required Modules== | ||
Line 27: | Line 26: | ||
===Serial=== | ===Serial=== | ||
*{{#var:app}} | *{{#var:app}} | ||
− | {{#if: {{#var: exe}}|== | + | ==System Variables== |
+ | * HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory | ||
+ | <!--Additional--> | ||
+ | {{#if: {{#var: exe}}|==Additional Information== | ||
===Commands=== | ===Commands=== | ||
SAS has a number of options: | SAS has a number of options: | ||
Line 44: | Line 46: | ||
===Interactive Use=== | ===Interactive Use=== | ||
− | To | + | To run the graphical interface to grace (xmgrace) connect to one of the [[Test Nodes]] as explained on that page. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|}} | |}} | ||
{{#if: {{#var: conf}}|==Configuration== | {{#if: {{#var: conf}}|==Configuration== |
Revision as of 19:45, 10 August 2012
Description
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
Serial
- sas
System Variables
- HPC_{{#uppercase:sas}}_DIR - installation directory
Additional Information
Commands
SAS has a number of options:
- -nodms : This stops SAS from using its GUI capability and goes into a text only mode.
- -filelocks fail : This causes SAS to stop and print out an error when multiple sas processes try to use the same file.
- -nonews: Prevents SAS from printing a useless header to the output.
- -memsize xxxxM - specifies the total amount of memory that is available to each SAS session, and places an enforced limit on the amount of virtual memory that SAS can dynamically allocate at any one time.
- -realmemsize xxxxM - sets the recommended upper limit on working memory for procedures that can use both memory and utility disk space, such as PROC SUMMARY and PROC SORT, so that they can avoid virtual memory thrashing.
- -work $TMPDIR - the directory where SAS should store its temporary files. Using $TMPDIR will allow your program to run much faster and prevent any network-related file access issues that SAS is prone to run into.
- -sysin file : Designate a file for SAS to load as its input.
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
#!/bin/bash # #PBS -N Research #PBS -o market.out #PBS -e market.err #PBS -m abe #PBS -M <EMAIL ADDRESS> #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