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 MLUpdateProcessIDInLogFile(chunkIndex, LOG_FILE, XandProcessID, FOLDER)
Description:
Update ID of the submitted Condor jobs into xml log file of a chunk.
Input:
- chunkIndex: index of the current chunk.
- LOG_FILE: xml log file name.
- XandProcessID: hashtable contains X values as keys, and Condor job IDs as values.
- FOLDER: folder of the current chunk.
Process:
1. Open xml log file.
2. Update job IDs into the log file.
Output:
- status: Boolean type. True if all the processes have completed, else return false.
|