Dear all lammps-users,
I'm using cygwin64 to compile lammps-5sep14 version. I want to run
lammps on a single processor, so I have "make stubs" already. In my
makefile, I set
MPI_INC = -I../STUBS
MPI_PATH = -L../STUBS
MPI_LIB = -lmpi_stubs
I've also downloaded FFTW 3.3.4, and installed it successfully. In my
makefile, I set
FFT_INC = -DFFT_FFTW3 -I/cygdrive/c/cygwin64/usr/local/include
FFT_PATH = -L/cygdrive/c/cygwin64/usr/local/lib
FFT_LIB = -lfftw3
However, when I tried to compile lammps, I got the following error,
$ make cygwin
make[1]: Entering directory '/lammps-5Sep14/src/Obj_cygwin'
mpicxx -O -DLAMMPS_GZIP -I../STUBS -DFFT_FFTW3
-I/cygdrive/c/cygwin64/usr/local/include -c ../output.cpp
In file included from ../pointers.h:24:0,
from ../output.h:17,
from ../output.cpp:17:
../output.cpp: In member function ‘void
LAMMPS_NS::Output::reset_timestep(LAMMPS_NS::bigint)’:
../lmptype.h:89:19: error: ‘INT64_MAX’ was not declared in this scope
#define MAXBIGINT INT64_MAX
^
../output.cpp:453:19: note: in expansion of macro ‘MAXBIGINT’
next_dump_any = MAXBIGINT;
^
Makefile:100: recipe for target 'output.o' failed
make[1]: [output.o] Error 1
make[1]: Leaving directory '/lammps-5Sep14/src/Obj_cygwin'
Makefile:82: recipe for target 'cygwin' failed
make: [cygwin] Error 2
Can anyone help me out? Thanks