How to submit a job with a specific priority

Hello.

I have a question about job priorities.

I created a registered destination queue HOGE which has only one job that can be run at the same time, and I submitted jobs to it by specifying the priority for each.

 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
JobA: qsub -q hoge -p 0 “script.sh”
JobB: qsub -q hoge -p 0 “script.sh”
JobC: qsub -q hoge -p 100 “script.sh”
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄

In this case, the order in which jobs are executed is as follows
JobA → JobB → JobC

My desired operation is as follows
JobC → JobA → JobB

Is there any setting item to check?

Thank you for your cooperation.

If you look in the sched log do you see one cycle or is each job in it’s own cycle? If you Qmgr: set scheduling = false, submit the jobs, and then Qmgr: set scheduling = true what do you get?

Thank you.

I have tried it.
The log output is as follows
It was executed sequentially, ignoring the priority.

ーーーーーーーーーーーーーーーーーーーーー
Starting Scheduling Cycle

1000.host;Considering job to run
1000.host;Job run
1001.host;Considering job to run
1001.host;Queue queueName job limit reached
1002.host;Considering job to run
1002.host;Queue queueName job limit reached

Leaving Scheduling Cycle

ーーーーーーーーーーーーーーーーーーーーー

Isn’t it possible to set the priority for each job as a function of PBS?

Please help me.

From section 4.9.46 of the Admin Guide:

• The term job_priority represents the value of the job’s priority attribute in the job sorting formula. See section 4.9.21, “Using a Formula for Computing Job Execution Priority”, on page 149.
• The job_sort_key scheduler parameter can take the term job_priority as an argument. The term job_priority repre- sents the value of the job’s Priority attribute. See section 4.9.45, “Sorting Jobs on a Key”, on page 220.

Did you set either of these? What values for them do you have in sched_config?

Thank you very much.

I changed the settings based on the manual you gave me and confirmed that it works as intended.

qmgr > s s job_sort_formula='job_priority

Thank you very much for your help.