Pair_style smatb

Hi , I want to know how to use pair_style with smatb potential using an example.How to set pair_coeff for smatb. The examples given in LAMMPS documentation are showing error. I have installed package SMTBQ for using smatb. But I dont know how to set coeff in a new file so that the error gets resolved.

Of course they do, since those are for the case where there is pair style smatb in use only by itself. The syntax for the pair_coeff command changes for all pair styles when you use them as sub-style to pair style hybrid. Thus you also need to follow the pair style hybrid documentation and modify the pair_coeff command accordingly. Same for the Tersoff and Morse settings.

Can you give one example to use paircoeff for smatb in hybrid style.I am finding difficulty and facing error.

What error?

In general, you also need to explain what your system is, why you need to use a hybrid pair style and cannot a single pair style and specifically why you need or want to use SMATB.

Our experience is that most beginners are using hybrid pair style setups without regard for its limitations and poor accuracy if used the way they are using it.