Closed tangerzhang closed 8 years ago
This sounds like a PBS configuration issue. Are your compute nodes allowed to submit jobs? Canu requires the nodes to be able to submit jobs because it re-submits array jobs and the master pipeline script as it runs. If you can, I would have the compute nodes (or a subset of them) to be configured to allow job submissions.
Without this, you would have to either run Canu on a single machine (useGrid=0) or you would have to manually keep re-starting the pipeline. For example, above you would have to run the command
qsub \
-l mem=8g -l nodes=1:ppn=4 \
-d pwd -N "meryl_ecoli" \
-t 1-1 \
-j oe -o /share/bioinfo/zhangxt/test/Canu_test/ecoli-auto/correction/0-mercounts/meryl.\$PBS_ARRAYID.out \
/share/bioinfo/zhangxt/test/Canu_test/ecoli-auto/correction/0-mercounts/meryl.sh
and once it completes re-launch Canu as you did initially. There will be many steps that stop due to this so you'd have to restart many times.
Hi Skoren, Thanks for your suggestion. Our computer nodes do allow to submit jobs and we usually submit jobs with command line "qsub job_script.sh". I can successfully run Canu on a single machine, however, I prefer to run it on the grid because that will be much faster. Do you have any suggestion that how can I fix this problem so that our PBS system is compatible with Canu? Thanks a lot.
The error messages in your log indicate none of the PBS utilities work on the compute node. There are errors from both pbsnodes and qsub connecting to the daemon. This usually indicates that the nodes aren't set up to submit/don't have the PBS daemon running. Unfortunately there is nothing you can do from within Canu to make it work.
Have you tried logging into a compute node and running qsub or pbsnodes to confirm it works? If you make the PBS utilities work on your compute does then Canu will run on your cluster.
Closing due to inactivity, PBS configuration issue not Canu.
Hello, I am trying to run Canu in our PBS system, however, got error like this. Do you have any idea to fix it? Thanks!