Snakemake-Profiles / slurm

Cookiecutter for snakemake slurm profile
MIT License
126 stars 44 forks source link

Adjust resource requirement if they superseed partition configuration #11

Closed percyfal closed 6 years ago

percyfal commented 6 years ago

With the attempt parameter, it is possible to adjust resource allocations. However, this can lead to the adverse side effect of requesting too much memory or too much time according to the SLURM partition configuration, and the job submission fails. A check for maximum requirements should be added and can be obtained by running, e.g. sinfo -p partition -O "partition,cpus,memory,time". A pull request that addresses this issue is coming shortly.