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.
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.