In the latest version of LAMMPS does not have USER EWALDN. I tried
with lammps-24Apr13 which contains both USER EWALDN and USER PHONON.
But it shows compiling error towards the end of compilation is copied
below.
I used those command listed below to compile. Can you please give a
me suggestion regarding this ??
1. make clean-all
2. make no-user-atc no-user-cuda no-user-molfile
3. make openmpi
../ewald_n.h(33): error: invalid redeclaration of type name
"LAMMPS_NS::cvector" (declared at line 33 of "../ewald_disp.h")
typedef struct cvector { complex x, y, z; } cvector;
^
../ewald_n.h(33): error: invalid redeclaration of type name
"LAMMPS_NS::cvector" (declared at line 33)
typedef struct cvector { complex x, y, z; } cvector;
^
../ewald_n.h(34): error: invalid redeclaration of type name
"LAMMPS_NS::hvector" (declared at line 34 of "../ewald_disp.h")
typedef struct hvector { double x, y, z; } hvector;
^
../ewald_n.h(34): error: invalid redeclaration of type name
"LAMMPS_NS::hvector" (declared at line 34)
typedef struct hvector { double x, y, z; } hvector;
^
../ewald_n.h(35): error: invalid redeclaration of type name
"LAMMPS_NS::kvector" (declared at line 35 of "../ewald_disp.h")
typedef struct kvector { long x, y, z; } kvector;
^
../ewald_n.h(35): error: invalid redeclaration of type name
"LAMMPS_NS::kvector" (declared at line 35)
typedef struct kvector { long x, y, z; } kvector;
^
compilation aborted for ../force.cpp (code 2)
make[1]: *** [force.o] Error 2
make[1]: Leaving directory `/home/kartik/lammps-24Apr13/src/Obj_openmpi'
make: *** [openmpi] Error 2