Skip to content

Commit

Permalink
Depletion restart with mpi (#2778)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
  • Loading branch information
church89 and paulromano committed Apr 9, 2024
1 parent fea90e0 commit 569c087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmc/deplete/coupled_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 569c087

Please sign in to comment.