diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-11 13:21:05 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-11 13:21:05 +0000 |
| commit | ca7efa231bbd818b5166e38b59e3c81ea30821b3 (patch) | |
| tree | ca02a03ebbf576afc1ea45ff3e251bd1c967056b /tests | |
| parent | f4d2d719f90774e85bc47eca041bc469f0f0951d (diff) | |
| download | genenetwork4-ca7efa231bbd818b5166e38b59e3c81ea30821b3.tar.gz | |
bulklmm: BULKLMM_BLOCKS as a config option, default 4
The marker blocks a single-trait scan is split into were the driver's
default (Threads.nthreads()) and changed with --threads. They are a
separate knob now:
BULKLMM_THREADS Julia threads (--threads) default 4
BULKLMM_BLOCKS independent marker blocks, scanned default 4
in parallel (1 = serial scan)
Blocks are exact either way -- LOD 9.589938 and the same permutation
thresholds at 1 and 4 -- so the knob only buys wall clock. The reply says
what ran ("split into 4 independent blocks and scanned on 4 Julia
thread(s) (BULKLMM_BLOCKS / BULKLMM_THREADS ...)"), because the answer to
"is it multicore?" should be in the response and not in the log.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bulklmm.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bulklmm.rs b/tests/bulklmm.rs index d567e56..eeec09c 100644 --- a/tests/bulklmm.rs +++ b/tests/bulklmm.rs @@ -114,6 +114,13 @@ async fn a_scan_reports_lods_and_permutation_thresholds() { notes.iter().any(|note| note.contains("Null heritability")), "and what the kinship term found: {notes:?}" ); + // The parallelism is a configured number, not folklore. + assert!( + notes + .iter() + .any(|note| note.contains("independent blocks") && note.contains("BULKLMM_BLOCKS")), + "the block count and where to set it: {notes:?}" + ); } /// Without permutations there is no threshold, and the reply says so rather |
