none
HPC 2016: Unable to get JobPropertyIds.ProcessIds for Linux nodes

    Question

  • Hi everyone,

    Has anyone tried using JobPropertyIds.ProcessIds for Linux nodes? I get results for Windows nodes but not for Linux nodes:

    foreach (KeyValuePair<string, string> id in (Dictionary<string, string>)propertyRow[JobPropertyIds.ProcessIds].Value)

    {

    Console.Write("{0}({1}", id.Key, id.Value);

    }

    Thanks!

    Tuesday, May 29, 2018 10:52 PM

All replies

  • Hi, we will have a check at our side and report back in this thread.

    Meanwhile, could you share with us the scenario you need to know the ProcessIds for job running on linux?


    Qiufang Shi

    Wednesday, May 30, 2018 8:45 AM
  • Hi Qiufang,

    For our setup, all the jobs submitted to HPC are running on a license server. If a low priority job needs to be cancelled because of a high priority job, our system then tries to get a list of jobs from the license server that can be cancelled. I need to check first if any of the process IDs from the license server is running on the HPC cluster. I encountered this issue since it happens to be that the low priority job that needs to be cancelled is running on the Linux node. Since HPC's JobPropertyIds.ProcessIds doesn't report back the process ids for jobs running in Linux, our system thinks we can't cancel any job.

    Hope this is clear and there is a solution for this. Thanks in advance!

    Wednesday, May 30, 2018 8:23 PM
  • That's valid, We will look into implement this in the future release

    Qiufang Shi

    Monday, June 04, 2018 3:07 AM