diff --git a/src/REAX/pair_reax.cpp b/src/REAX/pair_reax.cpp index 642bf78d91..fca24a2268 100644 --- a/src/REAX/pair_reax.cpp +++ b/src/REAX/pair_reax.cpp @@ -45,9 +45,10 @@ using namespace LAMMPS_NS; PairREAX::PairREAX(LAMMPS *lmp) : Pair(lmp) { - error->warning(FLERR,"pair style reax is now deprecated " - "and will soon be retired. Users " - "should switch to pair_style reax/c"); + if (comm->me == 0) + error->warning(FLERR,"The pair_style reax command will be deprecated " + "soon - users should switch to pair_style reax/c"); + single_enable = 0; restartinfo = 0; one_coeff = 1; diff --git a/src/USER-CUDA/verlet_cuda.cpp b/src/USER-CUDA/verlet_cuda.cpp index 2c4b792593..8bb4419cda 100644 --- a/src/USER-CUDA/verlet_cuda.cpp +++ b/src/USER-CUDA/verlet_cuda.cpp @@ -63,6 +63,10 @@ using namespace LAMMPS_NS; VerletCuda::VerletCuda(LAMMPS* lmp, int narg, char** arg) : Verlet(lmp, narg, arg) { + if (comm->me == 0) + error->warning(FLERR,"The USER-CUDA pacakge will be deprecated " + "soon - users should switch to the GPU or KOKKOS packages"); + cuda = lmp->cuda; if(cuda == NULL)