This is a Snakemake profile for running on AWS ParallelCluster with the Slurm scheduler. It is heavily based on John Blischak's smk-simple-slurm profile and as such this repository uses the same license.
Default ParallelCluster Slurm installations have two peculiarities that make them differ from most other Slurm installations:
- The
--memargument tosbatchis not supported, and if used sends nodes into theDRAINEDstate. - The
sacctaccounting system is not installed by default.
This profile accomodates these peculiarities.
Given a workflow my-workflow, copy the aws-parallelcluster-slurm directory to my-workflow/profiles.
Make sure the status-scontrol.sh script is executable, and in config.yamlchange the parameter partition
in section default-resources to the name of a queue in your cluster.
From my-workflow, execute Snakemake as snakemake --profile profiles/aws-parallelcluster-slurm.