KIM in Lammps($LMPHOME/lib/kim) was compiled in a server.
First KIM was well installed with cmake(3.12) and then
lammps can include KIM package,
then during compilation with make in lammps, it shows error message as follows:
CentOS 7.4, intel/18.0.3 impi/18.0.3 cmake/3.12.3
================================================================
/include/kim-api -I/home01/x1813a01/lammps/lib/kim/installed-kim-api/lib64/kim-api/mod -c ../read_dump.cpp
In file included from ../pointers.h:24:0,
from ../read_dump.h:26,
from ../read_dump.cpp:22:
../read_dump.cpp: In member function ‘void LAMMPS_NS::ReadDump::process_atoms()’:
../lmptype.h:86:19: error: ‘INT64_MAX’ was not declared in this scope
#define MAXBIGINT INT64_MAX
^
../read_dump.cpp:1063:45: note: in expansion of macro ‘MAXBIGINT’
if (atom->natoms < 0 || atom->natoms >= MAXBIGINT)
============================================================
With the same installation procedure, it was well compiled in my local system of CentOS 7 with intel compiler and cmake v 3.6.
In the above server, it makes an error though I have followed the same procedure.
Could you address why this error occurs?
Thank you for your time,
Joonho Park