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

Update config.yaml #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions workflow/slurm/config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
cluster:
"sbatch
--partition={resources.partition}
--cpus-per-task={threads}
--cpus-per-task={resources.threads}
--mem={resources.mem_mb}
--job-name=smk-{rule}
--gres=gpu:{resources.gpu}
--output=logs/%j" # you can update where the logs will be saved (absolute path, or relative to /.../sopa/workflow)
--time={resources.time}
--output=logs/{rule}_%j.log" # you can update where the logs will be saved (absolute path, or relative to /.../sopa/workflow)
default-resources:
- partition=shortq
- mem_mb=32000
- partition=shortq # use the partition/queue name on your cluster
- mem_mb=15000
- gpu=0
- threads=8
- time="30:00:00"
Copy link
Collaborator

@quentinblampey quentinblampey Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment: this might be something that doesn't fit well for all users (mostly the "time" line). I think this is something that the user should add if needed. Or maybe this can be added as a comment, and any user can remove the comment if needed.
WDYT?

restart-times: 0
max-jobs-per-second: 100
max-status-checks-per-second: 1
local-cores: 1
local-cores: 200
latency-wait: 60
jobs: 50
keep-going: True
Expand Down