Commit 4e7b605f authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6997 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 57b20547
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -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");
    }
  }

+1 −1
Original line number Diff line number Diff line
@@ -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