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

Fixed mem_per_cpu setting in job class #243

Merged
merged 2 commits into from
Sep 10, 2022
Merged

Fixed mem_per_cpu setting in job class #243

merged 2 commits into from
Sep 10, 2022

Conversation

JonaOtto
Copy link
Contributor

Hello pyslurm developers,
This PR fixes the false renaming of the mem_per_cpu setting in some of the job class functions, which was called mem_per_cp. This is a/the similar problem that was concerned in #241.

Since this problem is part of multiple versions (at least 22.05 and 21.08 as far as I checked), and we did it this way in my last contribution, I do this against base branch main, for you to easily back port it. If you want a different branch, let me know, I could change the base branch then.

Thanks :)

Best,
Jonathan

@JonaOtto
Copy link
Contributor Author

Apparently there are some more things that still had mem_per_cp as part of their name (max_mem_per_cpu and req_mem_per_cpu). I fixed them all over the pyslurm.pyx file. Hopefully there is no mem_per_cp left now.

@tazend tazend self-assigned this Sep 10, 2022
@tazend
Copy link
Member

tazend commented Sep 10, 2022

Hi, alright looks good thanks for catching it :). I will then also get this to the 21.08 branch.

@tazend tazend merged commit f60220c into PySlurm:main Sep 10, 2022
tazend pushed a commit that referenced this pull request Sep 11, 2022
* Fixed mem_per_cpu setting.

* Fixed settings with mem_per_cp mentions.
@JonaOtto
Copy link
Contributor Author

Perfect, thanks 👍

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.

2 participants