Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumPy file formats #157

Open
ilfreddy opened this issue Nov 21, 2018 · 5 comments
Open

NumPy file formats #157

ilfreddy opened this issue Nov 21, 2018 · 5 comments

Comments

@ilfreddy
Copy link
Contributor

It would be a good idea to follow @robertodr 's suggestion and implement writing files using NumPy formats. Currently we write trees only as binary files which limits their reusability to within a given architecture/compiler and as I lately notice, even to a given build.

@stigrj
Copy link
Contributor

stigrj commented Nov 21, 2018

I'm sure there's a logical reason for the crash, I can't imagine that the binary should change between builds, even with different compilers.

That said, I agree that a portable data format would be good, but we should coordinate this with the MADNESS group. There was a discussion in Berlin about this last summer, and Harrison wanted a common data format that allowed for data transfer between MADNESS and MRChem. The format we discussed then was HDF5, but I don't know if they have moved forward with this yet.

@robertodr
Copy link
Contributor

HDF5 is extremely flexible, but it's an extremely annoying dependencies to satisfy. See also here: https://cyrille.rossant.net/moving-away-hdf5/

@stigrj
Copy link
Contributor

stigrj commented Nov 21, 2018

I will contact MADNESS and see if they have done anything on HDF5. If not we might be able to push through the NumPy format instead.

@ilfreddy
Copy link
Contributor Author

ilfreddy commented Nov 22, 2018 via email

@robertodr
Copy link
Contributor

Let me reiterate that for structured datasets NumPy format is probably not a good idea, but it's certainly quicker to set up than HDF5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants