<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div dir="ltr"></div>
<div dir="ltr">Hi again,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I’m pretty sure that’s not valid since your scontrol Show job shows minmemorypernode mich bigger than 1G. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">Best</div>
<div dir="ltr">Andreas </div>
<div dir="ltr"><br>
Am 14.11.2019 um 14:37 schrieb Nguyen Dai Quy <<a href="mailto:quy@vnoss.org">quy@vnoss.org</a>>:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Nov 14, 2019 at 1:59 PM Sukman <<a href="mailto:sukman@pusat.itb.ac.id">sukman@pusat.itb.ac.id</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Brian,<br>
<br>
thank you for the suggestion.<br>
<br>
It appears that my node is in drain state.<br>
I rebooted the node and everything became fine.<br>
<br>
However, the QOS still cannot be applied properly.<br>
Do you have any opinion regarding this issue?<br>
<br>
<br>
$ sacctmgr show qos where Name=normal_compute format=Name,Priority,MaxWal,MaxTRESPU<br>
      Name   Priority     MaxWall     MaxTRESPU<br>
---------- ---------- ----------- -------------<br>
normal_co+         10    00:01:00  cpu=2,mem=1G<br>
<br>
<br>
when I run the following script:<br>
<br>
#!/bin/bash<br>
#SBATCH --job-name=hostname<br>
#sbatch --time=00:50<br>
#sbatch --mem=1M<br>
#SBATCH --nodes=1<br>
#SBATCH --ntasks=1<br>
#SBATCH --ntasks-per-node=1<br>
#SBATCH --cpus-per-task=1<br>
#SBATCH --nodelist=cn110<br>
<br>
srun hostname<br>
<br>
<br>
It turns out that the QOSMaxMemoryPerUser has been met<br>
<br>
$ squeue<br>
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)<br>
                88      defq hostname   sukman PD       0:00      1 (QOSMaxMemoryPerUser)<br>
<br>
<br>
</blockquote>
<div> </div>
<div>Check QOS defined for user 'sukman':<br>
</div>
<div><br>
</div>
<div>sacctmgr show user sukman -s <br>
</div>
<div><br>
</div>
Try to submit a job with "-n 4" only ?<br>
</div>
</div>
</div>
</blockquote>
</body>
</html>