Commit 83e5099
bcast_cell.cpp reached into GlobalC::exx_info (source_hamilt/module_xc) to
broadcast the ABFS/JLE orbital-file lists, making the source_cell
data-structure layer depend on a higher layer.
The ABFS/JLE orbital files are an LCAO-only concept, so the broadcast is
placed in the LCAO EXX manager: add bcast_exx_file_lists() in
source_lcao/setup_exx.{h,cpp} and invoke it at the start of Exx_NAO::init(),
before Exx_LRI copies info_ri. init() runs in ESolver_KS_LCAO::before_all_runners
(reused by TDDFT/DM2rho/DoubleXC; LR reuses the moved Exx_LRI), on all ranks,
after setup_cell has populated the lists on rank 0 and before every consumer
(RI-EXX, opt-ABFs generate_matrix, RPA postSCF).
This removes the exx_info.h include, the helper, and the three broadcast
calls from bcast_cell.cpp. The per-ionic-step re-broadcast previously done
via bcast_unitcell is dropped, which is behaviour-neutral: the file lists
are static once read from STRU.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 1dd484d commit 83e5099
3 files changed
Lines changed: 54 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 9 | | |
29 | 10 | | |
30 | 11 | | |
| |||
131 | 112 | | |
132 | 113 | | |
133 | 114 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 115 | | |
141 | 116 | | |
142 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
5 | 41 | | |
6 | 42 | | |
7 | 43 | | |
| |||
20 | 56 | | |
21 | 57 | | |
22 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
23 | 64 | | |
24 | 65 | | |
25 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
50 | 63 | | |
51 | 64 | | |
0 commit comments