[gold-users] query requested resources

Scott Jackson scott at clusterresources.com
Thu Jan 31 10:55:16 MST 2008


Not by default. You would just need to create the additional attribute
in the Job object and then get your scheduler or resource manager to
pass it in when it invokes the Gold charge.

Something like:

goldsh Attribute Create Object=Job Name=WallclockLimit DataType=Integer
Description=\"Wallclock Limit\"

Then you can pass that into charge like: 

gcharge -X WallclockLimit=3600 -p chemistry -m blue -u scottmo -P 8 -t
1000 PBS.1234.0

To see it, you could then modify your gold.conf:

job.show =
Id,JobId,User,Project,Machine,Queue,QualityOfService,Stage,Charge,Processors,Nodes,WallDuration,WallclockLimit,StartTime,EndTime,Description

So that:

$ glsjob -J PBS.1234.0
Id JobId      User    Project   Machine Queue QualityOfService Stage
Charge Processors Nodes WallDuration WallclockLimit StartTime  EndTime
Description 
-- ---------- ------- --------- ------- ----- ---------------- ------
------ ---------- ----- ------------ -------------- ----------
---------- -----------   
10 PBS.1234.0 scottmo chemistry blue                           Charge
8000 8                1000         3600           2007-06-01
2007-06-02             

Scott


On Thu, 2008-01-31 at 11:26 -0500, Brock Palen wrote:
> Does gold store the requested walltime in its database anyplace?  Or  
> does it only store the final charge in g_charge ?
> 
> Brock Palen
> Center for Advanced Computing
> brockp at umich.edu
> (734)936-1985
> 
> 
> _______________________________________________
> gold-users mailing list
> gold-users at supercluster.org
> http://www.supercluster.org/mailman/listinfo/gold-users



More information about the gold-users mailing list