How to run toil-cwl-runner on a local HPC with the torque batch system?
See original GitHub issueI run the following command on the login node:
export TOIL_TORQUE_ARGS="-N graham-rhapsody-wta -e admin:/public/home/graham/src/rhapsody-wta/logs"
export TOIL_TORQUE_REQS="walltime=48:00:00,mem=192gb,nodes=2:ppn=16"
toil-cwl-runner \
--batchSystem torque \
--user-space-docker-cmd=udocker \
--jobStore file:results/rhapsody-wta-job-store \
--outdir results \
--writeLogs logs \
--logFile cwltoil.log \
--logLevel DEBUG \
--retryCount 2 \
--maxLogFileSize 20000000000 \
--stats \
rhapsody-wta-yaml.cwl template_wta.yml
I saw this error:
Additional Torque resource requirements appended to qsub from TOIL_TORQUE_REQS env. variable: walltime=48:00:00,mem=192gb,nodes=2:ppn=16
GridEngine like batch system failure
Traceback (most recent call last):
File "/public/home/weiwanqian/miniconda3/envs/bioinfo/lib/python3.6/site-packages/toil/batchSystems/abstractGridEngineBatchSystem.py", line 226, in run
while self._runStep():
File "/public/home/weiwanqian/miniconda3/envs/bioinfo/lib/python3.6/site-packages/toil/batchSystems/abstractGridEngineBatchSystem.py", line 215, in _runStep
activity |= self.createJobs(newJob)
File "/public/home/weiwanqian/miniconda3/envs/bioinfo/lib/python3.6/site-packages/toil/batchSystems/abstractGridEngineBatchSystem.py", line 121, in createJobs
subLine = self.prepareSubmission(cpu, memory, jobID, command, jobName)
File "/public/home/weiwanqian/miniconda3/envs/bioinfo/lib/python3.6/site-packages/toil/batchSystems/torque.py", line 121, in prepareSubmission
return self.prepareQsub(cpu, memory, jobID) + [self.generateTorqueWrapper(command, jobID)]
File "/public/home/weiwanqian/miniconda3/envs/bioinfo/lib/python3.6/site-packages/toil/batchSystems/torque.py", line 179, in prepareQsub
raise ValueError("Incompatible resource arguments ('mem=', 'nodes=', 'ppn='): {}".format(reqlineEnv))
ValueError: Incompatible resource arguments ('mem=', 'nodes=', 'ppn='): walltime=48:00:00,mem=192gb,nodes=2:ppn=16
Can’t I specify any computer hardware resources in the TOIL_TORQUE_REQS variable?
┆Issue is synchronized with this Jira Task ┆Issue Number: TOIL-680
Issue Analytics
- State:
- Created 3 years ago
- Comments:26 (26 by maintainers)
Top Results From Across the Web
Introduction — Toil 5.8.0a1 documentation
Batch System API: Specifies either a local single-machine or a currently supported HPC environment (lsf, parasol, mesos, slurm, torque, htcondor, ...
Read more >Running computations on the Torque cluster - DCCN HPC wiki
The Torque system comes with a set of command-line tools for users to manage jobs in ... a batch job to run the...
Read more >Use TORQUE to submit and manage jobs on high ... - IU KB
To run a job in batch mode on a high performance computing system using TORQUE, first prepare a job script that specifies the...
Read more >Torque - HPC Wiki
Job Submission. This command submits the job you defined in your jobscript to the batch system: $ qsub jobscript.sh. Just like any other ......
Read more >Ubuntu Manpage: toil - Toil Documentation
batchSystemInterface: Specifies either a local single-machine or a currently supported HPC environment (lsf, parasol, mesos, slurm, torque, htcondor, or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your patience in explaining this! @mr-c
If I change the reference format of
PBS_JOBID
:The error code has changed.