git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11250 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -374,7 +374,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
|
||||
error->all(FLERR,"Imageint setting in lmptype.h is invalid");
|
||||
if (sizeof(tagint) < sizeof(smallint))
|
||||
error->all(FLERR,"Tagint setting in lmptype.h is invalid");
|
||||
if (sizeof(bigint) < sizeof(tagint))
|
||||
if (sizeof(bigint) < sizeof(imageint) || sizeof(bigint) < sizeof(tagint))
|
||||
error->all(FLERR,"Bigint setting in lmptype.h is invalid");
|
||||
|
||||
int mpisize;
|
||||
@ -386,17 +386,17 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
|
||||
#ifdef LAMMPS_SMALLBIG
|
||||
if (sizeof(smallint) != 4 || sizeof(imageint) != 4 ||
|
||||
sizeof(tagint) != 4 || sizeof(bigint) != 8)
|
||||
error->all(FLERR,"Small, tag, big integers are not sized correctly");
|
||||
error->all(FLERR,"Small to big integers are not sized correctly");
|
||||
#endif
|
||||
#ifdef LAMMPS_BIGBIG
|
||||
if (sizeof(smallint) != 4 || sizeof(imageint) != 8 ||
|
||||
sizeof(tagint) != 8 || sizeof(bigint) != 8)
|
||||
error->all(FLERR,"Small, tag, big integers are not sized correctly");
|
||||
error->all(FLERR,"Small to big integers are not sized correctly");
|
||||
#endif
|
||||
#ifdef LAMMPS_SMALLSMALL
|
||||
if (sizeof(smallint) != 4 || sizeof(imageint) != 4 ||
|
||||
sizeof(tagint) != 4 || sizeof(bigint) != 4)
|
||||
error->all(FLERR,"Small, tag, big integers are not sized correctly");
|
||||
error->all(FLERR,"Small to big integers are not sized correctly");
|
||||
#endif
|
||||
|
||||
// create CUDA class if USER-CUDA installed, unless explicitly switched off
|
||||
|
||||
Reference in New Issue
Block a user