locked
How to get HPC Job error? RRS feed

  • Pertanyaan

  • 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?

    Kamis, 28 Mei 2020 15.33

Semua Balasan

  • 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.

    Regards,

    Yutong Sun

    Jumat, 29 Mei 2020 14.37