<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Jianwen,
<div class=""><br class="">
</div>
<div class="">It is done by the select plugin. For example check the linear select plugin here: <a href="https://github.com/SchedMD/slurm/blob/master/src/plugins/select/linear/select_linear.c" class="">https://github.com/SchedMD/slurm/blob/master/src/plugins/select/linear/select_linear.c</a></div>
<div class=""><br class="">
</div>
<div class="">Check the function <span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);">extern</span><span style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);" class="">
</span><span class="pl-k" style="box-sizing: border-box; color: rgb(215, 58, 73); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);">int</span><span style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);" class="">
</span><span class="pl-en" style="box-sizing: border-box; color: rgb(111, 66, 193); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);">select_p_job_test</span><span style="color: rgb(36, 41, 46); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-variant-ligatures: normal; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 255, 255);" class="">()</span><span style="color: rgb(0, 0, 0);" class=""> at
 line 3563. You can see the details of this function in the comments above it.</span></div>
<div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class="">
</span></font></div>
<div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class="">Best</span></font></div>
<div class=""><font color="#000000" class=""><span style="caret-color: rgb(0, 0, 0);" class=""><br class="">
</span></font>
<div class="">
<div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
--------------------</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
Zia Ul Huda<br class="">
Forschungszentrum Jülich GmbH<br class="">
Institute for Advanced Simulation (IAS)<br class="">
Jülich Supercomputing Centre (JSC)<br class="">
Wilhelm-Johnen-Straße<br class="">
52425 Jülich, Germany<br class="">
<br class="">
Phone: +49 2461 61 96905<br class="">
<a href="mailto:z.huda@fz-juelich.de" class="">E-mail:  z.huda@fz-juelich.de</a><br class="">
<br class="">
WWW: http://www.fz-juelich.de/ias/jsc/<br class="">
<br class="">
<br class="">
JSC is the coordinator of the<br class="">
John von Neumann Institute for Computing<br class="">
and member of the<br class="">
Gauss Centre for Supercomputing <br class="">
<br class="">
--------------------</div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 10. Oct 2020, at 11:38, SJTU <<a href="mailto:weijianwen@sjtu.edu.cn" class="">weijianwen@sjtu.edu.cn</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hi,<br class="">
<br class="">
`scontrol show jobid xxx` shows SLURM's estimation of StartTime for a pending job. I wonder where I can find the code implementation of StartTime .<br class="">
<br class="">
Thank you!<br class="">
<br class="">
Jianwen<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<font face="Arial" color="Black" size="1"><br>
------------------------------------------------------------------------------------------------<br>
------------------------------------------------------------------------------------------------<br>
Forschungszentrum Juelich GmbH<br>
52425 Juelich<br>
Sitz der Gesellschaft: Juelich<br>
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498<br>
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke<br>
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),<br>
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt<br>
------------------------------------------------------------------------------------------------<br>
------------------------------------------------------------------------------------------------<br>
<br>
</font>
</body>
</html>