Skip to content

exit 1: /bin/sh: pbs-submit.py: command not found #10

@jperales

Description

@jperales

Hi,
I am trying to use this profile in our HPC facility (PBS-torque schedule system).
However it crashes when I use snakemake --config ~/.config/snakemake/pbs-torque/config.yaml, with the following error:

/bin/sh: pbs-submit.py: command not found
Error submitting jobscript (exit code 127):

I don't understand the problem. I have checked that shell and python are installed in our HPC. I have also tried to edit the first line of pbs-submit.py and pbs-jobscript.sh to point out to alternative different paths for the interpreters shell and python3; but it still does not work.

I have checked that the rule for the job run well in an interactive job session in a node of the cluster. So it is just the profile what it is not working.
Thanks in advanced for your help!
Javier


The log and jobscript for one of the jobs is the following:

rule seurat:
    input: data/00_scRNAseq/GSM4191942/matrix.mtx.gz, data/00_scRNAseq/GSM4191942/features.tsv.gz, data/00_scRNAseq/GSM4191942/barcodes.tsv.gz, index/samples/GSM4191942.yaml
    output: data/01_Seurat/GSM4191942_S.rds, data/01_Seurat/GSM4191942_nPCs.txt, data/01_Seurat/GSM4191942_nCells.txt
    jobid: 17
    wildcards: id=GSM4191942

Jobscript:
#!/bin/sh
# properties = {"type": "single", "rule": "seurat", "local": false, "input": ["data/00_scRNAseq/GSM4191942/matrix.mtx.gz", "data/00_scRNAseq/GSM4191942/features.tsv.gz", "data/00_scRNAseq/GSM4191942/barcodes.tsv.gz", "index/samples/GSM4191942.yaml"], "output": ["data/01_Seurat/GSM4191942_S.rds", "data/01_Seurat/GSM4191942_nPCs.txt", "data/01_Seurat/GSM4191942_nCells.txt"], "wildcards": {"id": "GSM4191942"}, "params": {}, "log": [], "threads": 1, "resources": {}, "jobid": 17, "cluster": {}}
 cd /beegfs/work/CKD && \
/beegfs/work/CKD/envs/01_Seurat/bin/python3.7 \
-m snakemake data/01_Seurat/GSM4191942_S.rds --snakefile /beegfs/work/CKD/Snakefile \
--force -j --keep-target-files --keep-remote \
--wait-for-files /beegfs/work/CKD/.snakemake/tmp.jzedn2wh data/00_scRNAseq/GSM4191942/matrix.mtx.gz data/00_scRNAseq/GSM4191942/features.tsv.gz data/00_scRNAseq/GSM4191942/barcodes.tsv.gz index/samples/GSM4191942.yaml --latency-wait 5 \
 --attempt 1 --force-use-threads \
--wrapper-prefix https://github.com/snakemake/snakemake-wrappers/raw/ \
   --allowed-rules seurat --nocolor --notemp --no-hooks --nolock \
--mode 2  && exit 0 || exit 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions