[torquedev] patch: pbsnodes xml output does not include node name
Garrick Staples
garrick at clusterresources.com
Wed Feb 14 00:04:23 MST 2007
On Thu, Feb 01, 2007 at 12:27:01AM -0700, David B Jackson alleged:
> Toni,
>
> Thanks for the patch! It looks clean and has been rolled into the
> TORQUE 2.2 development release.
Added to 2.1-fixes too.
> Dave
>
> >
> > Hi-
> >
> > The pbsnodes xml output does not include the node names, so there is
> > no way to tell which node is which. Below is a patch to include
> > the node name as an element of the form <name>...</name> at the same
> > level as the other node attributes.
> >
> > Thanks,
> > Toni
> >
> >
> > --- torque-2.2.0-snap.200611291634/src/cmds/pbsnodes.c_orig 2006-11-28
> > 15:41:49.000000000 -0500
> > +++ torque-2.2.0-snap.200611291634/src/cmds/pbsnodes.c 2007-01-31
> > 07:04:05.000000000 -0500
> > @@ -664,6 +664,10 @@
> >
> > MXMLAddE(DE,NE);
> >
> > + AE = NULL;
> > + MXMLCreateE(&AE,"name");
> > + MXMLSetVal(AE,pbstat->name);
> > + MXMLAddE(NE,AE);
> > for (pat = pbstat->attribs;pat;pat = pat->next)
> > {
> > AE = NULL;
> >
> > -------------------------------------------------------------------
> > Toni Harbaugh-Blackford harbaugh at abcc.ncifcrf.gov
> > System Administrator
> > Advanced Biomedical Computing Center (ABCC)
> > National Cancer Institute
> > Contractor - SAIC/Frederick
> > _______________________________________________
> > torquedev mailing list
> > torquedev at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/torquedev
> >
>
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev
More information about the torquedev
mailing list