[torquedev] change to dynamic resources

Garrick Staples garrick at usc.edu
Fri Feb 1 20:29:23 MST 2008


Dave asked for this change the other day...

Old dynamic resources: $PBS_SERVER_HOME/server_priv/resourcesdef could list
extra job resources that would be string-type, have no handling within TORQUE,
and just advise the scheduler.  The idea is that you don't have to edit
src/server/svr_attr_def.c and recompile.

New dynamic resources: new "extra_resc" server attribute does the same thing.
It is a list attribute that just contains resource names.  The old way is
entirely removed.

The downside is that you can't use them with resources_default/min/max.

The upside is that Moab can now easily add/remove resources as it wants, and we
can clean out the stale list of resources cluttering up
src/server/svr_attr_def.c.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20080201/34e00274/attachment.bin


More information about the torquedev mailing list