The InstanceType attribute cannot be defined in slurm.conf. It has to be passed as a parameter during slurmd startup.
To enable InstanceType configuration in Magic Castle, we could create the slurmd environment file and provide the slurmd parameter via SLURMD_OPTION like this:
Slurm added the notion of cloud instance type in the accounting: https://slurm.schedmd.com/power_save.html#accounting
The
InstanceType
attribute cannot be defined in slurm.conf. It has to be passed as a parameter during slurmd startup.To enable InstanceType configuration in Magic Castle, we could create the slurmd environment file and provide the slurmd parameter via SLURMD_OPTION like this:
This requires terraform_data to be updated in Magic Castle to include the instance type in its specs.