User Tools

Site Tools


tech:slurm

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tech:slurm [2020/09/29 10:40] – [Links] kohofertech:slurm [2021/02/25 10:25] – [Compute Nodes] kohofer
Line 267: Line 267:
  
 ===== Compute Nodes ===== ===== Compute Nodes =====
- 
  
 A compute node is a machine which will receive jobs to execute, sent from the Controller, it runs the slurmd service. A compute node is a machine which will receive jobs to execute, sent from the Controller, it runs the slurmd service.
Line 342: Line 341:
    
      
 +===== Modify user accounts =====
 +
 +Add user
 +
 +  sacctmgr add user <usernme> Account=gpu-users Partition=gpu
 +
 +Modify user, give 12000 minutes/200 hours for usage
 +
 +  sacctmgr modify user misegata set GrpTRESMin=cpu=12000,gres/gpu=12000
 +
 +Restart the services:
 +
 +  systemctl restart slurmctld.service
 +  systemctl restart slurmdbd.service
 +
 +Check status:
 +
 +  systemctl status slurmctld.service
 +  systemctl status slurmdbd.service
 +
 +
 +
  
  
/data/www/wiki.inf.unibz.it/data/pages/tech/slurm.txt · Last modified: 2022/11/24 16:17 by kohofer