[slurm-users] How to implement job arrays with distribution=cyclic

Eli V eliventer at gmail.com
Wed Dec 12 10:01:05 MST 2018


SelectTypeParameters=CR_LLN will do this automatically for all jobs
submitted to the cluster. Not sure if that's an acceptable solution for you.

On Wed, Dec 12, 2018 at 11:54 AM Roger Moye <rmoye at quantlab.com> wrote:

>
>
> I have a user who wants to control how job arrays are allocated to
> nodes.   He wants to mimic a cyclic distribution, basically round-robin
> assignment of each job within the array.   That is, array element 1 as
> assigned to node 1, element 2 to node 2, and so on until there is an
> element running on each node.   Then the next element goes on node 1 and
> the whole thing repeats until all of the array elements are running or the
> nodes are full.
>
>
>
> So it looks like –distribution=cyclic is what we need but we need this
> applied to the node assignments for a job array.
>
>
>
> Is there a way to accomplish this?   Without this, node 1 fills up first
> before any cores on node 2 are assigned.
>
>
>
> Thanks in advance!
>
> -Roger
>
>
>
>
>
> [image: cid:image001.png at 01D22319.C7D5D540]
>
> Roger Moye
>
> HPC Engineer
>
> 713.425.6236 Office
>
> 713.898.0021 Mobile
>
>
>
> QUANTLAB Financial, LLC
>
> 3 Greenway Plaza
>
> Suite 200
>
> Houston, Texas 77046
>
> www.quantlab.com
>
>
>
>
> -----------------------------------------------------------------------------------
>
> The information in this communication and any attachment is confidential
> and intended solely for the attention and use of the named addressee(s).
> All information and opinions expressed herein are subject to change without
> notice. This communication is not to be construed as an offer to sell or
> the solicitation of an offer to buy any security. Any such offer or
> solicitation can only be made by means of the delivery of a confidential
> private offering memorandum (which should be carefully reviewed for a
> complete description of investment strategies and risks). Any reliance one
> may place on the accuracy or validity of this information is at their own
> risk. Past performance is not necessarily indicative of the future results
> of an investment. All figures are estimated and unaudited unless otherwise
> noted. If you are not the intended recipient, or a person responsible for
> delivering this to the intended recipient, you are not authorized to and
> must not disclose, copy, distribute, or retain this message or any part of
> it. In this case, please notify the sender immediately at 713-333-5440
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181212/ea4e8c38/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3364 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20181212/ea4e8c38/attachment.png>


More information about the slurm-users mailing list