Why is the wrong queue being selected when submitting a job to my cluster using a Slurm scheduler? – MATLAB Answers

My workflow consists of submitting jobs to my cluster which is using Slurm as the scheduler.

I am trying to target a specific queue/partition on my Slurm scheduler. I have used ‘AdditionalProperties’ to set the queue to the desired one via the following:

c = parcluster(‘<CLUSTER_NAME>’)

c.AdditionalProperties.Partition = ‘<PARTITION>’

c.AdditionalProperties.QueueName = ‘<QUEUE_NAME>’

c.saveProfile

job = batch(c,

However, when running this script/submitting my job, MATLAB is sending it to a default/different queue instead of the desired queue that has been set.

How can I correctly target my desired queue when submitting my job?

Read more here: Source link