<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Menlo;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.m6220139011529046574m3208256795183356166gmail-p1, li.m6220139011529046574m3208256795183356166gmail-p1, div.m6220139011529046574m3208256795183356166gmail-p1
{mso-style-name:m_6220139011529046574m_3208256795183356166gmail-p1;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.m6220139011529046574m3208256795183356166gmail-s3
{mso-style-name:m_6220139011529046574m_3208256795183356166gmail-s3;}
p.m6220139011529046574m3208256795183356166gmail-p2, li.m6220139011529046574m3208256795183356166gmail-p2, div.m6220139011529046574m3208256795183356166gmail-p2
{mso-style-name:m_6220139011529046574m_3208256795183356166gmail-p2;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.m6220139011529046574m3208256795183356166gmail-s2
{mso-style-name:m_6220139011529046574m_3208256795183356166gmail-s2;}
span.m6220139011529046574m3208256795183356166gmail-s4
{mso-style-name:m_6220139011529046574m_3208256795183356166gmail-s4;}
span.m6220139011529046574m3208256795183356166gmail-s1
{mso-style-name:m_6220139011529046574m_3208256795183356166gmail-s1;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>There are some Limitations that mention backfill on the heterogeneous job support page.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="https://slurm.schedmd.com/heterogeneous_jobs.html#limitations">https://slurm.schedmd.com/heterogeneous_jobs.html#limitations</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Maybe there’s some information there to help?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Ken<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com> <b>On Behalf Of </b>Ana Jokanovic<br><b>Sent:</b> Thursday, November 29, 2018 4:28 AM<br><b>To:</b> slurm-users@lists.schedmd.com<br><b>Subject:</b> [slurm-users] backfill scheduler does not work for heterogeneous jobs (version 17.11)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hello,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I did a simple test submitting the workload of three jobs (see below) on a cluster of 5 nodes:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s3><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#B42419'>sbatch --cpus-per-task=2 --ntasks=6 --time=15 : --cpus-per-task=2 --ntasks=6 --time=15 : --cpus-per-task=2 --ntasks=6 --time=15</span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#B42419'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s3><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#B42419'>sbatch --cpus-per-task=2 --ntasks=6 --time=15 : --cpus-per-task=2 --ntasks=6 --time=15 : --cpus-per-task=2 --ntasks=6 --time=15</span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#B42419'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p2 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s3><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#C1651C'>sleep</span></span><span class=m6220139011529046574m3208256795183356166gmail-s2><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'> </span></span><span class=m6220139011529046574m3208256795183356166gmail-s4><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#B42419'>5</span></span><span class=m6220139011529046574m3208256795183356166gmail-s2><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>;</span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#C1651C'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s3><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#B42419'>sbatch --ntasks=1 --time=2 : --ntasks=1 --time=1</span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:#B42419'><o:p></o:p></span></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I would expect that the third submitted job is backfilled but it does not happen.<o:p></o:p></p></div><div><p class=MsoNormal>Here is the job completion log:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>JobId=2 UserId=3113 GroupId=8950 Name=sleep JobState=COMPLETED Partition=debug TimeLimit=00:15:00 SubmitTime=1543317694 StartTime=1543317714 EndTime=1543317774 NodeList=s19r2b09 NodeCnt=1 ProcCnt=48 </span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>JobId=3 UserId=3113 GroupId=8950 Name=sleep JobState=COMPLETED Partition=debug TimeLimit=00:15:00 SubmitTime=1543317694 StartTime=1543317714 EndTime=1543317774 NodeList=s19r2b10 NodeCnt=1 ProcCnt=48 </span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>JobId=4 UserId=3113 GroupId=8950 Name=sleep JobState=COMPLETED Partition=debug TimeLimit=00:15:00 SubmitTime=1543317694 StartTime=1543317714 EndTime=1543317774 NodeList=s19r2b12 NodeCnt=1 ProcCnt=48 </span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>JobId=8 UserId=3113 GroupId=8950 Name=sleep JobState=COMPLETED Partition=debug TimeLimit=00:02:00 SubmitTime=1543317699 StartTime=1543317804 EndTime=1543317824 NodeList=s19r2b14 NodeCnt=1 ProcCnt=48 </span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>JobId=9 UserId=3113 GroupId=8950 Name=sleep JobState=COMPLETED Partition=debug TimeLimit=00:01:00 SubmitTime=1543317699 StartTime=1543317804 EndTime=1543317824 NodeList=s19r2b16 NodeCnt=1 ProcCnt=48 </span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>JobId=5 UserId=3113 GroupId=8950 Name=sleep JobState=COMPLETED Partition=debug TimeLimit=00:15:00 SubmitTime=1543317694 StartTime=1543317804 EndTime=1543317864 NodeList=s19r2b09 NodeCnt=1 ProcCnt=48 </span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>JobId=6 UserId=3113 GroupId=8950 Name=sleep JobState=COMPLETED Partition=debug TimeLimit=00:15:00 SubmitTime=1543317694 StartTime=1543317804 EndTime=1543317864 NodeList=s19r2b10 NodeCnt=1 ProcCnt=48 </span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>JobId=7 UserId=3113 GroupId=8950 Name=sleep JobState=COMPLETED Partition=debug TimeLimit=00:15:00 SubmitTime=1543317694 StartTime=1543317804 EndTime=1543317864 NodeList=s19r2b12 NodeCnt=1 ProcCnt=48 </span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p> </o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>Would you expect this behavior?</span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p> </o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>Thanks.</span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p> </o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>Best regards,</span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p><p class=m6220139011529046574m3208256795183356166gmail-p1 style='margin:0in;margin-bottom:.0001pt;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal'><span class=m6220139011529046574m3208256795183356166gmail-s1><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'>Ana</span></span><span style='font-size:8.5pt;font-family:"Menlo",serif;color:black'><o:p></o:p></span></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><p class=MsoNormal><span style='color:#888888'>Ana Jokanovic, PhD<br>Barcelona Supercomputing Center<br>c/ Jordi Girona 1-3, K2M Building, 1st floor<br>08034 Barcelona - SPAIN<br>e-mail: <a href="mailto:anaj82@gmail.com" target="_blank">anaj82@gmail.com</a> or <a href="mailto:ana.jokanovic@bsc.es" target="_blank">ana.jokanovic@bsc.es</a><br>tel: +34 93 4137246</span><o:p></o:p></p></div></div></div></div></div></div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><p class=MsoNormal><span style='color:#888888'>Ana Jokanovic, PhD<br>Barcelona Supercomputing Center<br>c/ Jordi Girona 1-3, K2M Building, 1st floor<br>08034 Barcelona - SPAIN<br>e-mail: <a href="mailto:anaj82@gmail.com" target="_blank">anaj82@gmail.com</a> or <a href="mailto:ana.jokanovic@bsc.es" target="_blank">ana.jokanovic@bsc.es</a><br>tel: +34 93 4137246</span><o:p></o:p></p></div></div></div></div></div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><p class=MsoNormal><span style='color:#888888'>Ana Jokanovic, PhD<br>Barcelona Supercomputing Center<br>c/ Jordi Girona 1-3, K2M Building, 1st floor<br>08034 Barcelona - SPAIN<br>e-mail: <a href="mailto:anaj82@gmail.com" target="_blank">anaj82@gmail.com</a> or <a href="mailto:ana.jokanovic@bsc.es" target="_blank">ana.jokanovic@bsc.es</a><br>tel: +34 93 4137246</span><o:p></o:p></p></div></div></div></div></div></body></html>