User Tools

Site Tools


slurm_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slurm_tips [2026/02/18 14:31] – monitoring waiting time for jobs bbruzzoslurm_tips [2026/08/06 17:32] (current) – example to create reservation bbruzzo
Line 101: Line 101:
 Ajustar la fecha de --starttime acordemente. Ajustar la fecha de --starttime acordemente.
  
 +
 +Para analizar usuarios por fairshare (peor fairshare) usar opción --reverse si se quiere ver al revez.
 +
 +<code>
 +sshare -aU | awk 'NR<=2; NR>2 {print $0 | "sort -k7,7rn"}'
 +</code>
 +
 +===== Crear reserva =====
 +
 +<code>[bbruzzo@mmgt02 ~]$ scontrol create reservationname="cooling_maintenance_2026-08" starttime=2026-08-08T09:00:00 duration=infinite flags=maint,ignore_jobs groups=qadmin nodes=all
 +Reservation created: cooling_maintenance_2026-08
 +[bbruzzo@mmgt02 ~]$ scontrol show reservation
 +ReservationName=cooling_maintenance_2026-08 StartTime=2026-08-08T09:00:00 EndTime=2027-08-08T09:00:00 Duration=365-00:00:00
 +   Nodes=cn[001-080],snmgt[01-02],vlmgt[01-02] NodeCnt=84 CoreCnt=5376 Features=(null) PartitionName=(null) Flags=MAINT,IGNORE_JOBS,SPEC_NODES,ALL_NODES
 +   TRES=cpu=5376
 +   Users=(null) Groups=qadmin Accounts=(null) Licenses=(null) State=INACTIVE BurstBuffer=(null) Watts=n/a
 +   MaxStartDelay=(null)</code>
slurm_tips.1771425073.txt.gz · Last modified: by bbruzzo