Commit 8e99806
Refactor: drop source_cell dependency on serialization_cereal (cell->lcao) (#7612)
bcast_cell.cpp included source_lcao/module_ri/serialization_cereal.h only
to call ModuleBase::bcast_data_cereal on three ABFS file-name lists, all of
which are plain std::vector<std::string>. This created a reverse dependency
from source_cell (L1) on source_lcao (L5).
Replace the cereal-based broadcast with a small local bcast_string_vector
helper built on Parallel_Common::bcast_int/bcast_string, mirroring how
ucell.orbital_fn is already broadcast a few lines above. Behaviour is
unchanged (broadcast from rank 0 to all ranks); the direct source_cell ->
source_lcao include edge is removed.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 4593f9e commit 8e99806
1 file changed
Lines changed: 24 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
11 | 28 | | |
12 | 29 | | |
13 | 30 | | |
| |||
112 | 129 | | |
113 | 130 | | |
114 | 131 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
124 | 135 | | |
125 | 136 | | |
126 | 137 | | |
| |||
0 commit comments