Re: [slurm-users] Disabling --nodelist

2018-11-27 Thread Jacob Jenson
Aaron, While SchedMD does not accept pull requests through GitHub, we do take code and/or documentation contributions (as outlined in CONTRIBUTING.md) through our bug tracker at http://bugs.schedmd.com. Please be sure to set the Severity level to 'C - Contributions' to make sure it is routed to t

Re: [slurm-users] Disabling --nodelist

2018-11-27 Thread Aaron Jackson
Thanks both who helped with this. I had to recompile Slurm with Lua, but I now have it working. function slurm_job_submit(job_desc, part_list, submit_uid) if not (job_desc.req_nodes == nil) then slurm.log_user("Must not specify nodelist") return slurm.FAILURE end return sl

Re: [slurm-users] Disabling --nodelist

2018-11-27 Thread Henkel, Andreas
Hi, A spank plugin would probably work. A job-submit which replaces the nodelist with an empty string could work either. What about just changing the .profile and set the env variable for nodelist to empty string? „Note that environment variables will override any options set in a batch scri

Re: [slurm-users] Disabling --nodelist

2018-11-27 Thread Paul Edmon
Your best bet is a LUA job submission script to strip these options from the submissions. -Paul Edmon- On 11/27/18 11:48 AM, Aaron Jackson wrote: Hi all, I am wondering if it is possible to disable the use of the --nodelist argument from srun/sbatch/salloc/etc? In the worst case I can just ed

[slurm-users] Disabling --nodelist

2018-11-27 Thread Aaron Jackson
Hi all, I am wondering if it is possible to disable the use of the --nodelist argument from srun/sbatch/salloc/etc? In the worst case I can just edit the code for argument parsing? Having only recently moved over to Slurm, some users have a preference for particular nodes with no justifiable reas