23 Feb
2012
23 Feb
'12
12:10 a.m.
Hi Mike,
total_mass = self.comm.mpi_allreduce(self._data_source["ParticleMassMsun"].sum(dtype='float64'), op='sum')
and again further down:
sub_mass = self._data_source["ParticleMassMsun"].sum(dtype='float64')
Could you try turning both of these into a quantity in the source file: self._data_source.quantities["TotalQuantity"]("ParticleMassMsun") and see if that changes anything? -- Stephen Skory s@skory.us http://stephenskory.com/ 510.621.3687 (google voice)