git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11538 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-02-12 00:59:21 +00:00
parent 9c33209b2d
commit 4cb42cb26b

View File

@ -420,7 +420,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
// error check on accelerator packages
if (cudaflag && kokkosflag)
if (cudaflag == 1 && kokkosflag == 1)
error->all(FLERR,"Cannot use -cuda on and -kokkos on");
// create Cuda class if USER-CUDA installed, unless explicitly switched off