From 12d18e27cffdd82378ae507077edb56edebf81d0 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 26 Feb 2016 16:09:00 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14689 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/REAX/pair_reax.cpp | 7 ++++--- src/USER-CUDA/verlet_cuda.cpp | 4 ++++ 2 files changed, 8 insertions(+), 3 deletions(-) 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)