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 CDGetSubmittedJobsInformation(xArray, chunkIndex, FOLDER)

Description:

Get information of submitted jobs of a specific chunk.

Input:

- xArray: X values of the jobs of current chunk.
- chunkIndex: the index of the chunk.
- FOLDER: folder of the chunk.

Process:

1. Open Condor log file of the current chunk.
2. Collect ID of the submitted jobs.
3. Add X values and IDs to hashtable XandProcessID.

Output:

- newJobList: list of submitted jobs of the current chunk.
- logPos: current position in the log file of the current chunk that application has checked.
- XandProcessID: hashtable with keys are X values, and values are IDs of the submitted jobs.
- status: Boolean type. True if all the processes have completed, else return false.