Skip to content

Commit

Permalink
Merge pull request #1217 from parthenon-hpc-lab/brryan/swarm_comm_deb…
Browse files Browse the repository at this point in the history
…ug_fix

Swarm comm debug fix
  • Loading branch information
Yurlungur authored Dec 19, 2024
2 parents 89099e3 + 2087ee9 commit d65f3e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- [[PR 1172]](https://github.com/parthenon-hpc-lab/parthenon/pull/1172) Make parthenon manager robust against external MPI init and finalize calls

### Fixed (not changing behavior/API/variables/...)
- [[PR 1217]](https://github.com/parthenon-hpc-lab/parthenon/pull/1217) Swarm comm debug fix
- [[PR 1215]](https://github.com/parthenon-hpc-lab/parthenon/pull/1215) Fix issue with uninitialized input parameter block data
- [[PR 1211]](https://github.com/parthenon-hpc-lab/parthenon/pull/1211) remove inline from WriteTaskGraph
- [[PR 1188]](https://github.com/parthenon-hpc-lab/parthenon/pull/1188) Fix hdf5 output issue for metadata none variables, update test.
Expand Down
2 changes: 1 addition & 1 deletion src/interface/swarm_comms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ void Swarm::LoadBuffers_() {
auto p_index = buffer_sorted(n).swarm_idx_;
if (swarm_d.IsActive(p_index)) {
const int m = buffer_sorted(n).sort_idx_;
const int bufid = neighbor_buffer_index(m);
if (m >= 0) {
const int bufid = neighbor_buffer_index(m);
const int bid = n - buffer_start[m];
int buffer_index = bid * particle_size;
swarm_d.MarkParticleForRemoval(p_index);
Expand Down

0 comments on commit d65f3e6

Please sign in to comment.