Project

General

Profile

Actions

Feature #8558

closed

[CWL] arvados-cwl-runner propagates ResourceRequirement

Added by Peter Amstutz about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
-
Target version:
Story points:
0.5

Description

Propagate draft-3 ResourceRequirement (cores/ram) to crunch runtime_constraints (min_cores_per_node, min_ram_mb_per_node) in arvados-cwl-runner.

References:

https://common-workflow-language.github.io/draft-3/CommandLineTool.html#ResourceRequirement

http://doc.arvados.org/api/schema/Job.html

In arvados/sdk/cwl/arvados_cwl/__init__.py ArvadosJob.run() you can acces self.builder.resources which is a dict containing keys for "cores", "ram", "tmpdirSize" and "outdirSize". These need to be translated to the appropriate arvados keys in runtime_constraints.


Subtasks 1 (0 open1 closed)

Task #8611: Review branch: 8558-cwl-propagate-resource-reqResolvedRadhika Chippada03/08/2016Actions
Actions

Also available in: Atom PDF