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:
@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user