---------- Forwarded message --------- From: Hermann Schwärzler hermann.schwaerzler@uibk.ac.at Date: Tue, May 28, 2024 at 4:10 PM Subject: Re: [slurm-users] Re: Performance Discrepancy between Slurm and Direct mpirun for VASP Jobs. To: Hongyi Zhao hongyi.zhao@gmail.com
Hi Zhao,
On 5/28/24 03:08, Hongyi Zhao wrote: [...]
What's the complete content of cli_filter.lua and where should I put this file?
[...]
Below you find the complete content of our cli_filter.lua. It has to be put into the same directory as "slurm.conf".
--------------------------------- 8< --------------------------------- -- see https://github.com/SchedMD/slurm/blob/master/etc/cli_filter.lua.example
function slurm_cli_pre_submit(options, pack_offset) return slurm.SUCCESS end
function slurm_cli_setup_defaults(options, early_pass) -- Make --hint=nomultithread the default behavior -- if users specify an other --hint=XX option then -- it will override the setting done here options['hint'] = 'nomultithread'
return slurm.SUCCESS end
function slurm_cli_post_submit(offset, job_id, step_id) return slurm.SUCCESS end
--------------------------------- >8 ---------------------------------
Hopefully this helps...
Regards, Hermann