Thanks to visit codestin.com
Credit goes to github.com

Skip to content

qstat -xml -j output changes after a job is altered with qalter -l #4

@kisielk

Description

@kisielk

In the output of qstat -xml -j when a job first exists in gridengine there is:

<JB_hard_resource_list>
    <qstat_l_requests>
      <CE_name>h_vmem</CE_name>
      <CE_valtype>4</CE_valtype>
      <CE_stringval>660M</CE_stringval>
      <CE_doubleval>692060160.000000</CE_doubleval>
      <CE_relop>0</CE_relop>
      <CE_consumable>1</CE_consumable>
      <CE_dominant>0</CE_dominant>
      <CE_pj_doubleval>0.000000</CE_pj_doubleval>
      <CE_pj_dominant>0</CE_pj_dominant>
      <CE_requestable>0</CE_requestable>
      <CE_tagged>0</CE_tagged>
    </qstat_l_requests>
</JB_hard_resource_list>

However, if qalter -l is used to alter the job, the same section of the output looks like:

<JB_hard_resource_list>
    <element>
      <CE_name>h_vmem</CE_name>
      <CE_valtype>4</CE_valtype>
      <CE_stringval>660M</CE_stringval>
      <CE_doubleval>692060160.000000</CE_doubleval>
      <CE_relop>0</CE_relop>
      <CE_consumable>1</CE_consumable>
      <CE_dominant>0</CE_dominant>
      <CE_pj_doubleval>0.000000</CE_pj_doubleval>
      <CE_pj_dominant>0</CE_pj_dominant>
      <CE_requestable>0</CE_requestable>
      <CE_tagged>0</CE_tagged>
    </element>
</JB_hard_resource_list>

So the <qstat_l_requests> tag now becomes an <element> tag.

I haven't verified if this is still the case on newer builds from github, but it exists in the previous GE release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions