Skip to content

Commit 9964ecf

Browse files
authored
fix: set spia mem_mb to 32G and threads to 32 (#154)
`spia` uses a lot of memory, and we have observed above 20G of memory usage. To be safe, we reserve a bit more. The cores we set to a power of 2, as that will often align with the number of cores available on machines. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Adjusted resource allocation for the enrichment workflow to use fewer threads and set a specific memory limit. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent ce8c025 commit 9964ecf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

workflow/rules/enrichment.smk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ rule spia:
2222
enrichment_env
2323
log:
2424
"logs/tables/pathways/{model}.spia-pathways.log",
25-
threads: 38
25+
threads: 32
26+
resources:
27+
mem_mb=32000,
2628
script:
2729
"../scripts/spia.R"
2830

0 commit comments

Comments
 (0)