UMBC High Performance Computing Facility
Please note that this page is under construction. We are documenting the
240-node cluster maya that will be available in Spring 2014. Currently,
the cluster tara is still available. Please see the 2013 Resources Pages
under the Resources tab.
How to run SAS programs on tara
Running SAS on the cluster is similar to running any other serial job. Make sure you've read the
tutorial for C programs
first, to understand the basics. We will not
demonstrate any parallel code here, so reading just the serial section is okay for now.
For more information about the software, see the SAS
Here is a sample script that plots homework scores versus test scores in one EPS file and test scores versus
homework scores in another EPS file.
input homework test;
filename file1 'homework-test.eps';
goptions reset=global DEVICE=pslepsfc gsfmode=replace gsfname=file1 hsize=4 vsize=3;
filename file2 'test-homework.eps';
goptions reset=global DEVICE=pslepsfc gsfmode=replace gsfname=file2 hsize=4 vsize=3;
In order to run this script on the cluster nodes, we will need a batch script
We can then run that script
[araim1@tara-fe1 plotgrades-SAS]$ slurm run.slurm
sbatch: Submitted batch job 2623
Once your job completes, it should produce several files.
[straha1@tara-fe1 plotgrades-SAS]$ ls
homework-test.eps plotgrades.log test-homework.eps
run.slurm plotgrades.sas test-homework.gif
The slurm.err and slurm.out files contain everything that your job printed to its error and output streams, respectively.
The plotgrades.log file contains detailed information about what SAS did while running your plotgrades.sas program. The
two EPS files homework-test.eps and test-homework.eps are scatter plots that your program created. They should look
something like this
except that we have converted them to GIF to display above. You can download sample output files using these links