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

  • 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);



    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 4, 2018 3:07 AM
  • HI JSF2018, 

      Just let you know that we have the fix in place and will be included in our next release (HPC Pack 2016 Update 3) in following months.

    Qiufang Shi

    Saturday, April 27, 2019 5:27 AM
  • Thank you Qiufang!
    Thursday, October 24, 2019 3:48 PM