.U.S. stocks climbed, led by the tech-heavy Nasdaq Composite, after the July producer-price index demonstrated that factory-gate inflation reduced slightly coming from June.