Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:disk_reservation [2016/11/29 22:16] – [Admission rules] neyronwiki:disk_reservation [2016/11/29 23:01] – [Server prologue/epilogue] neyron
Line 64: Line 64:
 FROM resources r FROM resources r
   LEFT JOIN assigned_resources a ON a.resource_id = r.resource_id   LEFT JOIN assigned_resources a ON a.resource_id = r.resource_id
-  LEFT JOIN jobs j ON j.assigned_moldable_job = a.moldable_job_id AND j.state 'Running' $EPILOGUE_EXCEPT_JOB+  LEFT JOIN jobs j ON j.assigned_moldable_job = a.moldable_job_id AND j.state in ('Launching','Running'$EPILOGUE_EXCEPT_JOB
 WHERE WHERE
       r.type = 'disk' AND       r.type = 'disk' AND
Line 77: Line 77:
       )       )
 GROUP BY r.host, j.job_user GROUP BY r.host, j.job_user
-ORDER BY r.host ASC+ORDER BY r.host ASC, j.job_user DESC
 EOF EOF
 } }
Line 108: Line 108:
 ==== Admission rules ==== ==== Admission rules ====
 In order to:  In order to: 
-  simplify the user interface +  simplify the user interface 
-  allow one to submit a compute job before the disk job actually starts+  allow one to submit a compute job before the disk job actually starts
 a job type ''withdisk'' is added in admission rules. This type of job will be used for the compute job submission. a job type ''withdisk'' is added in admission rules. This type of job will be used for the compute job submission.
  
wiki/disk_reservation.txt · Last modified: 2016/12/02 18:33 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki