All pair coeffs not set

Hello,
I’m trying to model a composite material, calcium oxide/boron nitrite (CaO/BN). Since I couldn’t find parameters for a single potential for both, I desire to use born for CaO, extep for BN, and lj/cut for their interaction. The atom ID in the data file are: 1 B, 2 Ca, 3 N, 4 O. Part of the input script is:
#----------------Initialization------------------------------------
units metal
boundary p p p
atom_style atomic
read_data CaO_BN5.data
pair_style hybrid/overlay extep born 10.0 lj/cut 10.0
pair_coeff * * extep BN.extep.txt B NULL N NULL # B-N
pair_coeff 2 2 born 0.0035 0.0800 2.3440 20.9856 0.00 # Ca-Ca
pair_coeff 2 4 born 0.0077 0.1780 2.9935 42.2556 0.00 # Ca-O
pair_coeff 4 4 born 0.0120 0.2630 3.6430 85.0840 0.00 # O-O
pair_coeff 1 2 lj/cut 0.00864 0.2485 # B-Ca
pair_coeff 2 3 lj/cut 0.01122 0.3845 # Ca-N
pair_coeff 3 4 lj/cut 0.01303 0.4020 # N-O
#------------------Variables----------------------------------------
variable tempstart equal 298
variable tempstop equal 873
variable time_step equal 0.001
variable thermo equal 100
variable tdamp equal 100
variable pdamp equal 1000
timestep {time_step} #-----------------Energy minimization---------------------------- thermo {thermo}
thermo_style custom step temp press vol pe etotal lx density enthalpy
dump mydmp all atom ${thermo} dump.lammpstrj
min_style cg
min_modify line quadratic
minimize 1.0e-6 1.0e-10 10000 100000
#--------------------------------------------------------------------------
But “ERROR on proc 0: All pair coeffs are not set (…/pair_hybrid.cpp:645)” pops up after minimize command. What am I getting wrong? Thanks for your suggestions.

If you just make a list of all pair types, you’ll see that you’re missing the type 1-type 4 pair coeffs.

or just use the info coeffs command.

Thanks Mike. It’s been sorted out.

Thanks always.