diff --git a/workflow/rocoto/tasks.py b/workflow/rocoto/tasks.py index e18b45ef28..4f97ef1faa 100644 --- a/workflow/rocoto/tasks.py +++ b/workflow/rocoto/tasks.py @@ -226,7 +226,7 @@ def get_resource(self, task_name): native = '--export=NONE' if task_config['RESERVATION'] != "": native += '' if task_name in Tasks.SERVICE_TASKS else ' --reservation=' + task_config['RESERVATION'] - if task_config['CLUSTERS'] != "": + if task_config['CLUSTERS'] not in ["", '@CLUSTERS@']: native += ' --clusters=' + task_config['CLUSTERS'] queue = task_config['QUEUE_SERVICE'] if task_name in Tasks.SERVICE_TASKS else task_config['QUEUE']