[slurm-users] Disabling --nodelist

Henkel, Andreas henkel at uni-mainz.de
Tue Nov 27 12:02:07 MST 2018


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 script, and command line options will override any environment variables“
If the call —nodelist in sbatch-script this may solve the problem.

Beyond all that I would just contact those users and tell them not to use nodelist. 

Andreas
> Am 27.11.2018 um 18:05 schrieb Aaron Jackson <aaron at aaronsplace.co.uk>:
> 
> 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 reason. I would rather the
> Scheduler have full control over where a job ends up based on where it
> fits.
> 
> Thanks,
> Aaron
> 


More information about the slurm-users mailing list