Skip to content

Conversation

efim-a-efim
Copy link

@efim-a-efim efim-a-efim commented Sep 4, 2025

Description of changes

With this changes, users will be able to specify additional Feature values for ComputeResources. Those Feature-s will be safely added to the Slurm nodes specification for the partition.

Rationale: In many cases, especially with complex cluster setups, it's crucial to have additional Feature-s that can be used to filter nodes for the jobs.

Tests

Added the following tests:

  • test/unit/slurm/test_slurm_config_generator.py::test_generate_slurm_config_with_custom_features - tests config generation with custom features specified. Corresponding test data is in test/unit/slurm/test_generate_slurm_config_with_custom_features.

NOTE: test data for many tests were changed because the new features generation algorithm requires all features in Feature=... in config files to be sorted. So many test files were affected, but the only change that were made to them is features ordering.

References

This PR has a complimentary PR in aws-parallelcluster repo: aws/aws-parallelcluster#6962

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant