I was run a doped system in CASTEP without supercell and it was successfully optimized. But, I am not fully understood when I have to create a supercell. The unit cell I had used contain 28 atoms. When I was going to used supercell it took huge calculation times. That's why I used only unit cell to run.