Commit 0fa8fc6
abacus_fixer
fix(parallel): compile create_partition and divide_mpi_groups in non-MPI builds
create_partition and divide_mpi_groups were swallowed by an outer
#ifdef __MPI block, so the serial fallback branch never compiled and
non-MPI linking failed with undefined reference to create_partition.
Close the guard after divide_pools and keep both functions outside;
divide_mpi_groups is pure arithmetic and is called unconditionally by
Parallel_K2D. Also refresh the stale availability note in the header.1 parent ef5e970 commit 0fa8fc6
2 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
427 | 428 | | |
428 | 429 | | |
429 | 430 | | |
430 | | - | |
431 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments