Hi,

Am 03.08.2011 um 16:19 schrieb Harry Mangalam:

> I'm running SGE 6.2 and a user has the need to specify minimum scratch space. 
>  I thought the specification for this check in a qsub script is 
> #$ -l scr_free=XG 

where did you get this "scr_free" from?


> # need X GB scratch space
> 0r 'qsub -l scr_free=XG <etc> '
> However this does not work, returning the error:
> $ qsub -l scr_free=2G simple.sh                                               
>                                                                               
>                  
> Unable to run job: unknown resource "scr_free".
> Exiting.
> What is the correct string or option for this requirement?
> (there's no such string in the man pages, and while there are google hits to 
> this, I'm afraid that they might be circular refs from an original mistake..?)
> Or is this a locally defined attribute that has to be configured?

Correct.


> (In the Complex Configuration screen, there is no predefined 'scr_free' 
> attribute..)

It can be implemented as a consumable resource or a load_sensor checking the 
remaining space in your designated scratch directory (or also a combination of 
both while the more restrictive limit will be used).


> If the latter, can this be defined on a per-node basis (as the result of a 
> script) or does it have to be a static value?

Even as static value it can be defined per node in the exechost definition 
besides being a load sensor. Neverthless there is an additonal entry possible 
in the global exechost confgiuration in case you have a global (common) scratch 
space too.

-- Reuti

Hint: http://arc.liv.ac.uk/SGE/howto/loadsensor.html


>  IT appears to be a static value only..
> hjm
> -- 
> 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

Reply via email to