Problem Description
I’m trying to use LAMMPS to compute hybrid/overlay potentials, but encountering an error when using compute fep. My input script combines mliap and lj/cut/soft pair styles, but I get an error when attempting free energy perturbation calculations with mliap.
Error Message
ERROR: Compute fep pair style mliap param scale not supported (src/FEP/compute_fep.cpp:215)
Input Script
variable ONE equal 1
pair_style hybrid/overlay mliap unified ./mace-mpa-0-medium.model-mliap_lammps.pt 0 lj/cut/soft 1.000000 0.500000 6.000000
pair_coeff * * mliap Zn Cl O H
pair_coeff 1 1 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 1 2 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 1 3 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 1 4 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 2 2 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 2 3 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 2 4 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 3 3 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 3 4 lj/cut/soft 0.010000 3.000000 0.500000
pair_coeff 4 4 lj/cut/soft 0.010000 3.000000 0.500000
fix tot_pot all adapt/fep 0 pair mliap scale * * v_LAMBDA
compute e_diff all fep ${TEMP} pair mliap scale * * v_ONE
variable e_diff equal c_e_diff[1]
Do you have any solutions to this problem?