xenon-middleware / xenon

A middleware abstraction library that provides a simple programming interface to various compute and storage resources.
http://xenon-middleware.github.io/xenon/
Apache License 2.0
34 stars 17 forks source link

Gridengine unable to parse complex slot definitions #606

Closed sverhoeven closed 6 years ago

sverhoeven commented 6 years ago

Normally a slot coming back from sconf -sq <queue name> is an integer. However more complex slot definitions are also possible see https://github.com/NLeSC/xenon-cli/issues/50

The grid engine queue parse should be able to handle the following as well

slots                 12,[@cores_36=36],[@cores_12=12],[@cores_48=48], \
                      [@cores_24=24],[@cores_40=40]
jmaassen commented 6 years ago

Will fix.

Any clue what the semantics of the line above are by the way ?

sverhoeven commented 6 years ago

On http://gridscheduler.sourceforge.net/htmlman/htmlman5/queue_conf.html it says it should be a number:

  slots
     The maximum number of concurrently executing jobs allowed in
     the queue.  Type is number, valid values are 0 to 9999999.

'@' is used to define host groups.