I believe that line 110 of compute_pe_atom.cpp and line 124 of compute_stress_atom.cpp should be changed to:
if (force->kspace)
if (force->kspace->tip4pflag) nkspace += atom->nghost;
Otherwise I get a seg fault when a kspace style is not defined.
Thanks,
Stan