Some of our compute nodes have multiple versions of specific resources and
I'm looking for an easy way to enable users match their job requirement
against the per-node list.

For example software package "foobar" might exist on the following nodes
with these versions:

        node_a:         foobar 7, 7.5
        node_b:         foobar 7, 7.5
        node_c:         foobar 6.5
        node_d:         foobar 7.5, 8
        node_e:         foobar 7.5, 8

Is there a way to define a per-host complex attribute that consists of
a list of discrete values, so users can construct a submit command that
will do an execat (non-regex) match against the list?

Using qconf syntax, this could be:

        qconf -mattr exechost complex_values versions=[7|7.5] node_a
        qconf -mattr exechost complex_values versions=[6.5] node_c
        qconf -mattr exechost complex_values versions=[7.5|8] node_d

Then a user could run:
        
        qsub -l foobar=7.5

and the job would run on either node_a or node_d.

Is this possible wtih complex_values using SGE 8.1.6?

I think I could achieve this with a JSV that takes the user-supplied
requirement for the 'foobar' version and does a lookup against an external
list, but that's not ideal.

Thanks,

Mark
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to