fix runtime error from lack of comm->setup()

This commit is contained in:
Sievers
2021-12-15 11:52:38 -08:00
parent 40c0925cb4
commit 9fbca5111d
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
//
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
@ -112,6 +113,7 @@ void DynamicalMatrixKokkos::setup()
if (triclinic) domain->x2lamda(atom->nlocal);
domain->pbc();
domain->reset_box();
comm->setup();
if (neighbor->style) neighbor->setup_bins();
comm->exchange();
comm->borders();

View File

@ -1,3 +1,4 @@
//
// clang-format off
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
@ -112,6 +113,7 @@ void ThirdOrderKokkos::setup()
if (triclinic) domain->x2lamda(atom->nlocal);
domain->pbc();
domain->reset_box();
comm->setup();
if (neighbor->style) neighbor->setup_bins();
comm->exchange();
comm->borders();