Dipole moment

How do I get a dipole moment from a CASTEP result (geometry optimization)?
Thanks.