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

    Frage

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

    Dienstag, 29. Mai 2018 22:52

Alle Antworten

  • 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

    Mittwoch, 30. Mai 2018 08:45
  • 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!

    Mittwoch, 30. Mai 2018 20:23
  • That's valid, We will look into implement this in the future release

    Qiufang Shi

    Montag, 4. Juni 2018 03:07