Skip to content

Commit

Permalink
remove --export=ALL from 'native'
Browse files Browse the repository at this point in the history
  • Loading branch information
weihuang-jedi committed Jul 25, 2024
1 parent 96f73ba commit a33a3be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflow/rocoto/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ def get_resource(self, task_name):
native += ':shared'
elif scheduler in ['slurm']:
if task_config.get('is_exclusive', False):
- native = '--exclusive'
- else:
- native = '--export=NONE'
native = '--exclusive'
else:
native = '--export=NONE'
if task_config['RESERVATION'] != "":
native += '' if task_name in Tasks.SERVICE_TASKS else ' --reservation=' + task_config['RESERVATION']
if task_config.get('CLUSTERS', "") not in ["", '@CLUSTERS@']:
Expand Down

0 comments on commit a33a3be

Please sign in to comment.