Created attachment 4826 [details] Fix that makes srun work correctly. When srun creates a job allocation and the server decides to use memory per node instead of memory per core or vice versa, it is not detected correctly in the calling srun instance. I attached a fix. This fix also makes the proposed fix for bug 3879 working.
Thomas, I believe you have found a good one here, thanks! Added in commit 3af8a44ded5e
Please reopen if anything else is needed on this.
(In reply to Danny Auble from comment #3) > Please reopen if anything else is needed on this. I just saw that the fix was not merged to the master branch (while the change in the NEWS file was).
Please check again https://github.com/SchedMD/slurm/commit/8fbb920a0a8605e243343b4084cc25567420e6f9
Oops, you are right. The github browser is driving me crazy, it opens wrong branches regularly... Sorry for that.