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...
<http://www.google.com/url?sa=D&q=https://github.com/SchedMD/slurm/commit/5fe8c10f55982cd72806d678b5af403599193817&usg=AFQjCNGcLaeHCf5L2PD9sK_CIBVn6Eq6bA>
On 05/22/12 09:42, Chris Harwell wrote:
- Show quoted text -
<http://groups.google.com/group/slurm-devel/browse_thread/thread/17652ec1b81d29aa/8ee1c35596e90d54?hide_quotes=no#msg_b8e764ef6db6cdc5>
> 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