Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snakemake and Slurm #110

Open
mweberr opened this issue Feb 21, 2023 · 1 comment
Open

Snakemake and Slurm #110

mweberr opened this issue Feb 21, 2023 · 1 comment

Comments

@mweberr
Copy link

mweberr commented Feb 21, 2023

Hi all,
I need some advice to load my Snakemake pipeline onto a Slurm-managed computing resource.

  1. How to add the following parameters to the profile from sbatch ?
    sbatch -p target -c 30 --mem=3G --time=12:00:00
    The Snakemake-Profiles generated config.yaml does not contain any information about partitions and memory. I presume it is the default-resources but I cannot find the relevant information in the documentation.

  2. How to call Snakemake with slurm?
    Is it still necessay to call Snakemake --slurm in addition to --profile slurm ?

Thank you for all help!

@mbhall88
Copy link
Member

mbhall88 commented Feb 21, 2023

  1. Are you saying you want -p target -c 30 --mem=3G --time=12:00:00 to be the default for every rule in your pipeline?
  2. No, you would generally use one or the other as they're kind of doing much the same thing (not quite the same though)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants