diff --git a/src/GPU/gpu_extra.h b/src/GPU/gpu_extra.h index 30faef139d..9fa2d83a12 100644 --- a/src/GPU/gpu_extra.h +++ b/src/GPU/gpu_extra.h @@ -28,17 +28,17 @@ namespace GPU_EXTRA { MPI_Allreduce(&error_flag, &all_success, 1, MPI_INT, MPI_MIN, world); if (all_success != 0) { if (all_success == -1) - error->all("Accelerated style in input script but no fix gpu."); + error->all("Accelerated style in input script but no fix gpu"); else if (all_success == -2) - error->all("Could not find/initialize a specified accelerator device."); + error->all("Could not find/initialize a specified accelerator device"); else if (all_success == -3) - error->all("Insufficient memory on accelerator."); + error->all("Insufficient memory on accelerator"); else if (all_success == -4) - error->all("GPU library not compiled for this accelerator."); + error->all("GPU library not compiled for this accelerator"); else if (all_success == -5) - error->all("Double precision is not supported on this accelerator."); + error->all("Double precision is not supported on this accelerator"); else - error->all("Unknown error in GPU library."); + error->all("Unknown error in GPU library"); } } diff --git a/src/pointers.h b/src/pointers.h index 59afc88139..f2f2215b8b 100644 --- a/src/pointers.h +++ b/src/pointers.h @@ -16,7 +16,7 @@ // every LAMMPS class inherits from Pointers to access lammps.h ptrs // these variables are auto-initialized by Pointer class constructor // *& variables are really pointers to the pointers in lammps.h -// & enables them to be accessed directly in any class, e.g. error->all() +// & enables them to be accessed directly in any class, e.g. atom->x #ifndef LMP_POINTERS_H #define LMP_POINTERS_H