This quick start demonstrates how to use a SAS program on HCC resources through the command line and HCC OnDemand. The sample code and submit scripts can be downloaded from HCC’s job-examples git repository.
SAS is licensed software, and SAS on HCC resources is supported under UNL system-wide SAS license. If you are part of UNL and would like to use SAS on HCC during the subscription period, please contact hcc-support@unl.edu to request access.
SAS applications can be run on HCC clusters similar to other jobs.
Connect to an HCC cluster and make a subdirectory
called sas_demo
under your $WORK
directory.
In the subdirectory sas_demo
, save the SAS code. Here, we include a single demo
programs, t_test.sas
, to perform a t-test analysis on a small data set.
Create a submit script to request one core (default) and 10 minutes run time on the supercomputer. The name of the main program is entered at the last line.
The job can be submitted through the command sbatch
. The job status
can be monitored by entering squeue
with the -u
option.
$ sbatch sas.submit
$ squeue -u <username>
Replace <username>
with your HCC username.
The results of the t-test are computed and printed to the .lst
file
On HCC OnDemand, SAS can be accessed via Jupyter Lab Notebook and dedicated SAS Interactive GUI Application, visible for researchers with valid SAS license.
Launch a Jupyter Lab Notebook session. After the Jupyter Lab Notebook session starts, select SAS
from the New
dropdown box.
shift
and enter
keys simultaneously.
Launch the Interactive App by selecting SAS
from the Interactive Apps
drop-down menu at the top of the OnDemand Dashboard page and filling in the parameters needed for your job.