locked
Setting the job state programmatically RRS feed

  • Question

  • Our SOA-based application can pass back application errors from the service to the client. These are our own internal errors rather than HPC errors.

    We have noticed that when this happens, the application state is marked "Finished" in the HPC Cluster Manager jobs table.

    Is there any way to programmatically set the job state to "Failed" instead?

    The ISchedulerJob.State property is read only. Is there any other way to change this state?

    Thanks.

    Tuesday, July 17, 2012 4:52 PM

Answers

  • Job state transitions can be requested programmatically by methods such as: IScheduler.CancelJob(), IScheduler.ConfigureJob(), IScheduler.SubmitJob(), and by task exit codes, etc...

    However, the state cannot be changed directly.

    d

    • Marked as answer by Derek Kivi 2 Wednesday, July 25, 2012 3:17 PM
    Tuesday, July 24, 2012 6:56 PM