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 MLUpdateJobStatusInChunk(htJobs, chunkIndex, LOG_FILE, JOB_LIST, FOLDER)

Description:

Update information of terminated jobs of a chunk

Input:

- htJobs: list of terminated jobs, divided by chunk index.
- chunkIndex: index of the chunk.
- LOG_FILE: xml log file name.
- JOB_LIST: list of current submitted Condor jobs.
- FOLDER: directory of the chunk.

Process:

1. Update status of terminated jobs in the chunk.
2. Remove terminated jobs from the list of current submitted Condor jobs.

Output:

- status: Boolean type. True if all the processes have completed, else return false.
- outJOB_LIST: current list of submitted Condor jobs (doesn't have terminated jobs anymore).