Skip to content

Commit e981229

Browse files
committed
Reserve all processes for BSF calculation
This seems to be necessary, at least at high res, to not run out of memory.
1 parent f7bb979 commit e981229

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mpas_analysis/ocean/climatology_map_bsf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,11 @@ def __init__(self, mpas_climatology_task, parent_task,
216216
variable_list, seasons, comparison_grid_names,
217217
subtaskName=subtask_name, vertices=True)
218218

219+
# this reequires a lot of memory so let's reserve all the available
220+
# tasks
221+
parallelTaskCount = self.config.getint('execute', 'parallelTaskCount')
222+
self.subprocessCount = parallelTaskCount
223+
219224
self.min_depth = min_depth
220225
self.max_depth = max_depth
221226
self.include_bolus = None

0 commit comments

Comments
 (0)