Hi Jianwen,

It is done by the select plugin. For example check the linear select plugin 
here: 
https://github.com/SchedMD/slurm/blob/master/src/plugins/select/linear/select_linear.c

Check the function extern int select_p_job_test() at line 3563. You can see the 
details of this function in the comments above it.

Best

--------------------
Zia Ul Huda
Forschungszentrum Jülich GmbH
Institute for Advanced Simulation (IAS)
Jülich Supercomputing Centre (JSC)
Wilhelm-Johnen-Straße
52425 Jülich, Germany

Phone: +49 2461 61 96905
E-mail:  z.h...@fz-juelich.de<mailto:z.h...@fz-juelich.de>

WWW: http://www.fz-juelich.de/ias/jsc/


JSC is the coordinator of the
John von Neumann Institute for Computing
and member of the
Gauss Centre for Supercomputing

--------------------

On 10. Oct 2020, at 11:38, SJTU 
<weijian...@sjtu.edu.cn<mailto:weijian...@sjtu.edu.cn>> wrote:

Hi,

`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 .

Thank you!

Jianwen



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to