Commit 4fddea95 authored by Kevin's avatar Kevin

made slurm jobs adapt to required threads

parent 4dbc3c7d
......@@ -4,7 +4,6 @@
"account" : "MRC-BSU-SL2-GPU",
"time" : "06:00:00",
"n" : 1,
"ncpu" : 5,
"partition" : "bsu-gpu"
}
}
#!/bin/bash
# single input: snakemake target
nohup snakemake $1 --use-singularity -j 99 --cluster-config cluster.json --cluster "sbatch -A {cluster.account} -p {cluster.partition} -n {cluster.n} -c {cluster.ncpu} -t {cluster.time}" &
nohup snakemake $1 --use-singularity -j 99 --cluster-config cluster.json --cluster "sbatch -A {cluster.account} -p {cluster.partition} -n {cluster.n} -c {threads} -t {cluster.time}" &
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment