OTTAWA — Canada's position on the war in Iran has been from the outset one of supporting the United States acting to prevent Iran from obtaining a nuclear weapon.