[yt-users] pHOP child halos
Stephen Skory
s at skory.us
Mon Jul 4 08:36:39 PDT 2011
Brian and Britton,
> It looks like this installation of yt is using h5py 1.2, which I believe has
> a bug that causes issues when using the same variable name to open multiple
> hdf5 files in sequence. If this is the case, then the only solution is to
> upgrade the hdf5 version being used to version 1.3 or higher. Stephen will
> know better than I if this is the issue. Stephen, can you confirm this?
I think Britton is correct. I just took a look at the code, and the
h5py file pointer is being closed, which is correct, and I think 1.3
fixes this issue.
Actually, I think if the h5py pointer gets 'del'ed and perhaps
gc.collect() is called, this 1.2 bug can be circumvented. But,
overall, I think 1.3 is a better option that adding all that mess to
the code.
Let us know if you run into trouble with installing or using 1.3!
--
Stephen Skory
s at skory.us
http://stephenskory.com/
510.621.3687 (google voice)
More information about the yt-users
mailing list