On Sun, Jan 13, 2013 at 11:12 AM, Reuti <[email protected]> wrote: > Am 12.01.2013 um 00:23 schrieb Simon Matthews: > >> On Fri, Jan 11, 2013 at 2:49 PM, Reuti <[email protected]> wrote: >>> Am 11.01.2013 um 23:15 schrieb Scott Bunnell: >>> >>>> On Fri, 11 Jan 2013, Simon Matthews wrote: >>>> >>>>> On Fri, Jan 11, 2013 at 12:23 PM, Scott Bunnell <[email protected]> >>>>> wrote: >>>>>> On Fri, 11 Jan 2013, Simon Matthews wrote: >>>>>> >>>>>>> How would I specify a job in such a way that the job will only get >>>>>>> scheduled if there is a certain minimum free memory on the target exec >>>>>>> host? >>>>>> >>>>>> >>>>>> >>>>>> qsub -l mem_free=XG >>>>>> >>>>> >>>>> >>>>> It is possible to make a similar global setting for a queue? >>> >>> As a global request for submissions or a "general" resource being available >>> per exechost resp. per queue instance? >> >> To clarify, we have a couple of queues: "SmallTestcases" and >> "BigTestcases". We don't use SGE of user jobs, just distributed >> regressions. I don't want any job to be scheduled in the BigTestcases >> queue, unless the exec host on which it is scheduled has at least 3GB >> of free memory at the time it is started on the host. > > Then you can attach the load value mem_free to the load_thesholds list and > the queue instance will be put into "alarm state", means: no new jobs will > start thereon but running ones will continue: > > $ qconf -sq BigTestcases > ... > load_thresholds mem_free=3G
Thanks. Simon _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
