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

fix SLURM lua: assigned job to correct group account #513

Merged
merged 2 commits into from
Dec 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions roles/slurm_management/files/job_submit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ function slurm_job_submit(job_desc, part_list, submit_uid)
slurm.log_debug("Job's features already contained LFS %s.", tostring(lfs))
end
end
-- Assigned job to account of group, that was defined ^ based on path
pneerincx marked this conversation as resolved.
Show resolved Hide resolved
job_desc.account = group
slurm.log_debug("Assigned job to account of group %s.", group)
else
slurm.log_error(
"Job's working dir, *.err file or *.out file is not located in /groups/${group}/tmp*/...\n" ..
Expand Down