diff --git a/src/comm.cpp b/src/comm.cpp index 8c443f493d..f5b1c0246b 100644 --- a/src/comm.cpp +++ b/src/comm.cpp @@ -34,6 +34,7 @@ #include "accelerator_kokkos.h" #include "memory.h" #include "error.h" +#include "update.h" #ifdef _OPENMP #include @@ -688,7 +689,7 @@ double Comm::get_comm_cutoff() // print warning if neighborlist cutoff overrides user cutoff - if (me == 0) { + if ((me == 0) && (update->setupflag == 1)) { if ((cutghostuser > 0.0) && (maxcommcutoff > cutghostuser)) { char mesg[128]; snprintf(mesg,128,"Communication cutoff adjusted to %g",maxcommcutoff);