locked
Wrong taskId in SchedulerTask.TaskStateChange delegate RRS feed

  • Question

  • It seems that the TaskId passed to this delegate is some sort of system-wide task id (probably the TaskId.SystemId mentioned in the documenation and not available in my implementation).

     

    How can I get an ISchedulerTask from this task id?

     

    Obviously Job.OpenTask(new TaskId(jobId, jobTaskId, 1)) fails as although the jobId is fine, the jobTaskId is invalid and it raises the exception:

    Microsoft.Hpc.Scheduler.Properties.SchedulerException] {"Task Id is not valid"}

     

     

    As a related question:  Shouldn't the instance id (for parametric tasks) be included in this delegate?

     

    MTIA

    Andy

    Thursday, April 10, 2008 11:32 AM

Answers

  • Maxitone,

    We're aware of this problem and working on a fix.

     

    Thanks,

    Josh

    Thursday, April 10, 2008 6:04 PM
    Moderator