Pakistan's president is elected indirectly by the members of Parliament and the four provincial assemblies.
Modi held nearly half a dozen bilateral meetings with leaders of other SCO countries.
President Xi Jinping met with his Pakistani counterpart Mamnoon Hussain today in the river town of Wuzhen in Zhejiang Province, pledging to promote the China-Pakistan Economic Corridor (CPEC) and stronger cooperation in all areas.
India-born Mamnoon Hussain, a close aide of Prime Minister Nawqaz Sharif, was elected as the 12th President of Pakistan and will replace the incumbent Asif Ali Zardari in September.