Adding error checks for Kokkos-incompatible features

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14517 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
stamoor
2016-01-28 23:32:16 +00:00
parent def0d4ed80
commit cf77d882eb
6 changed files with 21 additions and 0 deletions

View File

@ -50,6 +50,9 @@ void Minimize::command(int narg, char **arg)
if (update->laststep < 0)
error->all(FLERR,"Too many iterations");
if (lmp->kokkos)
error->all(FLERR,"Cannot yet use minimize with Kokkos");
lmp->init();
update->minimize->setup();