Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support ResourceRequirement with preemptive knowledge of available server resources #138

Open
fmigneault opened this issue May 13, 2020 · 0 comments
Assignees
Labels
project/DACCS Related to DACCS project (https://github.com/orgs/DACCS-Climate) triage/enhancement New feature or request triage/feature New requested feature.

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented May 13, 2020

Description

CWL supports the definition of ResourceRequirement for specifying min/max CPU cores, RAM, tmp/out directory sizes, which indicates known requirements to run the app.

This allows CWL to fail the processes preemptively if the machine doesn't fulfill the requirements to avoid running it with guaranteed failure, but this is not considered/supported at the moment for ADES/EMS.

It would be very convenient if a workflow could pre-fetch this kind of information from a remote ADES so it can validate that the process step will not fail at some later stage, but this would require from this ADES to provide the details via some HTTP route, and also consider where/how the applications are executed (eg: celery running docker, what are the subset-limitations for this compared to full server resources on which they are running, and what if they are shared across jobs...).

Given multiple ADES DataSources, the runtimeContext.select_resources hook could be used to select where to send an execution given a set of minimum requirements.

References

@fmigneault fmigneault added triage/enhancement New feature or request triage/feature New requested feature. labels May 13, 2020
@fmigneault fmigneault self-assigned this May 13, 2020
@fmigneault fmigneault added the project/DACCS Related to DACCS project (https://github.com/orgs/DACCS-Climate) label May 13, 2020
fmigneault added a commit that referenced this issue Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project/DACCS Related to DACCS project (https://github.com/orgs/DACCS-Climate) triage/enhancement New feature or request triage/feature New requested feature.
Projects
None yet
Development

No branches or pull requests

1 participant