Primary election set Aug. 9