Hi Victor,

I do just the same :
        NodeName=cn101 [...] Feature=xyz

and scontrol show node cn101 gives :
        AvailableFeatures=a2a,hemi,quad,snc2,snc4,cache,flat,hybrid,auto,xyz
        ActiveFeatures=a2a,cache,xyz

I can see this in slurmctld.log (with DebugFlags=NodeFeatures in slurm.conf) :
[2017-10-03T18:25:34.099] _update_node_avail_features: nodes cn101 available 
features set to: a2a,hemi,quad,snc2,snc4,cache,flat,hybrid,auto,xyz
[2017-10-03T18:25:34.099] _update_node_active_features: nodes cn101 active 
features set to: a2a,cache,xyz

and sinfo -o  "%8N %.6D %4P %6t %15b %60f"
NODELIST  NODES PART STATE  ACTIVE_FEATURES AVAIL_FEATURES
cn101           1             p1*    idle      a2a,cache,xyz           
a2a,hemi,quad,snc2,snc4,cache,flat,hybrid,auto,xyz

slurm version is 17.02.6

Best Regards,
Pierre-Marie Le Biot

-----Original Message-----
From: Victor Gamayunov [mailto:[email protected]] 
Sent: Thursday, September 21, 2017 3:45 PM
To: slurm-dev <[email protected]>
Subject: [slurm-dev] Re: slurm-dev Re: knl_generic plugin on non-KNL node


Hi Pierre-Marie,

On Thu, Aug 10, 2017 at 5:27 PM, Le Biot, Pierre-Marie 
<[email protected]> wrote:
> >Is there a way do selectively disable the plugin on non-KNL nodes?
>
> non-KNL nodes will be assigned dummy features (xyz is mine) but won't 
> be rebooted when a constraint is specified by a job
>
> scontrol show node xx
> [...]
>    AvailableFeatures=a2a,hemi,quad,snc2,snc4,cache,flat,hybrid,auto,xyz
>    ActiveFeatures=a2a,cache,xyz
> [...]
>
> Best Regards,
> Pierre-Marie Le Biot

When I do this, therebooting stops, but the plugin seems to remove all custom 
features specified in slurm.conf (NodeName=xxxx Feature=xyz), and leaves only 
KNL features:

scontrol show node xxxx
   AvailableFeatures=cache,hybrid,flat,auto,a2a,snc2,snc4,hemi,quad
   ActiveFeatures=cache,quad

How do you specify "xyz"?

Thanks
Victor

Reply via email to