[Mauiusers] setting busy status in funciotn of disk space and
tomr at intrinsity.com
Mon Sep 22 11:29:02 MDT 2008
We have this in our mom configs:
This makes the size resource hold the space available in /tmp
Then we do:
qsub -l ddisk=5gb
Or you could set a default for ddisk for a queue or server.
It should only run on nodes with the proper amount of free
space. I'm sure you can do this other ways, but I don't have
experience with those. Hopefully you can adapt this to what
Arnau Bria wrote:
> On Fri, 19 Sep 2008 11:40:50 -0500
> Tom Rudwick wrote:
> Hi Tom,
>> If you have torque keeping track of disk space, you can just put
>> a default requirement on a queue or the server that specifies a
>> required free disk amount. Under that case, no jobs should run on
>> nodes that do not have enough free disk space.
> Ok, I have defined a "dynamic" resource
> at /var/spool/pbs/mom_priv/config and it's monitored by torque:
> cat /var/spool/pbs/mom_priv/config
> espacio !/usr/local/sbin/espacio.sh
> $ pbsnodes td008.pic.es
> state = free
> np = 8
> properties = slc4,magic
> ntype = cluster
> status = opsys=linux,uname=Linux td008.pic.es 2.6.9-42.0.3.ELsmp
> #1 SMP Thu Oct 5 15:04:03 CDT 2006 i686,sessions=? 0,nsessions=?
> Now, I try to submit a job requesting that resource, but I think I don't
> know how to specify it correctly:
> echo sleep 5|qsub -l "other=espacio=1234567891234" -q short
> I'd like to define it as "size" default resource, that
> Specifies that the available and configured disk space in the <FS> in
> kb... is it possible?
> If not, I'm thinking that I'll use size in certain nodes (the ones that
> have small disks) and nothing in others, but, could someone predict
> toque/maui behaivour when sending jobs reqeusting a resource that some
> nodes have and some not?
> thanks for your reply.
> mauiusers mailing list
> mauiusers at supercluster.org
More information about the mauiusers