Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Due to the nature of SAS and old library dependencies, SAS can only run in a containerized environment through single compute node job submissions and does not support multi-node submissions.

Using SAS on the cluster

...

Then submit the script by:

Code Block
 sbatch sasMP.sh

Multithreaded GUI job

To submit a job that uses 10 computational threads on one node, create a submission script sasMPGPU.sh:

Code Block
#!/bin/bash
#SBATCH --nodes=1
#SBATCH --ntasks=10
#SBATCH --partition=general-gpu
#SBATCH --output=outputfile.txt
#SBATCH --error=outputfile.txt
#SBATCH --gres=gpu:1

module load apptainer
apptainer exec --nv --unsquash -H $HOME:/home -B /gpfs/sharedfs1/admin/hpc2.0/apps/sas/9.4:/gpfs/sharedfs1/admin/hpc2.0/apps/sas/9.4 SAS.sif /gpfs/sharedfs1/admin/hpc2.0/apps/sas/9.4/SASFoundation/9.4/sas myprog.sas

Then submit the script by:

Code Block
 sbatch sasMPGPU.sh

GUI/Interactive SAS use with SLURM

...