vagrant-slurm/example-nodes.rb
Kris Lamoureux b1aee01586
Enhance documentation on configuration flexibility
- Describe .settings.yml usage for global override customization
- Explain nodes.rb for individual node override configuration
- Provide example files demonstrating override usage
- Include guidance for minimal resource configuration
2024-08-16 23:53:11 -04:00

42 lines
971 B
Ruby

#########################
### Example overrides ###
#########################
# This configuration as-is will take 10 threads/cores and 10 GB of RAM assuming
# that .settings.yml isn't overriding the defaults. Make sure you have enough
# resources before running something like this.
# Set SLURM_NODES in .settings and update the slurm.conf if you run more/less than 4 nodes
# NOTE: The primes.sh script was only designed to run an array across two nodes.
NODES = {
# Head node
'node1' => {
#'BOX' => 'debian/bookworm64',
'CPU' => 1,
'MEM' => 1024,
#'SSH' => true
},
# Submit node
'node2' => {
#'BOX' => 'debian/bookworm64',
'CPU' => 1,
'MEM' => 1024,
#'SSH' => true
},
# Compute node3
'node3' => {
#'BOX' => 'debian/bookworm64',
'CPU' => 4,
'MEM' => 4096,
#'SSH' => true
}
# Compute node4
'node4' => {
#'BOX' => 'debian/bookworm64',
'CPU' => 4,
'MEM' => 4096,
#'SSH' => true
}
}