[torquedev] patch: pbsnodes xml output does not include node name
Toni L. Harbaugh-Blackford [Contr]
harbaugh at abcc.ncifcrf.gov
Wed Jan 31 05:38:51 MST 2007
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
More information about the torquedev
mailing list