Azure / cyclecloud-slurm

Azure CycleCloud project to enable users to create, configure, and use Slurm HPC clusters.
MIT License
55 stars 42 forks source link

BugFix: Create gres.conf file and populate it. #192

Closed aditigaur4 closed 8 months ago

aditigaur4 commented 8 months ago

Gres.conf was not getting created since the file did not exist, the linking was not working. Gres.conf also needs to be written on cluster initialization, along side azure.conf.

Also adds a "--no-restart" flag to azslurm scale command. As azslurm scale command is used to write both the partitions file and gres.conf file, but it cannot restart slurmctld during installation because of delayed services block.

Note: This does not change behaviour of azslurm scale command.