Skip to content

Fix/slurm23.02.1 compatible and retrocompatibility#6

Merged
FedericaBrando merged 5 commits intomasterfrom
fix/slurm23.02.1_compatible
Apr 22, 2025
Merged

Fix/slurm23.02.1 compatible and retrocompatibility#6
FedericaBrando merged 5 commits intomasterfrom
fix/slurm23.02.1_compatible

Conversation

@FedericaBrando
Copy link
Member

@FedericaBrando FedericaBrando commented Apr 15, 2025

This pull request includes an enhancement for the qmap package - mostly to the slurm script in the executor. It checks slurm version and appends the proper flag to the STATUS_FORMAT.

SLURM Executor Enhancements:

  • qmap/executor/slurm.py: Added a new method _get_slurm_version_major to fetch the SLURM version and updated generate_jobs_status to use this method for determining the correct node state column. [1] [2]

Placeholder Replacement:

Tests

  • IRBcluster
  • BBGcluster

TODO

  • fix linting with flake8

migrau and others added 4 commits September 17, 2024 00:02
Removing the "reserved" column, since it doesn't exist in slurm 23.02.1. (bbgcluster slurm is v16)
Older versions of Slurm use 'reserved', while newer versions use 'planned'.
@FedericaBrando FedericaBrando added the enhancement New feature or request label Apr 15, 2025
@FedericaBrando FedericaBrando self-assigned this Apr 15, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

@FedericaBrando FedericaBrando force-pushed the fix/slurm23.02.1_compatible branch from d5afc59 to 51dbabe Compare April 15, 2025 13:50
TODO: clean unusued globals
@FedericaBrando FedericaBrando force-pushed the fix/slurm23.02.1_compatible branch from 51dbabe to 7fe640f Compare April 15, 2025 13:53
@FedericaBrando
Copy link
Member Author

FedericaBrando commented Apr 15, 2025

Things to do:

  • update new version to pip
  • do a new release

@FedericaBrando FedericaBrando linked an issue Apr 15, 2025 that may be closed by this pull request
@FedericaBrando FedericaBrando merged commit af4c248 into master Apr 22, 2025
1 check passed
@FedericaBrando FedericaBrando deleted the fix/slurm23.02.1_compatible branch April 22, 2025 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: no Reserved in sacct with newer version of SLURM

3 participants