Would it be possible for PbsEngine jobRunner not to set a default queue?
Posted in Ask the GATK team | Last updated on 2014-03-21 22:44:48


Comments (3)

Hi,

I'm trying to use Queue with Torque through the PbsEngine jobRunner. The institutional cluster I'm trying to use doesn't allow users to select a queue. You are supposed to request the proper resources and a job routing algorithm selects the right queue for you.

I was able to confirm that doing this change allows me to use Queue in this kind of enviroment.

In "gatk-protected / public / queue-framework / src / main / scala / org / broadinstitute / sting / queue / engine / pbsengine / PbsEngineJobRunner.scala":

Change: // If the job queue is set specify the job queue if (function.jobQueue != null) nativeSpec += " -q " + function.jobQueue else nativeSpec += " -q normal "

to: // If the job queue is set specify the job queue if (function.jobQueue != null) nativeSpec += " -q " + function.jobQueue

Thanks, Carlos

PS: Do the GATK team accepts pull requests? If so, I could submit a pull request with this change.


Return to top Comment on this article in the forum