Re: [Pytables-users] hdf5 version for master

2012-03-09 Thread Francesc Alted
Perfect. Thank you! On Mar 9, 2012, at 9:11 AM, Chris Kees wrote: > OK, I added an issue on github. I think for me all I need is a switch I can > use to force the setting (or not) of _POSIX_BARRIERS_MINE. The reason > -U_POSIX_BARRIERS_MINE didn't work is that the logic in blosc.c overwrites

Re: [Pytables-users] hdf5 version for master

2012-03-09 Thread Chris Kees
OK, I added an issue on github. I think for me all I need is a switch I can use to force the setting (or not) of _POSIX_BARRIERS_MINE. The reason -U_POSIX_BARRIERS_MINE didn't work is that the logic in blosc.c overwrites it... On Thu, Mar 8, 2012 at 9:31 AM, Francesc Alted wrote: > Excellent!

Re: [Pytables-users] hdf5 version for master

2012-03-08 Thread Francesc Alted
Excellent! I still have to figure out why your system does not support posix threads barriers properly, but most probably the patch is a good workaround for your case. Please feel free to file a bug so that this is not lost. Thanks, Francesc On Mar 7, 2012, at 11:46 PM, Chris Kees wrote: >

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Chris Kees
Hi Francesc, _POSIX_BARRIERS is 200112L in that machine's standard headers. I put in the hack below in blosc.c (the last conditional) and pytables compiled fine. I will run the test set tomorrow. Thanks, Chris #if defined(_POSIX_BARRIERS) && ( (_POSIX_BARRIERS - 20012L) >= 0 && _POSIX_BARRI

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Francesc Alted
On Mar 7, 2012, at 6:05 PM, Chris Kees wrote: > On Wed, Mar 7, 2012 at 5:18 PM, Francesc Alted wrote: > On Mar 7, 2012, at 3:14 PM, Francesc Alted wrote: > > > On Mar 7, 2012, at 1:57 PM, Chris Kees wrote: > > > >> Hi Anthony, > >> > >> I'm using 1.8.7 on ranger. Here is the topmost error: > >>

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Chris Kees
On Wed, Mar 7, 2012 at 5:18 PM, Francesc Alted wrote: > On Mar 7, 2012, at 3:14 PM, Francesc Alted wrote: > > > On Mar 7, 2012, at 1:57 PM, Chris Kees wrote: > > > >> Hi Anthony, > >> > >> I'm using 1.8.7 on ranger. Here is the topmost error: > >> > >> compile options: '-DNDEBUG=1 -DHAVE_BZ2_LIB

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Chris Kees
On Wed, Mar 7, 2012 at 5:14 PM, Francesc Alted wrote: > On Mar 7, 2012, at 1:57 PM, Chris Kees wrote: > > > Hi Anthony, > > > > I'm using 1.8.7 on ranger. Here is the topmost error: > > > > compile options: '-DNDEBUG=1 -DHAVE_BZ2_LIB=1 -Iblosc > -I/work/01020/cekees/ranger.gnu/build/ranger.gnu/l

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Chris Kees
Looks like the same error even with the extra flag: compile options: '-DNDEBUG=1 -DHAVE_BZ2_LIB=1 -Iblosc -I/share/home/01020/cekees/proteus/ranger.gnu/lib/python2.7/site-package s/numpy/core/include -I/share/home/01020/cekees/proteus/ranger.gnu/include -I/share/home/01020/cekees/proteus/ranger.gn

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Francesc Alted
On Mar 7, 2012, at 3:14 PM, Francesc Alted wrote: > On Mar 7, 2012, at 1:57 PM, Chris Kees wrote: > >> Hi Anthony, >> >> I'm using 1.8.7 on ranger. Here is the topmost error: >> >> compile options: '-DNDEBUG=1 -DHAVE_BZ2_LIB=1 -Iblosc >> -I/work/01020/cekees/ranger.gnu/build/ranger.gnu/lib/py

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Francesc Alted
On Mar 7, 2012, at 1:57 PM, Chris Kees wrote: > Hi Anthony, > > I'm using 1.8.7 on ranger. Here is the topmost error: > > compile options: '-DNDEBUG=1 -DHAVE_BZ2_LIB=1 -Iblosc > -I/work/01020/cekees/ranger.gnu/build/ranger.gnu/lib/python2.7/site-packages/numpy/core/include > -I/work/01020/cek

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Anthony Scopatz
Hello Chris, I just tried recompiling with v1.8.7 from the hdf group website on ubuntu and everything worked great. If we look at the line 79 of blosc.c, we see that it is inside of a #ifdef block related to posix threads. Since

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Chris Kees
Hi Anthony, I'm using 1.8.7 on ranger. Here is the topmost error: compile options: '-DNDEBUG=1 -DHAVE_BZ2_LIB=1 -Iblosc -I/work/01020/cekees/ranger.gnu/build/ranger.gnu/lib/python2.7/site-packages/numpy/core/include -I/work/01020/cekee s/ranger.gnu/build/ranger.gnu/include -I/work/01020/cekees/r

Re: [Pytables-users] hdf5 version for master

2012-03-07 Thread Anthony Scopatz
Hi Chris, PyTables should work with HDF5 v1.8.7. (Apparently v1.8.8 is out but I haven't tested it with that.) What version are you using at TACC? Also, what is the top most build error that you are getting? Be Well Anthony On Wed, Mar 7, 2012 at 3:35 PM, Chris Kees wrote: > Hi, > > I'm hav

[Pytables-users] hdf5 version for master

2012-03-07 Thread Chris Kees
Hi, I'm having some trouble building pytables on an HPC machine (ranger at the texas advanced computing center). If I do a git checkout of v.2.1.2 pytables builds/installs fine. Anything more recent gives errors compiling (related to blosc...). I would like to help get the main branch working on