Trees | Indices | Help |
|
---|
|
object --+ | Workflow --+ | RestartWorkflow
This class will create a workflow for running restart jobs
|
|||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
bool |
|
||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
This will set the initialized flag of a workunit. If it does not have a checkpoint_fn it will be initialized to False. If the checkpoint file indicates that a stage has failed the initialized falg gets toggled. |
Remove units that are properly initialized since they do not need to be restarted. Return True if we have units to work on so we are gaurenteed to have at least one valid work unit to process if stageOne passes. @return : We return True if we successfully prepared a job, False otherwise
|
Examine granularity of restart, for now we just restart the leg that has failed. In the future the else branch can handle more fine grain restart. |
First check if it is in stage 3 dir if not try to copy it from stage 2 dir If checkpoint is completely missing we have to try and start from stage 2 this happens if the file system chokes
|
This is a bit complicated due to adding the ability to extend simulations multiple times. If we do not find the _extention.msj then we will use the original msj otherwise we will use the extension msj.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon May 19 23:05:09 2014 | http://epydoc.sourceforge.net |