-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
As far as I understand, this error is induced when having a non persistent solver. then no local_sit is written and thus consequently the code lines
all_set_instance_times = self.mpicomm.gather(local_sit,
root=0)
if self.cylinder_rank == 0:
asit = [sit for l_sit in all_set_instance_times for sit in l_sit]
print("Set instance times:")
print("\tmin=%4.2f mean=%4.2f max=%4.2f" %
(np.min(asit), np.mean(asit), np.max(asit)))
fail on np.min(asit), because all_set_instance_times is [] and consequently no np.min is possible.
If you turn display_timing=False, it's all good. But a bit tricky to find this error; as you'd start debugging why mpi-sppy doesn't find your solver
Metadata
Metadata
Assignees
Labels
No labels