From 5ffd2c04f3bc6b690f840e23eb4cd2739968f00a Mon Sep 17 00:00:00 2001 From: Lorenzo Chierici Date: Tue, 9 Apr 2024 21:26:03 +0200 Subject: [PATCH] Depletion restart with mpi (#2778) Co-authored-by: Paul Romano --- openmc/deplete/coupled_operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/deplete/coupled_operator.py b/openmc/deplete/coupled_operator.py index 856a26958fe..8d43e2b2cee 100644 --- a/openmc/deplete/coupled_operator.py +++ b/openmc/deplete/coupled_operator.py @@ -291,7 +291,7 @@ def _load_previous_results(self): # on this process if comm.size != 1: prev_results = self.prev_res - self.prev_res = Results() + self.prev_res = Results(filename=None) mat_indexes = _distribute(range(len(self.burnable_mats))) for res_obj in prev_results: new_res = res_obj.distribute(self.local_mats, mat_indexes)