<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
If you run  slurmd -C  on the compute node, it should tell you what slurm thinks the RealMemory number is.</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Courier New", monospace; font-size: 12pt; color: rgb(0, 0, 0);">
Jeff</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:"Courier New",monospace; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com> on behalf of navin srivastava <navin.altair@gmail.com><br>
<b>Sent:</b> Friday, July 10, 2020 6:24 AM<br>
<b>To:</b> Slurm User Community List <slurm-users@lists.schedmd.com><br>
<b>Subject:</b> Re: [slurm-users] changes in slurm.</font>
<div> </div>
</div>
<div>
<div dir="ltr">Thank you for the answers.<br>
<div><br>
</div>
<div>is the RealMemory will be decided on the Total Memory value or total usable memory value.</div>
<div><br>
</div>
<div>i mean if a node having 256GB RAM but free -g will tell about only 251 GB.</div>
<div>deda1x1591:~ # free -g<br>
             total       used       free     shared    buffers     cached<br>
Mem:           251         67        184          6          0         47<br>
</div>
<div><br>
</div>
<div>so we can add the value is 251*1024 MB  or 256*1024MB.  or is there any slurm command which will provide me the value to add.</div>
<div><br>
</div>
<div>Regards</div>
<div>Navin.</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Thu, Jul 9, 2020 at 8:01 PM Brian Andrus <<a href="mailto:toomuchit@gmail.com">toomuchit@gmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Navin,<br>
<br>
1. you will need to restart slurmctld when you make changes to the <br>
physical definition of a node. This can be done without affecting <br>
running jobs.<br>
<br>
2. You can have a node in more than one partition. That will not hurt <br>
anything. Jobs are allocated to nodes, not partitions, the partition is <br>
used to determine which node(s) and filter/order jobs. You should add <br>
the node to the new partition, but also leave it in the 'test' <br>
partition. If you are looking to remove the 'test' partition, set it to <br>
down and once all the running jobs that are in it finish, then remove it.<br>
<br>
Brian Andrus<br>
<br>
On 7/8/2020 10:57 PM, navin srivastava wrote:<br>
> Hi Team,<br>
><br>
> i have 2 small query.because of the lack of testing environment i am <br>
> unable to test the scenario. working on to set up a test environment.<br>
><br>
> 1. In my environment i am unable to pass #SBATCH --mem-2GB option.<br>
> i found the reason is because there is no RealMemory entry in the node <br>
> definition of the slurm.<br>
><br>
> NodeName=Node[1-12] NodeHostname=deda1x[1450-1461] NodeAddr=Node[1-12] <br>
> Sockets=2 CoresPerSocket=10 State=UNKNOWN<br>
><br>
> if i add the RealMemory it should be able to pick. So my query here <br>
> is, is it possible to add RealMemory in the definition anytime while <br>
> the jobs are in progres and execute the scontrol reconfigure and <br>
> reload the daemon on client node?  or do we need to take a <br>
> downtime?(which i don't think so)<br>
><br>
> 2. Also I would like to know what will happen if some jobs are running <br>
> in a partition(say test) and I will move the associated node to some <br>
> other partition(say normal) without draining the node.or if i suspend <br>
> the job and then change the node partition and will resume the job. I <br>
> am not deleting the partition here.<br>
><br>
> Regards<br>
> Navin.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
<br>
</blockquote>
</div>
</div>
</div>
</body>
</html>