[slurm-users] Mocking SLURM to debug job_submit.lua

2020-09-23 Thread SJTU
Hi, Modifying and testing job_submit.lua on a production SLURM system may lead to temporary failure of job submission, which halts new scheduling strategies being applied. Is it possible to mock a SLURM system to debug job_submit.lua so that it can be updated to the production system confident

Re: [slurm-users] Quickly throttling/limiting a specific user's jobs

2020-09-23 Thread Sebastian T Smith
I've used Paul's `MaxJobs` suggestion in emergencies with success. +1 vote. We've encountered RPC timeouts and have been able to tune the `sched_max_job_start` (decrease) and `sched_min_interval` (increase) options of `SchedulerParameters` to reduce/eliminate timeouts during high job flux. Se

Re: [slurm-users] Mocking SLURM to debug job_submit.lua

2020-09-23 Thread Renfro, Michael
Not having a separate test environment, I put logic into my job_submit.lua to use either the production settings or the ones under development or testing, based off the UID of the user submitting the job: = function slurm_job_submit(job_desc, part_list, submit_uid) test_user_table = {}

[slurm-users] How to set association factor in Multifactor Priority

2020-09-23 Thread SJTU
Hi, I found that a new "Association Factor" is introduced in 19.05 to be part of Job_priority calculation. Can I set it for each SLURM account so job priority can be differentiated based on job accounts? https://groups.google.com/g/slurm-users/c/nzF8jOPZI_w/m/vj2wkUryBgAJ

Re: [slurm-users] How to set association factor in Multifactor Priority

2020-09-23 Thread Marcus Boden
Hi Jianwen, yes, you can give different accounts or users specific extra-priorities. You can set it via sacctmgr: https://slurm.schedmd.com/sacctmgr.html#SECTION_GENERAL-SPECIFICATIONS-FOR-ASSOCIATION-BASED-ENTITIES (scroll down to 'Priority') Priority What priority will be added to a job's pr