Am 04.08.2011 um 05:09 schrieb Harry Mangalam: > On Wednesday 03 August 2011 17:20:26 you wrote: > > Am 04.08.2011 um 02:01 schrieb Harry Mangalam: > > > and the script: > > > <http://moo.nac.uci.edu/~hjm/node_sensors.sh> > > > > Oh, `scut` is something new - what does it do? > Sorry - scut is a utility I wrote that's like 'cut', but arguably better for > many/my purposes:
Ok. > <http://moo.nac.uci.edu/~hjm/scut_cols_HOWTO.html> > > Also: the script is > > loooking in / - is this your scratch space, i.e. no dedicated > > partition? > that's right. Perhaps not the best situation, but gives us the most /scratch > space. Ok. > > As you made scr_free consumable, it's also necessary to put an > > initial value in each exechost's definition. > I made it consumable because the incoming job will consume /scratch space. > Is that an incorrect assumption? If you make it consumable, you must attach a fixed value in each exechost's definition under complex_values. It needs something from where it can be consumed. In `qhost -F` it will be prefixed by a "hc:" then for a host-consumable. When you define a load sensor in addition, it might change to "hl:" if its value is lower than the internal bookkeeping of SGE. > If it's not marked consumable, does SGE just query the current /scratch > space? And is that a better approach? > > Unless you always want to disregard the unit G, take care not to intermix G > > and plain Bytes. > Yes, I was confused about this. Does the MEMORY type consider 'G' to be a > defined type of suffix? Should I append the 'G' for this kind of query? The unit for memory is bytes, and you can specify G or M in case you want to request something in this magnitude. It might be easier for the user to specify the unit all the time. Nevertheless: if you scale it for you to read a plain value as GB all the time, then you could define the load sensor accordingly, and also the assigned value of the complex_value in the exechost definiton. But keep in mind, that in case you want to use h_vmem or alike later on then you you have to specify the unit unless you want to specify plain bytes. This might be confusing. -- Reuti > Many thanks for your help. > Harry > -- > Harry Mangalam - Research Computing, OIT, Rm 225 MSTB, UC Irvine > [ZOT 2225] / 92697 Google Voice Multiplexer: (949) 478-4487 > MSTB Lat/Long: (33.642025,-117.844414) (paste into Google Maps) > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
