Hi lammps users,
Time ago i installed LAMMPS (20 Aug 2011) I only made a modification
to the fftw library path i.e FFT_PATH = share/apps/fftw-2.1.5/. Right
now i'm trying to compile the newer version "lammps-1Jun12" ,and i'm
using the "Makefile.openmpi" , but when i try to compile it (using
"make openmpi") i obtain the following error (see below) . Since i
belive its a problem with FFTW, then i decided to comment #FFT_INC =
-DFFT_FFTW #FFT_PATH = share/apps/fftw-2.1.5/ and #FFT_LIB = -lfftw .
then i tried to recompile, but the following error appears :
read_dump.cpp:327: error: 'INT64_MAX' was not declared in this scope
read_dump.cpp: In member function 'void
LAMMPS_NS::ReadDump::process_atoms(int)'
Can someone guide me ?
Thanks
Oscar G.
fft3d.h:214: error: 'FFTW_COMPLEX' does not name a type
fft3d.h:250: error: ISO C++ forbids declaration of 'FFT_DATA' with no type
fft3d.h:250: error: expected ';' before '*' token
fft3d.h:251: error: ISO C++ forbids declaration of 'FFT_DATA' with no type
fft3d.h:251: error: expected ';' before '*' token
fft3d.h:292: error: 'fftw_plan' does not name a type
fft3d.h:293: error: 'fftw_plan' does not name a type
fft3d.h:294: error: 'fftw_plan' does not name a type
fft3d.h:295: error: 'fftw_plan' does not name a type
fft3d.h:296: error: 'fftw_plan' does not name a type
fft3d.h:297: error: 'fftw_plan' does not name a type
fft3d.h:317: error: variable or field 'fft_3d' declared void
fft3d.h:317: error: 'FFT_DATA' was not declared in this scope
fft3d.h:317: error: expected primary-expression before ',' token
fft3d.h:317: error: 'FFT_DATA' was not declared in this scope
fft3d.h:317: error: expected primary-expression before ',' token
fft3d.h:317: error: expected primary-expression before 'int'
fft3d.h:317: error: expected primary-expression before 'struct'
fft3d.h:317: error: initializer expression list treated as compound expression
fft3d.h:324: error: variable or field 'fft_1d_only' declared void
fft3d.h:324: error: 'FFT_DATA' was not declared in this scope
fft3d.h:324: error: expected primary-expression before ',' token
fft3d.h:324: error: expected primary-expression before 'int'
fft3d.h:324: error: expected primary-expression before 'int'
fft3d.h:324: error: expected primary-expression before 'struct'
fft3d.h:324: error: initializer expression list treated as compound expression
fft3d.cpp:66: error: variable or field 'fft_3d' declared void
fft3d.cpp:66: error: redefinition of 'int fft_3d'
fft3d.h:317: error: 'int fft_3d' previously defined here
fft3d.cpp:66: error: 'FFT_DATA' was not declared in this scope
fft3d.cpp:66: error: 'in' was not declared in this scope
fft3d.cpp:66: error: 'FFT_DATA' was not declared in this scope
fft3d.cpp:66: error: 'out' was not declared in this scope
fft3d.cpp:66: error: expected primary-expression before 'int'
fft3d.cpp:66: error: expected primary-expression before 'struct