Leaders from the Group of Eight nations opened two days of economic and security discussions by considering ways to keep Iran from gaining nuclear weapons capability and to promote peaceful political transition in Syria, according to a U.S. official familiar with the talks.