diff --git a/workflow/rocoto/tasks.py b/workflow/rocoto/tasks.py index 06000338be..85541bb354 100644 --- a/workflow/rocoto/tasks.py +++ b/workflow/rocoto/tasks.py @@ -153,8 +153,11 @@ def get_resource(self, task_name): native = None if scheduler in ['pbspro']: native = '-l debug=true,place=vscatter' + # Set either exclusive or shared - default on WCOSS2 is exclusive when not set if task_config.get('is_exclusive', False): native += ':exclhost' + else: + native += ':shared' elif scheduler in ['slurm']: native = '--export=NONE'