Always reshape depletion process time dataset

The conditional to reshape/extend the "depletion time"
dataset in the exporting of a deplete.Results object
has been removed. This caused the last exporting to
hang when running with MPI
This commit is contained in:
Andrew Johnson 2019-06-21 10:20:50 -05:00
parent e291725b6b
commit cb3e89bf95
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB

View file

@ -304,10 +304,9 @@ class Results(object):
# keep depletion time matrix with one less index
# corresponding to one fewer calculation
if self.proc_time:
proc_shape = list(proc_time_dset.shape)
proc_shape[0] = new_shape - 1
proc_time_dset.resize(proc_shape)
proc_shape = list(proc_time_dset.shape)
proc_shape[0] = new_shape - 1
proc_time_dset.resize(proc_shape)
# If nothing to write, just return
if len(self.mat_to_ind) == 0: