[lammps-users] LAMMPS Compilation

Hi:I was trying to compile the latest version of LAMMPS and got the
following message.

minimize.cpp(49): error: identifier "INT64_MAX" is undefined
    if (update->laststep < 0 || update->laststep > MAXBIGINT)
                                                                      ^
compilation aborted for minimize.cpp (code 2)
make[1]: *** [minimize.o] Error 2

This did not happen in the old versions. Does anyone know how to solve
the problem? Thank you.

Best,
Ting

Hi:I was trying to compile the latest version of LAMMPS and got the
following message.

minimize.cpp(49): error: identifier "INT64_MAX" is undefined
if (update->laststep < 0 || update->laststep > MAXBIGINT)
^
compilation aborted for minimize.cpp (code 2)
make[1]: *** [minimize.o] Error 2

This did not happen in the old versions. Does anyone know how to solve
the problem? Thank you.

first we need to know _exactly_ what version you have
and _exactly_ what platform you are trying to compile on.

axel.

Minimize.cpp didn't include lmptype.h. It now does in the 18Feb11
patch. On most machines this doesn't matter, but it does for
some.

Steve