Thanks! This works great!

On Tue, May 22, 2012 at 1:35 PM, Danny Auble <[email protected]> wrote:
>
> Looks like a bug.  Thanks for reporting.
>
> This will be in the next 2.4 release.  The code is identical in 2.3.  It
> was a simple patch.
>
> https://github.com/SchedMD/slurm/commit/5fe8c10f55982cd72806d678b5af403599193817
>
> On 05/22/12 09:42, Chris Harwell wrote:
>> Hi,
>>
>> In my configuration it appears the per partition DefMemPerCPU is being
>> ignored, but global DefMemPerCPU is being used.  Does anyone see what
>> I am doing wrong?  DefMemPerCPU is listed as a per partition option in
>> the NEWS and RELEASE NOTES for 2.3.x and man page for slurm.conf
>>
>>
>> $ scontrol sho con | egrep -i "select|mem"
>> DefMemPerCPU            = 4000
>> MaxMemPerNode           = UNLIMITED
>> SelectType              = select/cons_res
>> SelectTypeParameters    = CR_CORE_MEMORY
>>
>> The per partition DefMemPerCPU doesn't even show up in the scontrol output:
>>
>> $  scontrol sho -d part -a swdev
>> PartitionName=swdev
>>     AllocNodes=ALL AllowGroups=dradadm Default=NO
>>     DefaultTime=00:10:00 DisableRootJobs=NO GraceTime=0 Hidden=YES
>>     MaxNodes=UNLIMITED MaxTime=UNLIMITED MinNodes=1
>>     Nodes=swdev[01-14]
>>     Priority=20 RootOnly=NO Shared=EXCLUSIVE PreemptMode=OFF
>>     State=UP TotalCPUs=112 TotalNodes=14 DefMemPerNode=UNLIMITED
>> MaxMemPerNode=UNLIMITED
>>
>> But the per partition DeMemPerCPU is in the config file:
>>
>> $ grep PartitionName=swdev /opt/slurmcl2/etc/slurm-swdev.conf
>> PartitionName=swdev Nodes=swdev[01-14] Default=NO State=Up Priority=20
>> PreemptMode=OFF DefMemPerCPU=4000 Shared=Exclusive
>>
>>

Reply via email to