I am trying to sumbit some snakemake jobs to a condor cluster with the following command.
snakemake -f TestJob --cluster-config cluster.json -j 30 --cluster condor_submit
where the TestJob rule is specified in the SnakeFile
rule TestJob:
input:
output: "test.txt"
shell:
"touch test.txt;"
and the cluster-configuration file is the following:
{
"__default__" :
{
"output" : "workdir/logs/cluster/{rule}.{wildcards}.out",
"error" : "workdir/logs/cluster/{rule}.{wildcards}.err",
"log" : "workdir/logs/cluster/{rule}.{wildcards}.log"
},
}
When I do this I obtain the following error:
Building DAG of jobs...
Using shell: /bin/bash
Provided cluster nodes: 30
Job counts:
count jobs
1 TestJob
1
[Mon Jul 1 11:18:04 2019]
rule TestJob:
output: test.txt
jobid: 0
ERROR: on Line 11 of submit file:
ERROR: Failed to parse command file (line 11).
Error submitting jobscript (exit code 1):
Submitting job(s)
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Has anyone any idea of what might be happening? Thanks