MATLAB-CONDOR, 2D GUI VERSION 2

CONDORMATLAB.m

CDCheckLogFiles
CDCheckLogFileInChunk
CDGenerateCondorSubmitFile
CDGetOutput
CDGetProcessID
CDGetProcessIndex
CDGetSubmittedJobsInformation
CD_ResumeJobsInChunk
CDSubmitDataToCondor
CDSubmitJobsInChunk
MLAddFolder
MLAddJobActivity
MLAddUserActivity
MLCheckInput
MLClearOldData
MLCollectJobInfo
MLCollectJobInfoInChunk
MLDisplayError
MLDisplayInformation
MLDivideJobsToChunk
MLDrawCompleteJobHistogram
MLDrawCurrentData
MLGenerateAllLogFiles
MLGenerateAppSettings
MLGenerateJobNode
MLGenerateLogFile
MLGeneratePath
ML_GetAllJobsInXMLLogFile
MLGetCompleteJobs
MLGetIncompleteJobFromOneChunk
MLGetSettingInfo
MLGetTime
MLInitGlobalParams_DrawGraph
MLInitGlobalParams_ResumeGraph
ML_IsSubmittedChunk
MLRemoveSpace
MLSwapElements
MLUpdateJobStatus
MLUpdateJobStatusInChunk
MLUpdateLogFiles
MLUpdateProcessIDInLogFile
MLWriteData

function MLUpdateJobStatus(job, LOG_FILE, FOLDER)

Description:

Update information of a terminated job.

Input:

- job: Condor job object that has all information of a Condor job.
- LOG_FILE: xml log file name.
- FOLDER: directory of the xml log file.

Process:

1. Open xml log file.
2. Find the specific job that has the same job ID with object job.
3. Update information of the job.

Output:

- status: Boolean type. True if all the processes have completed, else return false.