[yt-users] memory usage of HOP halo finder

Stephen Skory s at skory.us
Wed Feb 22 16:10:02 PST 2012


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 at skory.us
http://stephenskory.com/
510.621.3687 (google voice)



More information about the yt-users mailing list