I learned something new, thanks!

- Trey

=============================

Trey Dockendorf
Systems Analyst I
Texas A&M University
Academy for Advanced Telecommunications and Learning Technologies
Phone: (979)458-2396
Email: [email protected]
Jabber: [email protected]

On Wed, Nov 4, 2015 at 12:09 PM, Bruce Roberts <[email protected]>
wrote:

> You can always use scontrol show hostlist
>
> scontrol show hostlist c0611n1,c0611n2,c0612n1,c0612n2
> c0611n[1-2],c0612n[1-2]
>
> or show hostnames for the opposite...
>
> scontrol show hostnames c0611n[1-2],c0612n[1-2]
> c0611n1
> c0611n2
> c0612n1
> c0612n2
>
> That should avoid the nodeset and order it the way Slurm would do it
> internally.
>
>
>
> On 11/04/15 09:23, Trey Dockendorf wrote:
>
> I used clustershell nodeset command [1] as a helper to 'folding' our node
> lists.  In our case the output can be condensed further when passed to
> SLURM since some of our systems have 2 sets of digits in their name.
>
> $ nodeset -f c0611n1 c0611n2 c0612n1 c0612n2
> c[0611-0612]n1,c[0611-0612]n2
>
> SLURM:
> Nodes=c[0611-0612]n[1-2]
>
> Add a few nodes:
>
> $ nodeset -f c0611n1 c0611n2 c0612n1 c0612n2 c0615n1 c0615n2
> c[0611-0612,0615]n1,c[0611-0612,0615]n2
>
> SLURM:
> Nodes=c[0611-0612,0615]n[1-2]
>
> - Trey
>
> [1]: https://github.com/cea-hpc/clustershell/wiki/nodeset
>
> =============================
>
> Trey Dockendorf
> Systems Analyst I
> Texas A&M University
> Academy for Advanced Telecommunications and Learning Technologies
> Phone: (979)458-2396
> Email: [email protected]
> Jabber: [email protected]
>
> On Wed, Nov 4, 2015 at 11:05 AM, Kumar, Amit <[email protected]> wrote:
>
>> Dear All,
>>
>>
>>
>> Want to learn how most of you mange partitions and changes to them do.
>>
>>
>>
>> For example: I have hundreds of nodes in a partition, and when time comes
>> to shuffle a handful of them out of the partition and move it to another
>> partition, I find editing the nodes entries in the partition a bit
>> complicated when we have to split the list in between multiple times. I am
>> curious to learn if there are better ways to handle this?
>>
>>
>>
>> Best Regards,
>>
>> Amit
>>
>
>
>

Reply via email to