A Monday 07 June 2010 13:22:45 Ivan Vilata i Balaguer escrigué: > Francesc Alted (2010-05-20 20:28:47 +0200) wrote: > > [...] > > I'm happy to announce the first candidate release for PyTables 2.2 > > series. Among the most exciting improvements of this release is the > > support of threads in several parts of PyTables, namely Blosc and, > > optionally, Numexpr (which is out of the main distribution now and > > becomes a requisite). > > > > In particular, I'm quite happy of how performs the recent multi-threaded > > implementation that undergone Blosc in 0.9. It uses a pool of threads > > technique in order to reduce thread management to a bare minimum. When > > all the tests would be finished, I expect to release Blosc 1.0 very soon > > now (hopefully before PyTables 2.2 final). > > [...] > > I've run the heavy test suite from repository version r4463 on an Intel > Core 2 Duo running Debian unstable and all tests pass. Here is the > sys-info:: > > PyTables version: 2.2rc2.dev > HDF5 version: 1.8.4 > NumPy version: 1.4.0 > Numexpr version: 1.3.1 (not using Intel's VML/MKL) > Zlib version: 1.2.3.4 (in Python interpreter) > LZO version: 2.03 (Apr 30 2008) > BZIP2 version: 1.0.5 (10-Dec-2007) > Blosc version: 0.9.3 (2010-06-04) > Python version: 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) [GCC 4.3.3] > Platform: linux2-x86_64 > Byte-ordering: little > > The heavy suite tests from the 2.2rc1 tarball also pass in a G4 running Mac > OS X Tiger, but I first had to apply r4453 to fix the issue with barriers > during build time. Sys-info:: > > PyTables version: 2.2rc1 > HDF5 version: 1.8.4-patch1 > NumPy version: 1.3.0 > Numexpr version: 1.3.1 (not using Intel's VML/MKL) > Zlib version: 1.2.3 > LZO version: 2.03 (Apr 30 2008) > BZIP2 version: 1.0.5 (10-Dec-2007) > Blosc version: 0.9.0 (2010-05-04) > Python version: 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) [GCC 4.0.1 > (Apple Inc. build 5493)] Platform: darwin-Power Macintosh > Byte-ordering: big > > Congrats for the new release!
Great Ivan! :-) Provided that you have a big-endian machine, I'd ask you (or anybody else having such a platform) to help me testing the new capability in Blosc 0.9.4 for being cross-compatible among little/big endian machines. Could you please run the attached script (blosc_bigendian.py) and send the resulting file back to me? I plan to add this file in the test suite. Also, please send me the output of ``ptdump -vd`` against my attached little-endian file (blosc_bigendian.h5). You will need to update your PyTables trunk local repository in your big-endian platform before doing this, of course. Many thanks! -- Francesc Alted
blosc_bigendian.h5
Description: Binary data
import numpy as np import tables as tb N = 10 f = tb.openFile("blosc_bigendian.h5", "w") a = np.arange(N) for type_ in ('i1', 'i2', 'i4', 'i8'): c = f.createCArray(f.root, type_, tb.Int32Atom(), shape=(N,), filters=tb.Filters(3, complib='blosc')) c[:] = a.astype(type_) f.close()
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users