compiling error-lammps

Hi,

I’m tiring to compile the new version of lammps (Dec,14), but I face with following error along compiling:

…/read_data.cpp(727): error: identifier “INT64_MAX” is undefined
if (atom->natoms < 0 || atom->natoms >= MAXBIGINT ||
*
^
Would you advise me on how to solve it, please.

I would be grateful for any help from your side.

Sincerely,
Ramin.

Hi,

I'm tiring to compile the new version of lammps (Dec,14), but I face with

actually, that is an old version of LAMMPS.

following error along compiling:

*****../read_data.cpp(727): error: identifier "INT64_MAX" is undefined
    if (atom->natoms < 0 || atom->natoms >= MAXBIGINT ||******
                                            ^
Would you advise me on how to solve it, please.

there is too little information here. the minimum would be to tell us
the OS, hardware, and compiler version that you are using.

in the past, this kind of error has happened when people were trying
to compile LAMMPS with 64-bit integer support on a 32-bit environment
with not fully standard compliant compilers, e.g. cygwin on windows.
the solution for that is to add the define -DLAMMPS_SMALLSMALL to the
preprocessor flags.

axel.