Skip to content

Commit

Permalink
greater complexity to profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Oct 2, 2020
1 parent 85d1661 commit 1636f8e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions profiles/gh-actions/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# resources
cores : "2"
default-resources: [cpus=1, mem_mb=2000, time_min=60]
resources: [cpus=2, mem_mb=6000, load=100]

# system config
restart-times: 1
latency-wait: 60
use-conda: True
conda-frontend: mamba
rerun-incomplete: True
printshellcmds: False

# Slack integration
log-handler-script: workflow/scripts/slack_log.py
18 changes: 18 additions & 0 deletions profiles/graham/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# resources
cores : "4"
default-resources: [cpus=1, mem_mb=2000, time_min=60]
resources: [cpus=4, mem_mb=4000, load=100]

# system config
restart-times: 1
latency-wait: 60
use-conda: True
conda-frontend: mamba
rerun-incomplete: True
printshellcmds: False

# system paths
shadow-prefix: /home/keaton/projects/def-briang/keaton/plague-phylogeography

# Slack integration
log-handler-script: workflow/scripts/slack_log.py

# slurm execution
cluster: "sbatch -p normal -t {resources.time_min} --mem={resources.mem_mb} -c {resources.cpus} -o {resources.shadow_prefix}/workflow/logs_slurm/{rule}_{wildcards} -e {resources.shadow_prefix}/workflow/logs_slurm/{rule}_{wildcards}"

0 comments on commit 1636f8e

Please sign in to comment.