[torquedev] [Bug 118] New: Dynamic Consumable Generic Resources dose not work as documented
bugzilla-daemon at supercluster.org
bugzilla-daemon at supercluster.org
Wed Mar 30 08:26:07 MDT 2011
http://www.clusterresources.com/bugzilla/show_bug.cgi?id=118
Summary: Dynamic Consumable Generic Resources dose not work as
documented
Product: TORQUE
Version: 3.0.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: pbs_mom
AssignedTo: knielson at adaptivecomputing.com
ReportedBy: mike.coyne at paccar.com
CC: torquedev at supercluster.org
Estimated Hours: 0.0
Created an attachment (id=75)
--> (http://www.clusterresources.com/bugzilla/attachment.cgi?id=75)
torque3.0_shell_escape.patch seems to correct the issue
Dynamic Consumable Generic Resources
http://www.adaptivecomputing.com/resources/docs/torque/a.cmomconfig.php
when trying to use a dynamic "shell escape" in the mom's config file the
resource shows up as
name:!/my/script in the gres instead of the returned value of the script
the same issue i believe exits in 2.5.1 as well .
attached is a patch to possibly correct the issue. it calls
conf_res(cp->c_u.c_value,NULL) to expand the shell escape prior to putting it
in
the gres line. conf_res returns a pointer to what i assume is a static tempory
string as i did not find a instance of the returned pointer being free'd could
be wrong though..
--
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the torquedev
mailing list