U.N. Secretary-General Kofi Annan said Sunday he hoped Pakistan would receive assurances from other countries on its security to discourage it from matching rival India and testing a nuclear bomb.

Speaking at a news conference before delivering the commencement address at Macalester College in St. Paul, Annan said he and heads of state around the world were appealing to Pakistan not to follow India's example."I hope that down the line some heads of state would also discuss security arrangements that may assure Pakistan of its own security so that it doesn't have to get into a tit-for-tat situation (with India)," he said.

He said he hoped India would sign two main international treaties limiting nuclear weapons, the Non-Proliferation Treaty and the Comprehensive Test Ban Treaty.

"Even though they have resisted signing in the past, now . . . they may feel encouraged to sign, because some of the other nuclear countries have signed," he said.

Asked about Iraq, Annan said the agreement he signed Feb. 23 to defuse a crisis over U.N. arms inspections had been successful and had been respected so far.

"Since the agreement, the inspectors have been given access to the presidential sites and other sites they have not been able to visit for seven years," he said.

Annan said Iraq should be allowed "to see light at the end of the tunnel" with regard to U.N. sanctions in force against it and said future sanctions should not be a wide-ranging.

Sanctions should be focused "on individuals who are making the decisions, individuals whose behavior you want to modify," rather than the entire population, he said.

Annan was to receive an honorary degree from Macalester. He graduated from the school in 1961.