Repository navigation
LogicComm 0.13.3
Pre-release
Pre-release
LogicComm 0.13.3
Fixes
permute_celltype_communication(adaptive = TRUE)now runs the adaptive
refinement batch in parallel acrossn_cores, like the preliminary batch.
Previously the adaptive loop was serial and ignoredn_cores, so the bulk of
the work (e.g. 990 of 1000 permutations) crawled on a single core even with
n_cores > 1, and the run looked stuck. The parallel path also now reports
incremental progress in chunks (instead of only a start/done line), and the
L'Ecuyer-CMRG seed is set once so the preliminary and adaptive batches draw
different -- but reproducible -- permutations.
Documentation
- Clarified
permute_celltype_communication(): withadaptive = TRUEthe run
costs roughlyadaptive_n_permpermutations regardless ofn_perm(so
n_perm = 10with the defaultadaptive_n_perm = 1000runs ~1000). For a quick
test, keepadaptive = FALSEor loweradaptive_n_perm.n_coresnow
documents that it speeds up both batches.