Fix Phonon error after running script

Hello guys,
I’m trying to run a script for calculating phonons, after include phonon package within make yes-phonon and recompiling lammps via make serial.
There is an unexpected error after run my script via …/lmp_serial -in in.phonon:
Reading adp potential file …/…/…/potentials/Ni.adp with DATE: 2011-06-20
ERROR: Unrecognized fix style ‘phonon’ is part of the PHONON package, but seems to be missing because of a dependency (…/modify.cpp:917)
Last command: fix 2 all phonon 10 50000 500000 Ni.adp.map NiAdpPhonon

My Ubuntu is 22.04.3 LTS
Processor Intel® Core™ i5-8250U CPU @ 1.60GHz × 8
Graphics: NV138 / Mesa Intel® UHD Graphics 620 (KBL GT2)
… if that’s matter.
Thanks in advance,
KG

Installing only the PHONON package is not sufficient. You also need the KSPACE package which seems to be missing according to the error message.

1 Like

Thanks, Axel and highly appreciated!