snakemake / snakemake-executor-plugin-slurm

A Snakemake executor plugin for submitting jobs to a SLURM cluster
MIT License
18 stars 19 forks source link

Way to make logging go to same logs as when running locally? #123

Open hermidalc opened 3 months ago

hermidalc commented 3 months ago

Is there a way to configure the executor so job logs to the log locations specified in my rules? (i.e. just like when running my workflow locally outside of SLURM). So instead of everything going to .snakemake/slurm_logs

cmeesters commented 3 months ago

no, but it has been asked sometimes. I'll add it on the to-do list.

hermidalc commented 3 months ago

In hindsight it actually makes sense to me the way it is, SLURM specific snakemake logging, job info and e.g. restarts/retries etc go into .snakemake/slurm_logs and the regular rule log output of the successful execution of the rule goes into the rule log path. It's less clutter and you don't need to see the rule regular logging from failed execution attempts mixed in with SLURM specific logging if the job needed to restart for any reason.

cmeesters commented 3 months ago

absolutely, that was the intend. However, the reason, why I leave this issue open is