5.648 Script Order of Execution

When jobs start, the order of script execution is prologue followed by prologue.user. On job exit, the order of execution is epilogue.user followed by epilogue unless a job is canceled. In that case, epilogue.precancel is executed first. epilogue.parallel is executed only on the Sister nodes when the job is completed.

The epilogue and prologue scripts are controlled by the system administrator. However, beginning in Torque version 2.4 a user epilogue and prologue script can be used on a per job basis. (See Per Job Prologue and Epilogue Scripts for more information.)

The node health check may be configured to run before or after the job with the "jobstart" and/or "jobend" options. However, the job environment variables do not get passed to node health check script, so it has no access to those variables at any time.

Root squashing is now supported for epilogue and prologue scripts.

Related Topics 

© 2016 Adaptive Computing