Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default partition is confusing #149

Open
sjpb opened this issue Jan 11, 2023 · 0 comments
Open

Default partition is confusing #149

sjpb opened this issue Jan 11, 2023 · 0 comments

Comments

@sjpb
Copy link
Collaborator

sjpb commented Jan 11, 2023

Because https://github.com/stackhpc/ansible-role-openhpc/blob/master/templates/slurm.conf.j2#L134 defaults to setting a partition to Default=YES if a group/partition in openhpc_slurm_partitions does not define the default parameter, in a case like this the second partition still ends up being the actual default in slurm:

openhpc_slurm_partitions:
    - name: first
      default: YES
    - name: second

and second has to specifically be marked default: NO to make the first the default.

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

No branches or pull requests

1 participant