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

Hotfix/tags #2300

Merged
merged 12 commits into from
Jan 28, 2021
5 changes: 5 additions & 0 deletions src/radical/pilot/agent/scheduler/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,11 @@ def schedule_unit(self, unit):
is_last = False
tag = cud.get('tag')

# `tag` will soon be deprecated - check also for `tags: {colocate:uid}`
# as the current way to specify colocation requests
if not tag:
tag = cud.get('tags', {}).get('colocate')

# what remains to be allocated? all of it right now.
alc_slots = list()
rem_slots = req_slots
Expand Down