I've now also tested 1.14.2+ds1-1 which finally landed in -proposed (the 1.14.0+ds1-1 build failed because of an alignment issue on ARM that was subsequently fixed).
The package is looking good (transcript of testing below).
root@f0b7772b23f5:/usr/share/doc/libblosc-dev/examples# apt-cache policy libblosc*
libblosc-dev:
Installed: 1.14.2+ds1-1
Candidate: 1.14.2+ds1-1
Version table:
*** 1.14.2+ds1-1 500
500 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 Packages
100 /var/lib/dpkg/status
1.11.1+ds2-3 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
libblosc1:
Installed: 1.14.2+ds1-1
Candidate: 1.14.2+ds1-1
Version table:
*** 1.14.2+ds1-1 500
500 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 Packages
100 /var/lib/dpkg/status
1.11.1+ds2-3 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
root@f0b7772b23f5:/usr/share/doc/libblosc-dev/examples# for f in many_compressors.c multithread.c noinit.c simple.c; do gcc -o $f.out $f -lblosc && ./$f.out; done
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Using 4 threads (previously using 1)
Using blosclz compressor
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using lz4 compressor
Compression: 4000000 -> 51510 (77.7x)
Succesful roundtrip!
Using lz4hc compressor
Compression: 4000000 -> 38314 (104.4x)
Succesful roundtrip!
Using snappy compressor
Compression: 4000000 -> 208526 (19.2x)
Succesful roundtrip!
Using zlib compressor
Compression: 4000000 -> 22103 (181.0x)
Succesful roundtrip!
Using zstd compressor
Compression: 4000000 -> 10908 (366.7x)
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Using 1 threads (previously using 1)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 2 threads (previously using 1)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 3 threads (previously using 2)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 4 threads (previously using 3)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Compression: 4000000 -> 41384 (96.7x)
Decompression succesful!
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Compression: 4000000 -> 41384 (96.7x)
Decompression succesful!
Succesful roundtrip!
And also with regard to the original format incompatibility bug that prompted this report:
I've now also tested 1.14.2+ds1-1 which finally landed in -proposed (the 1.14.0+ds1-1 build failed because of an alignment issue on ARM that was subsequently fixed).
The package is looking good (transcript of testing below).
root@f0b7772b23 f5:/usr/ share/doc/ libblosc- dev/examples# apt-cache policy libblosc* archive. ubuntu. com/ubuntu bionic- proposed/ universe amd64 Packages dpkg/status archive. ubuntu. com/ubuntu bionic/universe amd64 Packages archive. ubuntu. com/ubuntu bionic- proposed/ universe amd64 Packages dpkg/status archive. ubuntu. com/ubuntu bionic/universe amd64 Packages f5:/usr/ share/doc/ libblosc- dev/examples# for f in many_compressors.c multithread.c noinit.c simple.c; do gcc -o $f.out $f -lblosc && ./$f.out; done
libblosc-dev:
Installed: 1.14.2+ds1-1
Candidate: 1.14.2+ds1-1
Version table:
*** 1.14.2+ds1-1 500
500 http://
100 /var/lib/
1.11.1+ds2-3 500
500 http://
libblosc1:
Installed: 1.14.2+ds1-1
Candidate: 1.14.2+ds1-1
Version table:
*** 1.14.2+ds1-1 500
500 http://
100 /var/lib/
1.11.1+ds2-3 500
500 http://
root@f0b7772b23
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Using 4 threads (previously using 1)
Using blosclz compressor
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using lz4 compressor
Compression: 4000000 -> 51510 (77.7x)
Succesful roundtrip!
Using lz4hc compressor
Compression: 4000000 -> 38314 (104.4x)
Succesful roundtrip!
Using snappy compressor
Compression: 4000000 -> 208526 (19.2x)
Succesful roundtrip!
Using zlib compressor
Compression: 4000000 -> 22103 (181.0x)
Succesful roundtrip!
Using zstd compressor
Compression: 4000000 -> 10908 (366.7x)
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Using 1 threads (previously using 1)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 2 threads (previously using 1)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 3 threads (previously using 2)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Using 4 threads (previously using 3)
Compression: 4000000 -> 41384 (96.7x)
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Compression: 4000000 -> 41384 (96.7x)
Decompression succesful!
Succesful roundtrip!
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Compression: 4000000 -> 41384 (96.7x)
Decompression succesful!
Succesful roundtrip!
And also with regard to the original format incompatibility bug that prompted this report:
root@f0b7772b23 f5:/usr/ share/doc/ libblosc- dev/examples# gcc -o test test.c -lblosc f5:/usr/ share/doc/ libblosc- dev/examples# ./test compress lz4 test.blosc f5:/usr/ share/doc/ libblosc- dev/examples# exit /usr/share/ doc/libblosc- dev/examples/ test.c . /usr/share/ doc/libblosc- dev/examples/ test.blosc .
root@f0b7772b23
Blosc version info: 1.14.2 ($Date:: 2018-03-16 #$)
Compression: 4000000 -> 51420 (77.8x)
Wrote test.blosc
root@f0b7772b23
exit
[estan@newton insight (improve-loading $%>)]$ cd
[estan@newton ~]$ docker cp f0b7772b23f5:
[estan@newton ~]$ docker cp f0b7772b23f5:
[estan@newton ~]$ gcc -o test test.c -lblosc
[estan@newton ~]$ ./test decompress lz4 test.blosc
Blosc version info: 1.7.0 ($Date:: 2015-07-05 #$)
Read test.blosc
Decompression succesful!
[estan@newton ~]$