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
Support HDF5 #8290
Comments
comment:1
Here is a quick spkg that works if you have libhdf5 devel packages installed on your computer: http://sage.math.washington.edu/home/wstein/patches/h5py-1.2.1.spkg Install it with
|
comment:2
Thanks. Couple of requirements
|
Changed keywords from hdf5 h5py to hdf5 h5py hdf5python |
comment:4
I also made an hdf5 library spkg, but the hdf5 version is evidently too new for h5py: http://www.hdfgroup.org/ftp/HDF5/prev-releases/hdf5-1.8.0/src/hdf5-1.8.0.tar.gz since compiling this, then h5py does not work. |
comment:5
Hi, So if you build
and
then it should work. Example, do:
I'm posting this for inclusion in the experimental repo. |
comment:6
Example:
|
comment:7
Is it possible to have atleast hdf 1.8.2? 1.6.x is too old. Most of our files are 1.8.x format. |
comment:8
pyTables might also be an option. For comparison, see http://www.pytables.org/moin/FAQ#HowdoesPyTablescomparewiththeh5pyproject.3F and http://code.google.com/p/h5py/wiki/FAQ#What%27s_the_difference_between_h5py_and_PyTables_? |
comment:9
Also, on the front page of the h5py project, it says "Transparently supports both HDF5 1.6 and 1.8.". |
comment:10
On http://code.google.com/p/h5py/wiki/FAQ, it says that Linux supports up to 1.8.3. |
comment:11
On http://code.google.com/p/h5py/wiki/FAQ, it says that Linux supports up to 1.8.3. |
comment:12
actually h5py should support hdf5 up to 1.8.4 an PyTables up to 1.8.3. I'd say sage should use hdf5 1.8, it's first version to introduce external links and utf8 encoded strings so two things that seems to be quite important, right? |
comment:13
|
comment:14
I made quick update of those to hdf5 1.8, also this version of h5py works with hdf5 from spkg (at least it works for me - only had to specify "--hdf=$SAGE_LOCAL" to build script). http://lab15.im.pwr.wroc.pl/~giniew/h5py-1.3.0.spkg http://lab15.im.pwr.wroc.pl/~giniew/hdf5-1.8.4.spkg (actually, it's 1.8.4 patch 1, latest supported by h5py at time of writing - wasn't sure if I should add the patch1 to name here). They are based on packages posted here earlier - just updated the src to pointed h5py to local hdf5 copy. |
comment:15
Ping. These spkgs no longer exist. |
comment:16
Well, after a year I forgot about it - the files are present, but url changed. For now I don't have time to update them though (h5py is now 2.0.1 and hdf5 is 1.8.8). Anyway, working links: http://im.pwr.wroc.pl/~giniew/h5py-1.3.0.spkg and |
Author: aginiewicz |
This comment has been minimized.
This comment has been minimized.
comment:17
I've updated spkgs with latest versions. Also, those spkgs now contains repositories and better descriptions in SPKG.txt files (description, license, dependencies, changelog - usual stuff). I've also added links to description to not hunt for them in comments |
comment:18
Please fill in your real name as Author. |
Changed author from aginiewicz to Andrzej Giniewicz |
comment:20
Are these supposed to be standard packages, optional packages or experimental packages? |
comment:21
In its current state (i.e. only hdf5+h5py) it might be not that useful to include in standard spkg. I believe it could be optional package. But if some other packages would be compiled with hdf5 support (especially R, which is standard package) situation might change. This is of course only my opinion and it might be not mirror others opinion. Anyway, I got e-mail that h5py package got broken during upload to github. I had to recreate and reupload it (now, I will not trust github any more and keep other copy around) - it should work now. |
comment:22
This would be really useful for making data interchangeable with other computing platforms. I look forward to seeing this included in Sage by default :). |
comment:28
Setting spkg proposals that have not seen recent activity to "sage-wishlist". |
We would like to have hdf5 support into sage. This will include the C/C++ bindings and also should have the Java bindings.
To obtain HDF5:
http://www.hdfgroup.org/HDF5/release/obtain5.html
Current version of spkg (install in order):
Component: packages: optional
Keywords: hdf5 h5py hdf5python
Author: Andrzej Giniewicz
Issue created by migration from https://trac.sagemath.org/ticket/8290
The text was updated successfully, but these errors were encountered: