diff --git a/src/lammps.cpp b/src/lammps.cpp index 89c59bec3d..bf0abbe2b1 100644 --- a/src/lammps.cpp +++ b/src/lammps.cpp @@ -268,6 +268,10 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator) : error->universe_all(FLERR,"Invalid command-line argument"); if (strcmp(arg[iarg+1],"on") == 0) kokkosflag = 1; else if (strcmp(arg[iarg+1],"off") == 0) kokkosflag = 0; + else if (strcmp(arg[iarg+1],"yes") == 0) kokkosflag = 1; + else if (strcmp(arg[iarg+1],"no") == 0) kokkosflag = 0; + else if (strcmp(arg[iarg+1],"1") == 0) kokkosflag = 1; + else if (strcmp(arg[iarg+1],"0") == 0) kokkosflag = 0; else error->universe_all(FLERR,"Invalid command-line argument"); iarg += 2; // delimit any extra args for the Kokkos instantiation