Skip to content

Commit

Permalink
adding slurm option
Browse files Browse the repository at this point in the history
  • Loading branch information
xpillons committed Oct 12, 2023
1 parent dfac373 commit ff5e7e2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion marketplace/solution/marketplace_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ queue_manager: "[steps('scheduler').scheduler]"

slurm:
accounting_enabled: "[if(equals(steps('scheduler').scheduler, 'slurm'), steps('scheduler').slurmAccounting, false)]"
slurm_version: 20.11.9
slurm_version: "[steps('scheduler').slurmVersion]"
# CycleCloud for SLURM project version as defined in https://github.com/Azure/cyclecloud-slurm/releases. Currently supported: 2.7.0-2.7.2. Default to 2.7.2
cyclecloud_slurm_version: 2.7.2

Expand Down
23 changes: 23 additions & 0 deletions marketplace/solution/ui_definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,29 @@
},
"visible": true
},
{
"name": "slurmVersion",
"type": "Microsoft.Common.DropDown",
"label": "SLURM Version",
"defaultValue": "22.05.3",
"toolTip": "Select the version of SLURM to use",
"constraints": {
"allowedValues": [
{
"label": "22.05.3",
"description": "Version 22.05.3",
"value": "22.05.3"
},
{
"label": "20.11.9",
"description": "Version 20.11.9",
"value": "20.11.9"
}
],
"required": true
},
"visible": "[equals(steps('scheduler').scheduler, 'slurm')]"
},
{
"name": "slurmAccounting",
"type": "Microsoft.Common.CheckBox",
Expand Down

0 comments on commit ff5e7e2

Please sign in to comment.