Skip to content

Commit

Permalink
Zarr IO Prototype Module (chapel-lang#24534)
Browse files Browse the repository at this point in the history
This PR includes prototype implementations of a distributed reader and
writer for the Zarr Store protocol. It supports user requests for
IO-bound applications using data in this format.

`c-blosc` is used to compress and decompress the chunks, so the included
correctness tests start by building c-blosc, then link against it before
running the tests.
  • Loading branch information
brandon-neth authored Mar 6, 2024
2 parents 9eec895 + 9fc7a1c commit 612369a
Show file tree
Hide file tree
Showing 13 changed files with 547 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/library/draft/Zarr/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ReindexStore
Test1D
Test2D
Test3D
c-blosc
*.dylib
*.so*
6 changes: 6 additions & 0 deletions test/library/draft/Zarr/CLEANFILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.so
c-blosc
ReindexStore
Test1D
Test2D
Test3D
1 change: 1 addition & 0 deletions test/library/draft/Zarr/COMPOPTS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-I./c-blosc/blosc -L./c-blosc/build/blosc
1 change: 1 addition & 0 deletions test/library/draft/Zarr/EXECENV
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LD_LIBRARY_PATH=.
9 changes: 9 additions & 0 deletions test/library/draft/Zarr/PRECOMP
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
git clone https://github.com/Blosc/c-blosc.git
cd c-blosc
mkdir build
cd build
cmake ..
make -j4
cd ../..
cp c-blosc/build/blosc/*.so* .
2 changes: 2 additions & 0 deletions test/library/draft/Zarr/SKIPIF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CHPL_LIB_PIC != PIC
CHPL_TARGET_PLATFORM == darwin
Loading

0 comments on commit 612369a

Please sign in to comment.