---------- Forwarded message ---------
From: Hermann Schwärzler <hermann.schwaerz...@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.z...@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


-- 
Assoc. Prof. Hongsheng Zhao <hongyi.z...@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province

-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to