Feature #8017

Updated by Tom Clegg about 6 years ago

Propagate runtime constraints from Container to slurm in crunch-dispatch-slurm.

See runtime_constraints at [[Containers API]]

We should support (at least) the following cases:
* request 12 GB RAM, do not specify number of CPU cores: {"ram":12000000000}
* request 12 GB RAM and 4 CPU cores: {"ram":12000000000, "vcpus":4}
* do not propagate any constraints: {}

The Container record's runtime_constraints hash is expected to have a numeric value -(or null/missing)- (or null/missing) for each element -- never a range of acceptable values like the ContainerRequest examples.

Every Container record is guaranteed to have a value for "ram" and "vcpus" by the time it's eligible for dispatch.