The grounding wire for the leading service and breaker box will also work for the sub-panel. For a 100 amp sub panel, you can use an 8 AWG or 6 AWG wire. However, you can also use the same wire size as the hot and neutral wires.