Dear Biki,
did you think of setting your two clusters as two partitions in
slurm.conf? You could then introduce a quality of service, that is
defined in each partition (i did not test this, but from what I find in
the manuals it should be possible).
best regards,
Markus
On 06/17/2015 03:51 PM, Daniel Letai wrote:
Without looking at the code, I'd assume the slurmctld is responsible for
allocating job ids.
Consider submitting arrays - the individual elements are not assigned
job id until they enter the running state.
Considering that, I'd look for job id assignment in the slurmctld code
(e.g. job_scheduler.c)
On 06/17/2015 04:26 PM, BIKI BRAHIM wrote:
Re: [slurm-dev] forward pending jobs automatically
Hello again,
Here's what my system can do using the multi-cluster functionality:
- sbatch searches for the less loaded cluster
(*sbatch_set_first_avail_cluster* function in sbatch.c).
- Job is sent to the chosen cluster.
But, when the job is in the queue of a cluster, it cannot be moved to
the second cluster even if it is free.
Once the job id is set, it's unique within a cluster and cannot be
modified. I guess moving this job to another cluster could result in a
unicity problem if we keep the same job id.
So I tried to analyse *sbatch.c* in order to see how and when the job
id is assigned. Untill now I haven't figured out when this is done.
Can someone tell me when the job id is assigned and which
function/program is in charge of this ?
--
=====================================================
Dr. Markus Stöhr
Zentraler Informatikdienst BOKU Wien / TU Wien
Wiedner Hauptstraße 8-10
1040 Wien
Tel. +43-1-58801-420754
Fax +43-1-58801-9420754
Email: [email protected]
=====================================================