KSpace style is incompatible with Pair style (Coulomb + table form)


  I want to combine a Coulombic and Lennard-Jones (18-6) potentials through "pair_style hybrid/overlay". As the LJ(18-6) potential is not implemented in Lammps, I tried to use the "table form". However, the Coulombic potential needs to be solved for long ranges. I am getting the following error:

PPPM initialization ...
ERROR: KSpace style is incompatible with Pair style (../kspace.cpp:196)

My potential is defined by the commands below:

pair_style hybrid/overlay coul/long ${cutoff} table linear 1000 pppm
pair_coeff * * coul/long
pair_coeff 1 1 table zircon.table OO
pair_coeff 1 2 table zircon.table SiO
pair_coeff 1 3 table zircon.table ZrO

kspace_style pppm/tip4p 1.0e-5

I did not figure out what is the solution when I read the manual. Can I do this kind of combination? How?

Any help would be highly appreciated.




Please note that you are using pppm/tip4p, which requires coul/tip4p and is not compatible with coul/long.