-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exit 1: /bin/sh: pbs-submit.py: command not found #10
Comments
This appears to be an issue with the way the
to
You should find that it now submits jobs (you might also have to make Once I've figured how to add dependencies back in to the script invocation I'll update with another comment |
Hi @willprice , I hope you could also help me to understand how to use this profile on cluster. I am not sure where I should put the parameters for cluster config. When I ran
I think it did not recognize the cluster configs in Thanks in advance. |
Hi Zih-Hua, If that doesn't work tell me
I |
Hi @willprice, Thanks a lot for your reply. I understand you're not the author, but I would appreciate that you could share the experience with me. So I changed the cluster line in
I then created a
I ran
Below is my snakemake directory structure where I put my profile folder (fangz_profile):
Appreciate your insights! |
The first error is a good one, it tells us that snakemake can invoke |
I understand. Maybe I should just type all my qsub parameters coupled with the |
No worries, in that case I'd try and reverse engineer one of the better maintained configs in this organisation (e.g. the slurm one) to see how they get the parameters from the profile. For overrides from your rule I think you can just use |
Popping in to say that the solution outlined by @willprice worked for me when I also made the |
@zihhuafang I found this repository that I think has a much more intuitive I basically copied it and modified the # ~/.snakemake/pbs-torque/config.yaml
cluster-config: "config/cluster.yaml"
cluster: "qsub -N {cluster.name} -l nodes={cluster.nodes} -l mem={cluster.mem} -l walltime={cluster.walltime} -j oe -o {cluster.out}"
jobs: 10
latency-wait: 60
verbose: true # ~/projects/myproject/config/cluster.yaml
__default__:
name: default
walltime: 4:00:00
mem: 8gb
nodes: 1:ppn=8
out: pbs_out/ Then I run my command as |
@gibsramen Thanks for the link. I actually found this repository as well and am currently using it as the intermediate solution for me. This was how I used to run my snakemake (the old version). I will probably find time to make pbs profile works as the slurm one as I do prefer to specify resources in the rules. |
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
andpbs-jobscript.sh
to point out to alternative different paths for the interpretersshell
andpython3
; 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:
The text was updated successfully, but these errors were encountered: