I have a job already submitted to a TORQUE queue. The system I submitted it on has several queues, and I want to change which queue I'm running it in. I found this question, which recommends the use of qalter, but qalter's man page doesn't have instructions for changing the queue.EDIT:I tried qalter -q <queuename> <jobid> and I get an error message qalter: illegally formed job identifier: <queuename>How can I change which queue a job is submitted to using a PBS system?
Changing the queue for an already submitted PBS job
pbs
I know this is an old question,  but the correct command to move a queued job from one queue to another in torque is qmove and not qalter.From man page:Usage: qmove destination job_identifier ...Description:To move a job is to remove the job from the queue in which  it resides and instantiate the job in another queue. The  qmove command issues a Move Job batch request to the batch  server that currently owns each job specified by  job_identifier. A job in the running state cannot be moved by the user.