Project

General

Profile

Actions

Feature #8017

closed

[Crunch2] support runtime constraints

Added by Peter Amstutz over 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
-
Target version:
Story points:
1.0
Release:
Release relationship:
Auto

Description

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.

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


Subtasks 3 (0 open3 closed)

Task #9088: Implement in slurm dispatcherResolvedRadhika Chippada05/03/2016Actions
Task #9087: Specify minimum constraintsResolvedPeter Amstutz05/03/2016Actions
Task #9089: Review branch: 8017-slurm-runtime-constraintsResolvedPeter Amstutz05/09/2016Actions
Actions

Also available in: Atom PDF