How to get HPC Job error? RRS feed

  • Question

  • Hi,

    I'm using HPC 2016 and its APIs (Microsoft.Hpc.Scheduler) in my C# code. I'd like to display the entire error when a submitted job fails (e.g. an Exception). How can I get this message?

    Thursday, May 28, 2020 3:33 PM

All replies

  • Hi mkt_Z,

    You may use ISchedulerJob.ErrorMessage or ISchedulerTask.ErrorMessage for system error. If you mean detailed task error, you may check ISchedulerTask.Output or ISchedulerTask.StdErrFilePath for redirection.


    Yutong Sun

    Friday, May 29, 2020 2:37 PM