Merge pull request #822 from andeplane/gcmc_mpi_error

Added error if gcmc is used with molecules on more than one processor
This commit is contained in:
Steve Plimpton 2018-03-02 14:41:03 -07:00 committed by GitHub
commit 54f58faab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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.");
}
/* ----------------------------------------------------------------------