Dear Users & Developers
I have a problem during compile Lammps with user-reaxc package. I had
compiled Lammps without user-reaxc and I did not any problem, but I
need to add reaxc to my lmp_linux. I add user-reaxc by "make
yes-user-reaxc" and then compile Lammps.
this is the error that i couldn't solve it. please help me to solve it.
fix_qeq_reax.cpp(48): warning #47: incompatible redefinition of macro
"DANGER_ZONE" (declared at line 100 of "reaxc_defs.h")
#define DANGER_ZONE 0.95
^
fix_qeq_reax.cpp(49): warning #47: incompatible redefinition of macro
"LOOSE_ZONE" (declared at line 101 of "reaxc_defs.h")
#define LOOSE_ZONE 0.7
^
fix_qeq_reax.cpp(638): warning #181: argument is incompatible with
corresponding format string conversion
sprintf(str,"Fix qeq/reax CG convergence failed after %d
iterations at %d step",i,update->ntimestep);
^
fix_qeq_reax.cpp(776): error: declaration is incompatible with "void
LAMMPS_NS::FixQEqReax::copy_arrays(int, int, int)" (declared at line
127 of "fix_qeq_reax.h")
void FixQEqReax::copy_arrays(int i, int j)
^
compilation aborted for fix_qeq_reax.cpp (code 2)
make[1]: *** [fix_qeq_reax.o] Error 2
make[1]: Leaving directory
`/home/sanam/Desktop/new-vrooni/lammps-9Feb13-with
REAX/src/Obj_linuxmpi'
make: *** [linuxmpi] Error 2
Thanks
Hadi