Jobscript
Below is a sample SLURM script that uses SAS:
#!/bin/bash
#
#SBATCH --name=sas_job
#SBATCH --output=sas_%j.out
#SBATCH --mail-type=END,FAIL #Only email summary and failure reports
#SBATCH --mail-user=your_email_address # Where to send mail
#SBATCH --ntasks=1 # Run a single task
#SBATCH --cpus-per-task=1 # Run on a single cpu
# --can change this for more cores
#SBATCH --mem=1gb # Memory limit
#SBATCH --time=01:00:00 # Run for up to one hour
date;hostname;pwd
module load sas
sas -memsize 1024M -nodms -nonews -work $TMPDIR -filelocks none -sysin sas.inp