An interface to mmjobbe. Because this class does nothing useful if not
already running under jobcontrol, all methods should be no-ops if there
is no job_id attribute.
|
__init__(self)
Get the job_id and jobdir pathname of the current Job Control process
(only meaningful if running under Job Control). |
|
|
|
getJob(self)
Retrieve a read-only instance of a job record (as an instance of the
Job class). |
|
|
|
|
|
__del__(self)
Clean up library initializations. |
|
|
|
setStructureOutputFile(self,
file)
Set the backend structure file. |
|
|
|
addOutputFile(self,
file)
Add an output file for job control to copy back to the launch host. |
|
|
|
addRequiredOutputFile(self,
file)
Add a required output file for job control to copy back to the launch
host. |
|
|
|
addLogFile(self,
file)
Add a log file. |
|
|
|
addMonitorFile(self,
file)
Add a monitor file. |
|
|
|
setStructureMonitorFile(self,
file)
set structure monitor file. |
|
|
|
copyOutputFile(self,
path)
Copy a completed output file or directory back to the launch
directory. |
|
|
|
syncdb(self)
tell jmonitor to update the job record immediately. |
|
|
|
|
|
|
|
sendMessageToSubjob(self,
message,
jobid)
Send message <message> (string) to the job specified as
<jobid>. |
|
|
|
addMessageName(self,
msgname)
Add message type to be queued for the backend to read using
nextMessage(). |
|
|
|
nextMessage(self)
Return next unread message from the queue if there is one or None if
there are no messages. |
|
|
|
setJobProgress(self,
steps=0,
totalsteps=0,
description='
' )
Tell jmonitor to set the job progress (steps out of total steps). |
|
|
|
deleteSubJob(self,
jobid)
Tell jmonitor of the backend to delete the subjob field from the
parent job record. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|