Project

General

Profile

Feature #8017

Updated by Tom Clegg almost 8 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) for each element -- never a range of acceptable values like the ContainerRequest examples. 

Back