8000 Releases · d-SEAMS/linkcell · GitHub
[go: up one dir, main page]

Skip to content
  • Releases

    0.6.0

    Choose a tag to compare

    @HaoZeke HaoZeke released this 24 Nov 17:49
    216df97

    [0.6.0] - 2026-11-24

    Added

    • Add pairs_within_csr and lc_pairs_within_csr: the cutoff neighbours of every point as compressed sparse row (CSR) rows (offsets, ascending cols, optional nearest-image squared distances) for full or half (j > i) lists on orthorhombic, triclinic, open, and mixed cells, with minimum-image semantics past half the box. Each row is counted, then filled and sorted in place on the pool set by lc_set_threads, with no global sort, and the output matches bit for bit at every thread count. The C call sizes in two calls (a null-buffer query keeps its rows for the fill) and rejects a non-finite coordinate. The C++ header adds linkcell::PairCsr and linkcell::pairs_within_csr, and examples/pairs_csr_bench.rs times it against lc_pairs_within_rows.

    Fixed

    • Folded the optional-OpenMP release note into the 0.5.0 changelog section and matched CITATION.cff date-released to the v0.5.0 tag date (2026-11-22).
    • scripts/prove-published-install.sh reads context.version and source.sha256 from the pinned staged-recipes recipe.yaml. A stdlib-only YAML-aware parser (read_recipe_source) takes only direct mapping keys and rejects nested, repeated, list or decoy entries. The recipe is pinned to the 0.5.0 staged-recipes commit (b3b7623e, which carries test_knearest_csr.cpp), and scripts/check-recipe-source.sh checks the parser in the CI fmt job.

    0.4.2

    Choose a tag to compare

    @HaoZeke HaoZeke released this 16 Nov 11:59

    [0.4.2] - 2026-11-16

    Changed

    • The threads of the k-nearest OpenMP team are named linkcell-knn while they run linkcell's region, and take their own names back when it ends, so top -H and /proc/<pid>/task/*/comm tell them apart from threads the OpenMP runtime keeps.

    Fixed

    • After lc_set_threads(1), lc_cell_grid, lc_cell_graph and lc_partition bin the points on the calling thread, and a build without parallel bins them on one thread. Binning a frame of 8192 points or more started a thread per CPU for the length of the call, and a smaller frame started one thread.
    • Meson links the OpenMP runtime by name, omp under Clang and gomp otherwise, as build.rs and CMake do, so its linkcell.pc says -lomp or -lgomp instead of -fopenmp and a wrap consumer's own sources are no longer compiled with -fopenmp. Configure stops when the C compiler has no omp.h.
    • The lc_set_threads documentation in linkcell.h says that a width of one runs the whole search on the calling thread and starts no thread, and that zero leaves the width unset. A build with parallel and without capi compiles its tests again.
    • The column fill of lc_pairs_within runs on the width chosen with lc_set_threads, like its search and the row fill of lc_pairs_within_rows. At width one it no longer builds Rayon's global pool at the CPU count.
    • build.rs finds the OpenMP runtime in LIBRARY_PATH when the compiler does not report it. Clang's -print-file-name does not search LIBRARY_PATH, so a Clang build against a libomp reached only through it, such as an Archer runtime for ThreadSanitizer, stopped on "finding libomp failed" although the region compiled and -lomp would link.

    0.3.0

    Choose a tag to compare

    @HaoZeke HaoZeke released this 16 Aug 14:48
    26ff3ee

    Optional gpulite device path: linkcell::gpu::Workspace::knearest_into writes the same packed n * k indices as the host walk. Occupancy defaults to threads-per-particle 8 (HOOMD / vesin), overridable by LINKCELL_TPP and LINKCELL_BLOCK. Setup copies ride the workspace stream. Orthorhombic cells, k <= 16.

    0.2.4

    Choose a tag to compare

    @HaoZeke HaoZeke released this 16 Aug 01:11
    v0.2.4
    3593fa3

    A wrap consumer always links the static archive. The parent default_library does not change this option, so a shared default left pydseams.yoda needing liblinkcell.so at import time.

    The C ABI is unchanged from 0.2.3.

    0.2.3

    Choose a tag to compare

    @HaoZeke HaoZeke released this 16 Aug 00:53
    v0.2.3
    de463dc

    A static libyodaLib.a no longer passes liblinkcell.so to ar. The Meson dependency attaches a generated header as the build-order edge, not both cargo outputs.

    The C ABI is unchanged from 0.2.2.

    linkcell 0.2.2

    Choose a tag to compare

    @HaoZeke HaoZeke released this 16 Aug 00:23
    v0.2.2
    6687102

    The crate is d-SEAMS/linkcell. HaoZeke/linkcell redirects.

    linkcell 0.2.1

    Choose a tag to compare

    @HaoZeke HaoZeke released this 16 Aug 00:23
    v0.2.1
    714d829

    Error::MaskLen and Error::Overflow. lc_last_error is only written by lc_knearest. C++ Neighbours owns the packed buffer. knearest_into takes out_len.

    The mark is a sheared cell with k=4 neighbours and a periodic wrap.

    linkcell 0.2.0

    Choose a tag to compare

    @HaoZeke HaoZeke released this 16 Aug 00:23
    v0.2.0
    7e27c62

    ABI break. Existing 0.1.x C and C++ callers must rebuild.

    lc_knearest takes size_t n and size_t k. lc_last_error is thread-local. The C++ header writes packed n*k indices. Error::Empty is an empty point list only.

    linkcell 0.1.2

    Choose a tag to compare

    @HaoZeke HaoZeke released this 15 Aug 23:13
    v0.1.2
    9bde4ac

    Fold into the primary cell once, then Cartesian pair distances plus a lattice shift. Sources run in parallel. The C ABI writes indices into the caller buffer.

    https://github.com/HaoZeke/linkcell

    linkcell 0.1.1

    Choose a tag to compare

    @HaoZeke HaoZeke released this 15 Aug 22:42
    v0.1.1
    ec5a0be

    Orthorhombic boxes use the three-wrap minimum image. The C ABI reads packed xyz in place. The k-heap for k <= 16 stays on the stack.

    https://github.com/HaoZeke/linkcell

    0