Unverified Commit 54f58faa authored by Steve Plimpton's avatar Steve Plimpton Committed by GitHub
Browse files

Merge pull request #822 from andeplane/gcmc_mpi_error

Added error if gcmc is used with molecules on more than one processor
parents 22b67643 d18ba3b1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -714,6 +714,12 @@ void FixGCMC::init()
    }
  }

  // Current implementation is broken using
  // full_flag on molecules on more than one processor.
  // Print error if this is the current mode
  if (full_flag && (exchmode == EXCHMOL || movemode == MOVEMOL) && comm->nprocs > 1)
    error->all(FLERR,"fix gcmc does currently not support full_energy option with molecules on more than 1 MPI process.");

}

/* ----------------------------------------------------------------------