pypsa-eur/snakemake_cluster

5 lines
210 B
Bash
Executable File

#!/bin/bash
snakemake --cluster-config cluster.yaml --cluster "sbatch --parsable -J '{cluster.name}' -p {cluster.partition} -n 1 --cpus-per-task {threads} -o '{cluster.output}' --mem {resources.mem_mb}" "$@"