I believe this was done after rc1. I believe will be tagging rc2 very soon. You 
can check by looking at the git repository.

Sefa Arslan <[email protected]> wrote:

I have just updated the system to 2.4.0-0.rc1.  Although I have  the following 
line in my slurm.conf

"PartitionName=test Nodes=mercan[85] Default=YES MaxTime=INFINITE  State=UP  
DefMemPerCPU=5300  DefMemPerNode=50000"

when I check the partition,  DefMemPerCPU parameter still not shown.

$>scontrol sho -d part
PartitionName=test
   AllocNodes=ALL AllowGroups=ALL Default=YES
   DefaultTime=NONE DisableRootJobs=NO GraceTime=0 Hidden=NO
   MaxNodes=UNLIMITED MaxTime=UNLIMITED MinNodes=1
   Nodes=mercan[85]
   Priority=1 RootOnly=NO ReqResv=NO Shared=NO PreemptMode=GANG
   State=UP TotalCPUs=24 TotalNodes=1 DefMemPerNode=50000 
MaxMemPerNode=UNLIMITED


I think the the patch hasn't been applied yet.

Thanks..

Danny Auble 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/5fe8c10f55982cd72806d678b5af4...

On 05/22/12 09:42, Chris Harwell wrote:

- Show quoted text -

> 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