mllg / batchtools

Tools for computation on batch systems
https://mllg.github.io/batchtools/
GNU Lesser General Public License v3.0
172 stars 51 forks source link

Add support for `partition` in slurm template #118

Closed nsheff closed 7 years ago

nsheff commented 7 years ago

This PR is an idea to enable a user to easily adjust the partition they submit to on a slurm cluster. On my cluster, you can't leave partition blank.

I can just use my own templates, I know, but thought you might find this useful. If no partition variable is provided in the resources list, it doesn't change anything.