You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some issues understanding the local keyword when using the storage fs plugin. I am trying to create a rule which takes two files as input: One input file which should get copied to a compute node and another input file which should NOT get copied.
In rule Remote I would like to copy both input files to the compute node directory, specified like this remote-job-local-storage-prefix: /scratch/$SLURM_JOB_ID".
In rule Local only the BAM input file should get copied to the compute node.
What happens now when I submit these 4 jobs is that only jobs spawned by rule Remote are getting submitted to SLURM, the two jobs from Local are run locally.
To be honest, I don't see how it could happen that the rule Local runs locally and is not submitted to slurm here. The only criteria for rules to be not submitted if a non-local executor is selected is when they don't have any output or when they are explicitly marked as local rules. Are you sure that you did not specify localrules anywhere in your workflow (https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html#local-rules)? Also, may I ask you to post your Snakemake log here?
I have some issues understanding the
local
keyword when using the storage fs plugin. I am trying to create a rule which takes two files as input: One input file which should get copied to a compute node and another input file which should NOT get copied.My Snakefile looks like this:
In rule
Remote
I would like to copy both input files to the compute node directory, specified like thisremote-job-local-storage-prefix: /scratch/$SLURM_JOB_ID"
.In rule Local only the BAM input file should get copied to the compute node.
What happens now when I submit these 4 jobs is that only jobs spawned by rule
Remote
are getting submitted to SLURM, the two jobs fromLocal
are run locally.My profile is the following:
What I am doing wrong here?
Thanks for any hints.
The text was updated successfully, but these errors were encountered: